摘要: # 查看正在运行的服务 systemctl # 查看某个服务的状态 systemctl status httpd.service # 启动服务 systemctl start foo.service 如:systemctl start httpd.service # 停止服务 systemctl s 阅读全文
posted @ 2016-06-27 19:05 D蓝叶 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 列出服务和他们对应的端口: netstat -tulpn 阅读全文
posted @ 2016-06-27 18:36 D蓝叶 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 查看内网:ip addr 查看公网:curl members.3322.org/dyndns/getip 阅读全文
posted @ 2016-06-27 18:34 D蓝叶 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 1、使用yum安装 yum -y install httpd mysql mysql-server php php-mysql postgresql postgresql-server php-postgresql php-pgsql php-devel 2、配置httpd 2.1、启动httpd服 阅读全文
posted @ 2016-06-27 10:14 D蓝叶 阅读(199) 评论(0) 推荐(0) 编辑