您的位置:首页 > 运维架构 > Linux

Linux Command

2015-08-06 11:32 513 查看
防火墙的开启与关闭

1: 临时生效,重启后复原

开启: service iptables start

关闭: service iptables stop

2:永久性生效,重启后不会复原

开启: chkconfig iptables on

关闭: chkconfig iptables off

bin文件的安装

修改为可执行
chmod +x filename.bin

接着用下面的命令执行

./filename.bin

启动开机服务

/ext/init.d/serviceName start/stop

修改命令窗口大小

vi /boot/grub/grub.conf

在kernel行末加上:vga=分辨率参数

参数如下:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: