centOS
a691422
这个作者很懒,什么都没留下…
展开
-
centOS开机自动启动sshd服务
查看sshd是否已经是系统服务: # chkconfig --list | grep sshd 会显示: sshd 0:off 1:off 2:off 3:off 4:off 5:off 6:off 使用如下命令设置sshd服务自动启动: # chkconfig --level 5 sshd on 再次查看: 如图显示,证明设置成功了! 重启系统后转载 2013-05-30 17:11:46 · 965 阅读 · 0 评论 -
linux通过ldconfig和/etc/ld.so.conf把需要执行的函数库加来内存中
大概步骤: 1.把需要加到内存中动态函数库的目录加到/etc/ld.so.conf这个文件中。 2.用ldconfig这个可执行命令将/etc/ld.so.conf的数据读到缓存中。 具体步骤:vim /etc/ld.so.conf 把mysql这个函数库加进去 执行ldconfig命令就可以,没有任何输出就正确了。 OK,完成。原创 2014-01-19 21:57:55 · 402 阅读 · 0 评论 -
yum的使用示例
1.yum search gcc 查找GCC相关的软件有哪些 [root@localhost ~]# yum search gcc Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.grandclou原创 2014-01-20 22:58:56 · 226 阅读 · 0 评论