Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

How to install LAMP in Ubuntu 18.04?

sudo apt-get update -y
 
sudo apt install apache2 // install apache 2
 
sudo ufw app list // adjust your firewall settings to allow HTTP traffic
 
sudo ufw allow in "Apache"
 
sudo ufw status // check status
 
sudo apt install mysql-server // install mysql database
 
sudo mysql_secure_installation // set user and password
 
sudo mysql // enter into database to verify
 
exit // exit from database
 
sudo apt install php libapache2-mod-php php-mysql // install latest php and php-ext
 
php -v // verify php version
Comment

PREVIOUS NEXT
Code Example
Shell :: interface graphique sur python 
Shell :: hardhat init 
Shell :: sshpass mac os x brew 
Shell :: adb devices offline 
Shell :: bash service list 
Shell :: grep remove branches 
Shell :: pip uninstall all packages 
Shell :: cmake version comand 
Shell :: ufw allow http and httpw connections 
Shell :: android turn off emulator 
Shell :: make file writable linux 
Shell :: git ignore remove 
Shell :: connect redis cli 
Shell :: how to shutdown ubuntu 
Shell :: centos7 addgroup 
Shell :: renomear branch 
Shell :: rsync port ssh 
Shell :: git change crlf to lf 
Shell :: git set url with user name and password 
Shell :: go update all packages 
Shell :: perl reverse shell 
Shell :: create local branch to track remote 
Shell :: cmd delete recursive 
Shell :: archlinux install chrome 
Shell :: debian netstat command not found 
Shell :: command separate words into lines 
Shell :: get user password linux 
Shell :: uninstall openshot linux 
Shell :: alpine linux install lsof 
Shell :: ubuntu remove directory 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =