This file contains hidden or 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
cd /tmp && \ | |
wget http://au1.php.net/distributions/php-5.6.12.tar.gz -O php-current.tar.gz > /dev/null 2>&1 | |
mkdir php-current && tar -zxvf php-current.tar.gz -C /tmp/php-current --strip-components=1 > /dev/null 2>&1 && \ | |
cd php-current | |
./configure \ | |
--with-apxs2=/usr/sbin/apxs \ | |
--with-mysql \ | |
--with-mysqli \ |
This file contains hidden or 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 | |
echo "1. Download public SSH Key vagrant.pub and replace it to .ssh/authorized_keys" | |
wget https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub -O /home/vagrant/.ssh/authorized_keys | |
echo "2. Change Permissions .ssh/ (chmod 700)" | |
chmod 700 .ssh | |
echo "3. Change Permissions .ssh/ (vagrant:vagrant)" | |
chown -R vagrant:vagrant .ssh |
This file contains hidden or 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
#!/bin/bash | |
# | |
# /etc/rc.d/init.d/hhvm | |
# | |
# Starts the hhvm daemon | |
# | |
# chkconfig: 345 26 74 | |
# description: HHVM (aka the HipHop Virtual Machine) is an open-source virtual machine designed for executing programs written in Hack and PHP | |
# processname: hhvm |
This file contains hidden or 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 | |
echo "1. Yum Cleaning" | |
sudo yum clean all | |
echo "2. Clean /tmp folder" | |
sudo rm -rf /tmp/* | |
echo "3. Removing log files" | |
sudo rm -f /var/log/wtmp /var/log/btmp |
NewerOlder