What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-26 17:26:01
ubuntu lemp
// NGINX sudo apt update sudo apt install nginx // MYSQL sudo apt install mysql-server sudo mysql ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; FLUSH PRIVILEGES; exit; sudo mysql -u root -p // PHP sudo apt install p... Add solution -
Shell/Bash 2021-08-26 11:05:03
update composer ubuntu
##update composer in ubuntu #update packages sudo apt-get update #if you don't have curl install it sudo apt-get install curl #download installer sudo curl -s https://getcomposer.org/installer | php #move composer.phar file sudo mv composer.phar /usr/loca... Add solution -
Shell/Bash 2021-08-26 10:44:01
install or enable php's curl extension ubuntu
sudo apt install php-curl Add solution -
Shell/Bash 2021-08-25 15:10:34
apache2 disable site
# enable site sudo a2ensite # disable site sudo a2dissite # enable an apache2 module sudo a2enmod # e.g. a2enmod php4 will create the correct symlinks in mods-enabled to allow the module to be used. In this example it will link both php4.conf and ph... Add solution