Last active
August 29, 2015 14:28
-
-
Save collinprice/79f4ce6b56a82d5a2af9 to your computer and use it in GitHub Desktop.
centos 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/yum.repos.d/google-chrome.repo | |
[google-chrome] | |
name=google-chrome | |
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install epel-release | |
yum install ntfs-3g | |
grub2-mkconfig -o /boot/grub2/grub.cfg | |
yum install google-chrome-stable | |
# default | |
yum install -y zsh git | |
usermod -s /bin/zsh root | |
usermod -s /bin/zsh <username> | |
rm .bash* .zcomp* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.26.1/install.sh | bash | |
nvm install stable | |
nvm alias default stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum -y install postgresql-server postgresql-contrib | |
sudo postgresql-setup initdb | |
sudo vim /var/lib/pgsql/data/pg_hba.conf | |
# host all all 127.0.0.1/32 md5 | |
# host all all ::1/128 md5 | |
sudo systemctl start postgresql | |
sudo systemctl enable postgresql | |
sudo -i -u postgres | |
createuser --interactive | |
# <username> | |
createdb <username> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://www.dedoimedo.com/computers/centos-7-nvidia.html | |
yum update | |
yum install kernel-devel kernel-headers gcc make | |
# edit /etc/default/grub | |
# add rdblacklist=nouveau | |
grub2-mkconfig -o /boot/grub2/grub.cfg | |
# edit /etc/modprobe.d/blacklist.conf | |
# append blacklist nouveau | |
# restart | |
# init 3 | |
# run driver | |
# init 5 | |
yum remove xorg-x11-drv-nouveau |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment