摘要: 构建Nginx网站平台 一、安装Nginx 1、配置IP地址 (略) 2、编译安装Nginx [root@localhost ~]# yum -y install pcre-devel zlib-devel[root@localhost ~]# useradd -M -s /sbin/nologin 阅读全文
posted @ 2017-09-16 15:04 Cheney& 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Tomcat 环境:VM CentOS1:192.168.1.1/24 CentOS2:192.168.1.2/24 REHL:192.168.1.3/24 CentOS 1 #yum开始 挂载镜像并连接 删除原有的yum配置文件,写入自己的 #yum结束 关闭iptables防火墙 需要用到的安装 阅读全文
posted @ 2017-09-16 14:39 Cheney& 阅读(390) 评论(0) 推荐(0) 编辑
摘要: Linux查看系统配置常用命令 一、linux CPU大小 cat /proc/cpuinfo |grep "model name" && cat /proc/cpuinfo |grep "physical id" 说明:Linux下可以在/proc/cpuinfo中看到每个cpu的详细信息。但是对 阅读全文
posted @ 2017-09-16 12:18 Cheney& 阅读(868) 评论(1) 推荐(0) 编辑
摘要: 环境:centos6.5 eth0:192.168.10.1/24 编译安装squid 21 tar -zxvf squid-3.4.6.tar.gz -C /usr/src/ 22 cd /usr/src/ 23 ls 24 cd ./squid-3.4.6/ 25 ls 26 ./configu 阅读全文
posted @ 2017-09-08 17:28 Cheney& 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 环境:VM CentOS6.5 / CentOS6.5镜像 LAMP平台的构成组件: Linux Apache MySQL/mogodb PHP/Perl/Python LAMP平台的优势: 成本低廉 可定制性 易于开发 方便易用 给eth0配置一个私有C类ip地址 配置文件信息 :wq 保存退出, 阅读全文
posted @ 2017-09-07 13:46 Cheney& 阅读(234) 评论(0) 推荐(0) 编辑