yum -y update(所有都升级和改变)
升级所有包,系统版本和内核,改变软件设置和系统设置
-----------------------------------------------
yum -y upgrade(不变内核和设置,升级包和系统版本)
升级所有包和系统版本,不改变内核,软件和系统设置
更改yum源:下载软件的安装源
[root@chengyinwu ~]# curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
[root@chengyinwu ~]# curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
C6 and C7 have basic tools package
yum install tree nmap dos2unix lrzsz nc lsof wget tcpdump htop iftop iotop sysstat nethogs -y
C7 with the basic toolkit
yum install psmisc net-tools bash-completion vim-enhanced -y
command | effect |
---|---|
tree | Displays the directory structure in a tree |
psmisc | pstree commands |
vim | an upgraded version of vi |
wget | download tool |
bash-completion (default source) | Enhanced auto-completion tool that can fill all orders parameters |
bash-completion-extras (warm) | Super-enhanced auto-completion tool that can fill all orders parameters |
lrzsz | Uploading and downloading tools rz and sz |
net-tools | ifconfig route command belongs to a package |
sysstat | sar iostat belonging package |
iotop | io read and write circumstances of each process write query system swap case |
iftop | Query network traffic |
nethogs | Display traffic conditions of each process |
htop | top Upgraded |
unzip | Decompression |
nc | ncat like telnet |
nmap | Network Scanner Tool |
telnet | Check the port is open |
bc | Basic calculator |
lsof | Shows all open files |
you | DNS resolution bind-utils package |
nslookup | DNS resolution bind-utils package |
host | DNS resolution bind-utils package |
htpasswd | Create a password file to store user names and encrypted passwords are generally used for simple authentication nginx |
When installed option package, then chose four time loading system, group packages: There are a bunch of software
yum groups mark convert
yum grouplist >>>查看所有包组名称,包括已安装的组包(Installed Groups)和未安装的组包(Available Groups)
yum groupinstall "Development Tools" -y
yum groupinstall "Cinnamon" -y
Download tools: lrzsz
installation method: yum install lrzsz -y
download command is sz
upload command is rz
Download example: sz anaconda-ks.cfg
upload rz Enter option to upload files directly drag and drop files (dependent lrzsz tool)
Finally, talk about some of the documents color linux file under the meaning of
green ----> represents the executable file ( green represents the pass meant) Oh
red ----> represents the compressed file
dark blue ----> represents the directory
blue -----> represents the linked files
gray ----> on behalf of a number of other documents