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
apt-get clean | |
rm -rf /var/lib/apt/lists/* | |
apt-get clean | |
apt-get update | |
apt-get upgrade |
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
sudo su | |
cd /var | |
mkdir repo && cd repo | |
mkdir site.git && cd site.git | |
git init --bare | |
cd hooks | |
cat > post-receive |
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
curl -LO https://github.com/phalcon/phalcon-devtools/archive/v3.0.2.tar.gz | |
tar xzf v3.0.2.tar.gz | |
mv phalcon-devtools-3.0.2 /usr/local/phalcon-devtools | |
ln -s /usr/local/phalcon-devtools/phalcon.php /usr/local/bin/phalcon |
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
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
sudo apt-get update | |
sudo apt-get install google-chrome-stable |
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
// Install Docker Compose | |
sudo apt-get update | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' | |
sudo apt-get update | |
apt-cache policy docker-engine | |
sudo apt-get install -y docker-engine | |
// Check that it's running: | |
sudo systemctl status docker |
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
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make | |
sudo apt-get update | |
sudo apt-get install ubuntu-make | |
umake ide visual-studio-code |
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
lsb_release -rs |
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
wget http://cdn.mysql.com/Downloads/MySQLGUITools/mysql-workbench-community-6.3.8-1ubu1604-amd64.deb -O mysql-workbench-community.deb | |
sudo dpkg -i mysql-workbench-community.deb | |
sudo apt-get -f install |
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
sudo apt-get install python-software-properties | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get purge php5-fpm -y | |
sudo apt-get install php7.0 php7.0-fpm | |
sudo apt-get install php7.0-mysql -y | |
sudo apt-get --purge autoremove -y | |
php --version |
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
sudo apt-get update | |
sudo apt-get install curl | |
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer |
OlderNewer