GuillermoParedes
4/29/2020 - 1:31 PM

apache-mysql-php-manjaro

# Update your system
sudo pacman -Syyu

# Apache
sudo pacman -S apache

# Edit httpd.conf
sudo nano /etc/httpd/conf/httpd.conf 

# Enable and Started the service
sudo systemctl enable httpd
sudo systemctl restart httpd

# Show status about the service
sudo systemctl status httpd

#Mysql MariaDB
sudo pacman -S mysql

#You need to initialize the MariaDB data directory prior to starting the service. To do so, ru
sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql 

#Then issue the following command to enable and start MariaDB service. 
sudo systemctl enable mysqld 
sudo systemctl start mysqld

#You can verify whether MariaDb is running or not using command /
sudo systemctl status mysqld 

#Setup Mysql/MariaDb
sudo mysql_secure_installation