生活在宁静的角落 Linux
CentOS添加路由
linux下静态路由修改命令
方法一:
添加路由
route add -net 192.168.0.0/24 gw 192.168.0.1
route add -host 192.168.1.1 dev 192.168.0.1
删除路由
route del -net 192.168.0.0/24 gw 192.168.0.1 …
linux 查看软件版本
输入如下命令:
rpm -qa | grep 软件名
例如:
<pre>[root@localhost ~]# rpm -qa | grep mysql
mysql-libs-5.1.73-3.el6_5.x86_64
[root@localhost ~]# rpm -qa | grep squid
squid-3.1.10-20.el6_5.x86_64
[root@localhost ~]# rpm -qa | grep mysql^C
[root@localhost ~]# </pre>
Centos6.5 vsftpd 安装配置
Vsftp 安装配置
我使用的系统版本如下:
centos 6.5 64bit
[root@vCentos ~]# lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.5 (Final …