Last active
October 8, 2016 13:11
-
-
Save digitalhitler/83495d4b4a479828b424d83deb4f1436 to your computer and use it in GitHub Desktop.
CentOS Proxmox Dev Machine Auto-Configurator
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
#!/usr/bin/env bash | |
yum install -y wget nano openssh-server | |
systemctl enable sshd.service | |
systemctl start sshd.service | |
cd /tmp | |
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm | |
rpm -ivh epel-release-7-8.noarch.rpm | |
echo "[mongodb] | |
name=MongoDB Repository | |
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/ | |
gpgcheck=0 | |
enabled=1" > /etc/yum.repos.d/mongodb.repo | |
yum --enablerepo=epel info nginx | |
yum --enablerepo=epel -y \ | |
install \ | |
git \ | |
nginx \ | |
nodejs \ | |
php php-fpm php-cgi php-gd php-json php-mcrypt php-mysql php-mongodb \ | |
mariadb-server \ | |
samba-common samba-client nfs-utils rsync \ | |
redis \ | |
fish hardlink htop iftop mc rsyslog tar zip unzip sqlite sudo tcpdump | |
yum -y install mongodb-org mongodb-org-server | |
(git clone [email protected]:markchalloner/git-semver.git && \ | |
cd git-semver && git checkout $( | |
git tag | grep '^[0-9]\+\.[0-9]\+\.[0-9]\+$' | \ | |
sort -t. -k 1,1n -k 2,2n -k 3,3n | tail -n 1 | |
) && sudo ./install.sh) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment