Linux

CentOS升级Python2.7及安装pip

2019-03-06

==编译安装python== > Centos6自带的python版本过低,yum无法安装2.7版本的python,需要自行编译。 yum install zlib zlib-devel -y #安装setuptools需要,编译python前安装,否则需要重新编译. yum install openssl openssl-devel -y #安装pip需要. yum instal ...

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 ...