一.安装ifconfig *确认本机是否真实存在ifconfig* echo $PATH 查看环境变量路径 ls /usr/sbin/ 查看此路径下是否有ifconfig这个程序 find / -name "ifconfig"查找所有ifconfig名称的文件## 标题 以上都不好使,说明ifconfig被ip替换 ip link show 显示网络接口状态信息. ip addr查看网络接口IP地址相关,发现没有分配IP的网络接口 ls/etc/sysconfig/network-sc
错误信息:./configure: error: C compiler cc is not found解决方案:yum -y install gcc gcc-c++ autoconf automake make 错误信息:./configure: error: the HTTP rewrite module requires the PCRE library.解决方案:yum -y install pcre-devel openssl openssl-devel netstat安装:yum -y
KVM创建虚拟机步骤 Submitted by zhaoley on October 18, 2016 - 10:43am 测试环境: 1: 43.243.130.89, CentOS Linux release 7.2.1511 (Core), Intel(R) Xeon(R) CPU E5620 x2(4cores,16 processors), Memory 64GB, Disk 1TB*82: QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-105
最小安装: 1. 选择English 2. DATE & TIME 修改好本地时间 SOFTWARE SELECTION默认的Minimal Install就好 INSTALLATION DESTINATION选一下 然后,Begin Installation 3. ROOT PASSWORD设置ROOT密码 USER CREATION设置新用户,勾选Make this user administrator 等待安装完成,点Reboot按钮. 配置静态IPv4: $ systemctl stat
Centos7.2下安装redis&通用键值命令 Centos7.2下安装redis 官方网站:https://redis.io/ 1.进入/usr/local/src/目录 cd /usr/local/src/ 2.下载最新版或者最新stable版 wget http://download.redis.io/releases/redis-5.0.5.tar.gz 3.解压并进入目录 tar xzf redis-.tar.gz cd redis- 4.不用配置,直接make make 注:如果是