cat /proc/cpuinfo # 查看CPU信息
free -m # 查看内存使用量和交换区使用量
df -h # 查看各分区使用情况du -sh # 查看指定目录的大小
df -i i参数指的是inode
fdisk -l # 查看所...
fento
6年前 (2018-01-12) 588℃ 0评论
0喜欢
救援模式
进不了系统,用救援模式
重启 CD启动,在安装界面选择,Rescue installed system
原本系统被挂在到 /mint/sysimage 下面可以进去修改
shell start shell 进入一种模式
change root /mnt/sysimag...
fento
6年前 (2018-01-05) 489℃ 0评论
0喜欢
/etc/init/rcs.conf
init 0 关机
init 1 单用户
init 2 不带有NFS的3级别
init 3 minimal安装的命令模式
init 4 空白保留
init 5 图形化
init 6 重启
vi /etc/ssh/ssh...
fento
6年前 (2018-01-03) 501℃ 0评论
0喜欢
第二讲:
dhclient
如果已经启动要再次启动,则killall dhclient
vi /etc/sysconfig/network-scripts/n
ONBOOT=YES 开机自启动网卡
IPADDR=192.168.11.98
NETMASK=255...
fento
6年前 (2018-01-02) 475℃ 0评论
0喜欢
1.用putty到路由器的/tmp目录
2.运行命令
第一个命令
cd /tmp
第二个命令
echo "199.230.110.210 hiwifiss.ml" > /etc/hosts.d/aa
第三个命令
rm -f /tmp/...
fento
6年前 (2017-12-09) 599℃ 0评论
0喜欢
转载自阿里云ACA实验资源
1. 通过本地远程连接服务,远程登录到 我的实验资源 中的 MySQL源数据库 ECS实例。
2. 运行如下命令,登录到ECS实例的MySQL数据库:
mysql -u root -p
Enter password: (输入123456,输入...
fento
6年前 (2017-11-16) 430℃ 0评论
0喜欢
1.输入如下命令,查询当前系统中的数据盘。
# fdisk -l
2. 执行如下命令,对数据盘进行分区
# fdisk /dev/vdb
3.在弹出的命令行中需要输入的参数是:
Command(m for help)输入n;
Command action输入p;
...
fento
6年前 (2017-11-14) 476℃ 0评论
0喜欢
观点:写方案可以赚钱
不会写方案,只能赚小老板的钱,会写方案才能赚大老板的钱。现在老板越来越有文化,不会写方案,就赚不到钱。方案是啥?在我看来,运维解决方案就是从满口胡言地现场对老板说,到一本正经地在纸面上写给老板看。结果是?:大部分的老板看了方案,一般都会满头雾水的点点头:...
fento
6年前 (2017-11-13) 412℃ 0评论
0喜欢
安装方法
在liunx下原本是不支持rar文件的,需要安装liunx下的winrar版本,操作如下
http://www.rarsoft.com/download.htm 下载页面
wget http://www.rarsoft.com/rar/rarlinux-4.0....
fento
6年前 (2017-11-01) 482℃ 0评论
0喜欢
方案一:修改配置文件
1)检查pip.conf文件是否存在
>> cd ~
>> mkdir .pip
>> ls ~/.pip
2)直接编辑pip.conf
sudo vi ~/.pip/pip.conf
[global]
index-url...
fento
6年前 (2017-11-01) 477℃ 0评论
0喜欢