摘要: 环境: 系统硬件:vmware vsphere (CPU:2*4核,内存2G,双网卡) 系统版本:CentOS-7-x86_64-Minimal-1611.iso 安装步骤: 1.准备 1.0 查看硬件信息 查看物理cpu个数[root@centos ~]# grep 'physical id' / 阅读全文
posted @ 2019-07-15 21:38 玉雄观真 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 基础部分设置 [root@centos ~]# vim /opt/nginx/conf/nginx.conf user www www;worker_processes auto;pid logs/nginx.pid;worker_rlimit_nofile 100000; events {use 阅读全文
posted @ 2016-01-04 10:00 玉雄观真 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 电脑名字 :root ;密码:123456常用命令 :显示IP地址 ip addr ;查看文件夹目录 ll ;查看路径 pwd ;安装基本软件包 yum install vim wget lsof gcc gcc-c++ bzip2 -y;显示IP地址 (centos7需要先安装 net-tools... 阅读全文
posted @ 2015-12-03 11:45 玉雄观真 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 查看定时任务格式 [root@centos ~]# vim /etc/crontab 1 SHELL=/bin/bash2 PATH=/sbin:/bin:/usr/sbin:/usr/bin3 MAILTO=root45 # For details see man 4 crontabs67 # E 阅读全文
posted @ 2015-11-26 12:46 玉雄观真 阅读(189) 评论(0) 推荐(0) 编辑