https://hub.docker.com/r/tigase/tigase-xmpp-server docker pull tigase/tigase-xmpp-server docker run –name tigase-server -p 8080:8080 -p 5222:5222 tigase/tigase-xmpp-server:latest Once started, open http://localhost:8080 (from the same machine, or using http://<server_hostname>:8080), by default those are: ‘admin-user’ = ‘admin’…
Read more
Syncthing 官网:https://syncthing.net/ 在服务器上部署 Docker Debian 安装 Docker:https://docs.docker.com/engine/install/debian/ Ubuntu 安装 Docker:https://docs.docker.com/engine/install/ubuntu/ 拉取 syncthing 镜像 docker pull syncthing/syncthing 运行容器 docker run -d -p 8384:8384 -p 22000:22000 -v /data/syncthing:/var/syncthing –restart=always syncthing/syncthing:latest 参数解释: -d:后台运行…
Read more
Debian/Ubuntu 放行端口 安装iptables(通常系统都会自带,如果没有就需要安装) apt-get update apt-get install iptables 例如要放行8888端口 iptables -I INPUT -p tcp –dport 8888 -j ACCEPT 然后保存放行规则 iptables-save 设置完就已经放行了指定的端口,但重启后会失效,下面设置持续生效规则; 安装iptables-persistent apt-get install iptables-persistent 保存规则持续生效 netfilter-persistent save netfilter-persistent reload…
Read more
系统 uname -a # 查看内核/操作系统/CPU信息 head -n 1 /etc/issue # 查看操作系统版本 cat /proc/cpuinfo # 查看CPU信息 hostname # 查看计算机名 lspci -tv # 列出所有PCI设备 lsusb -tv # 列出所有USB设备 lsmod # 列出加载的内核模块 env…
Read more
编辑文件/etc/ssh/sshd_config, 找到下面这行: #PermitRootLogin prohibit-password 改成 PermitRootLogin yes 即可。记得去掉PermitRootLogin前面的注释符#. 然后,执行下面的命令即可生效: systemctl restart ssh
Read more
bench 测速脚本 wget -qO- bench.sh | bash 显示系统版本,配置,国内及亚太网速 TOC marker SuperBench + SpeedTest亚欧美节点 测速脚本 wget -qO- http://depot.treesky.link/speedtest/n/superbench_f.sh | bash 添加了亚欧美节点,方便测试全球速度 TOC marker SpeedTest国内三网节点 测速脚本 bash <(curl -Lso- https://git.io/superspeed) 国内三网节点测速,可选择电信/联通/移动,进行测速 TOC marker UnixBench测试CPU运算分数脚本 wget…
Read more