摘要: 1.查看系统的发行版本: 1>[root@CMCC_91 ~]# lsb_release -a2.查看系统的字符集: 1>[root@CMCC_91 ~]# locale3.主机名字 : 1>[root@CMCC_91 ~]#cat /etc/sysconfig/network4.查看时区 :... 阅读全文
posted @ 2015-08-25 16:46 Smmer 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1.Nginx服务的启动: 一般情况下我们的Nginx是安装在 /usr/local/ 这个目录下面的 首先 : cd /usr/local/nginx/sbin 我们可以看到下面的: jiangjunhuideMacBook-Pro:sbin jiangjh$ pwd /usr/local... 阅读全文
posted @ 2015-08-25 15:48 Smmer 阅读(3506) 评论(0) 推荐(0) 编辑
摘要: 1.查看Linux已经存在的用户: [root@CMCC_91 ~]# cut -d : -f 1 /etc/passwd [root@CMCC_91 ~]# cat /etc/passwd |awk -F \: ‘{print $1}’ [root@CMCC_91 ~]# cat /etc/pas 阅读全文
posted @ 2015-08-25 15:20 Smmer 阅读(343) 评论(1) 推荐(0) 编辑