RHEL 防火墙由firewalld来管理, 如果要添加范围例外端口 如 1000-2000 语法命令如下:启用区域端口和协议组合 firewall-cmd [--zone=<zone>] --add-port=<port>[-<port>]/<protocol> [--timeout=<sec…
Lubuntu Key Features: RAM: 512MB (128MB min) | CPU: Pentium 4 or Pentium M or AMD K8 | 32-bit & 64-bit | Window Manager: LXDE, Openbox | Fork: Ubuntu | Download Lubuntu Li…
1.创建用户组 sudo groupadd docker 2.把当前用户加入docker组 sudo gpasswd -a ${USER} docker 3.reboot docker service sudo systemctl restart docker 4.logout
if is root account # chmod 700 ~/.ssh # chmod 600 ~/.ssh/authorized_keys change /etc/ssh/sshd_config so it contains AuthorizedKeysFile %h/.ssh/authorized_keys # sudo service s…
[h2title]1.check[/h2title] service cron status [h2title]2. open cron log[/h2title] sudo vim /etc/rsyslog.d/50-default.conf sudo service rsyslog restart [h2title]3.check …
[h2title]方法一:使用echo命令[/h2title] echo "Hello, World! My name is heigaga." > readme.txt 这种方法其实就是把echo的输出重定向到了文件。echo会原样保留换行符,所以多行也是支持的。 [h2title]方法二:使用cat命令[/h2title] cat >…
[h2title]What is frp?[/h2title] frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the Internet. As of now, it supports TCP and UDP, as …
在客户端生成密钥 $ ssh-keygen -t rsa # 把公钥拷贝至服务器 $ ssh-copy-id -i .ssh/id_rsa.pub server # 也可以手动将.shh/id_rsa.pub拷贝至服务器用户目录的.ssh中,记得修改访问权限 # $ scp .shh/id_rsa.pub server:~/.ssh # 在服务器…
设置~下的.vimrc文件,加上fileencodings、enc、fencs,代码如下: vim.tiny ~/.vimrc set fileencodings=utf-8,gb2312,gb18030,gbk,ucs-bom,cp936,latin1 set enc=utf8 set fencs=utf8,gbk,gb2312,gb18030 …
[h2title]i386 Download[/h2title] Go to the Debian download page Debian download page, find and download the 32-bit PC net install version of Debian 10, Buster. (While Debian's…