centos7 yum升级openssl到最新版本
yum -y install epel-release
yum -y install openssl11 openssl11-devel
mv /usr/bin/openssl...
yum -y install epel-release
yum -y install openssl11 openssl11-devel
mv /usr/bin/openssl...
cat > /etc/yum.repos.d/city-fan.repo << EOF [cityfan] name=cityfan baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel7/x86_64/ enabled=1 gpgcheck=0 EOF
今天在测试服上安装docker compose的时候,pip居然给我报要python2.7的版本才能安装,我去,对于我这样很懒的人来说,不想编译安装来对python升级,下面给大家一个直接yum就可以升级python版本的方法.
系统:centos 6.x(64位)
软件环境:python 2.6.x
1.升级前准备
yum install centos-release-SCL
2.安装python2.7
yum install scl-utils python27 python27-scldevel -y
ps:yum在这里的速度可能有点慢,大家要耐...
1.安装 MariaDB repository
* 在64位系统上安装MariaDB 10.0
### CentOS 7.x 64位 MariaDB 10.0 ## cat <<EOF > /etc/yum.repos.d/MariaDB.repo [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.0/rhel7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 EOF
一直都听说hhvm的性能怎么怎么好,速度怎么怎么快,就想自己也搭建个环境来测试下,在搭建的中途遇到的了各种坑,让我拖到今天才终于把hhvm搭建成功.好了,下面来看教程吧.
系统:centos 6.5(64位)
1.添加搭建hhvm需要的源
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS6-Base-163.repo
wget -O /etc/yum.repos.d/hop5.repo http://www.hop5.in/yum/el6/hop5.repo
rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
或者
rpm -Uvh http://download.slogra.com/yum-x86_64/epel-release-6-8.noarch.rpm
yum -y install libmcrypt-devel glog-devel jemalloc-devel tbb-devel libdwarf-devel mysql-devel \
libxml2-devel libicu-devel pcre-devel gd-devel boost-devel sqlite-devel pam-devel \
bzip2-devel oniguruma-devel openldap-devel readline-devel libc-client-devel libcap-devel \
libevent-devel libcurl-devel libmemcached-devel
2.安装hhvm...
最近看到一篇文章Linux内核4.4版本带来的网络新特性,感觉还不错,想马上试试新内核,但又不想手动去编译内核,还好被我发现原来yum也可以升级
内核到4.4了,马上行动.下面这篇文章是介绍怎么手动升级到内核4.4的,有兴趣的朋友可以看看,但不建议马上用到生产环境上.
系统:centos 6.5(64位)
1.先查看内核
uname -r
2.6.32-431.el6.x86_64
2.查看系统版本
cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m
3.安装推荐的key和扩展源...
今天新装的一台服务器,打算用yum安装gcc等程序,出现下面的问题:
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 285, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 136, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 434, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in _getTs
self._getTsInfo(remove_only...
这篇文章算yum安装lamp的升级版吧,默认在centos上yum安装php和mysql的话,版本比较低,当我们想用高版本的话,那就用其他yum源了,好了,来看安装教程吧.
系统:centos 5.x
需要软件包:
epel-release-5-4.noarch.rpm
remi-release-5.rpm
1.安装准备
##Install Remi Repository on RHEL/CentOS 5.0-5.9 - 32 Bit ##
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
##Install Remi Repository on RHEL/CentOS 5.0-5.9 - 64 Bit #...