CentOS
Jump to navigation
Jump to search
Contents
Setup notes
epel
yum install epel-release -y
Once the EPEL repository is installed, you can install AppS by just running the following command:
yum install --enablerepo="epel" apps -y
autofs
yum install autofs yum install nfs-utils nfs-utils-lib
That will install default settings. By default, autofs will auto mount any known location to /net. Make sure they in your /etc/hosts file.
Chrome
vim: /etc/yum.repos.d/chromium-e16.repo |
[chromium-el6]
name=CentOS-$releasever - Chromium EL6
baseurl=http://people.centos.org/hughesjr/chromium/6/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-Testing-6
[chromium-el6-Source]
name=CentOS-$releasever - Chromium EL6 - Source
baseurl=http://people.centos.org/hughesjr/chromium/6/SRPMS/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-Testing-6
[chromium-el6-debug]
name=CentOS-$releasever - Chromium EL6 - Debug
baseurl=http://people.centos.org/hughesjr/chromium/6/debug/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-Testing-6
|
newer version of git
Install needed packages to compile
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel yum install gcc perl-ExtUtils-MakeMaker
Remove old version:
yum remove git wget https://www.kernel.org/pub/software/scm/git/git-1.8.5.tar.xz tar xf git-1.8.5.tar.xz cd git-1.8.5 make prefix=/usr/local/git all make prefix=/usr/local/git install echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/bashrc source /etc/bashrc
Time sync
yum install ntp chkconfig ntpd on ntpdate pool.ntp.org service ntpd start
If for some reason your time sync is disabled, try updating it via http:
sudo yum install htpdate or wget http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/x86_64/rpmforge/RPMS/htpdate-1.0.4-1.el6.rf.x86_64.rpm sudo htpdate -a google.com
latest version of Python
https://danieleriksson.net/2017/02/08/how-to-install-latest-python-on-centos/