Linux 防火墙开放特定端口 (iptables)
iptables是linux下的防火墙,同时也是服务名称。service iptables status 查看防火墙状态service iptables start 开启防火墙service iptables stop 关闭防火墙service  ...
SecureCRT的sz/rz工具包
新系统需要安装SZ.RZ工具包,才能在secureCRT下使用1、下载软件 rzsz-3.34.tar.gz,登录linux,用命令 wget http://freeware.sgi.com/source/rzsz/rzsz-3.48.tar.gz 下载。2、解压 tar zxvf rzsz-3.34.tar.gz3、进入解压后的SRC目录,make编译...
用户与用户组的常用操作
用户操作:1.新增用户 useradd test 新增test用户 注意:使用root用户给test 初始化密码,否则无法登陆 2,修改用户usermod -d /home/test -G test2 test 将test用户的登录目录改成/home/test,并加入test2组gpasswd -...
配置虚拟机集群常用设置主机IP操作
一.设置主机名 安装好linux虚拟机后,查看主机名: uname -n 或 hostname命令点击(此处)折叠或打开[zhang@localhost etc]$ uname -nlocalhost.localdomain[zhang@localhost etc]$ hostnamelocalhost.localdomain 1.临...