Created
September 29, 2020 20:32
-
-
Save omerucel/ba284156d8223cf11d94bf8da9c79a42 to your computer and use it in GitHub Desktop.
setup server
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
mkdir -p /data/projects | |
apt-get install -y apache2 php php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd php-mbstring php-curl php-xml php-soap php-pear php-bcmath libapache2-mod-php software-properties-common certbot python3-certbot-apache zip unzip | |
a2enmod rewrite | |
systemctl restart apache2 | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
php composer-setup.php | |
mv composer.phar /usr/local/bin/composer | |
unlink composer-setup.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment