Linux

CentOS 删除rpm依赖

2019-03-06

==卸载软件时连同依赖一并卸载== yum install yum-remove-with-leaves yum remove smplayer --remove-leaves ==下面的清理要视情况而定,有时需要的也会列出来== package-cleanup:用于清理本地安装的RPM软件包 yum install yum-utils #清理旧内核(删除旧内核文件(kern ...

Linux

CentOS 6.2 mini安装桌面环境

2019-03-06

yum groupinstall "X Window System" //安装Xorg yum groupinstall "Desktop" //安装GNOME yum install dejavu-lgc-sans-fonts //字符显示异常试试安装这个 yum groupinstall "Chinese Support" //安装中文支持 yum install nautilus-open ...

Linux

自建Saltstack的repo软件源仓库

2019-03-06

CentOS ==下载官网源安装到本地== > https://repo.saltstack.com/index.html#rhel rpm -e --nodeps python2-pycryptodomex yum install python-crypto yum install https://repo.saltstack.com/yum/redhat/salt-repo-la ...

Linux

yum 命令的使用与Linux5.5下配置Centos的yum源

2019-03-06

yum list kernel-debuginfo --showduplicates ## "Development Tools" yum -y groupinstall "Development Tools" ## EPEL 源 yum -y install epel-release ## 编译环境,工具 yum -y install make cmake autoconf automake ...

Linux

CentOS安装完成后需要的一些配置

2019-03-06

最新内核+BBR支持 wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh ==在syslog内增加用户操作日志== cat >>/etc/bashrc <<EO ...