Arch Linux provides a flexible cutting-edge system environment and is a powerfully suited solution for developing web applications on small non-critical systems because is a completely open source and provides the latest up-to-date releases on kernels and web software for servers and databases. The main scope of this video tutorial is to guide you through complete step-by-step instructions that in the end will lead to installing one of the most used software combinations in Web Development: LAMP (Linux, Apache, MySQL/MariaDB, and PHP/PhpMyAdmin) on Arch Linux.
Commands:
sudo pacman -Syu
sudo pacman -S apache
sudo nano /etc/httpd/conf/httpd.conf
systemctl enable httpd
systemctl restart httpd
systemctl status httpd
sudo nano /srv/http/index.html
sudo pacman -S mysql
sudo mysql_install_db –user=mysql –basedir=/usr –datadir=/var/lib/mysql
systemctl enable mysqld
systemctl start mysqld
systemctl status mysqld
sudo mysql_secure_installation
sudo pacman -S php php-apache
sudo nano /etc/httpd/conf/httpd.conf
sudo nano /srv/http/test.php
systemctl restart httpd
sudo pacman -S phpmyadmin php-mcrypt
sudo nano /etc/php/php.ini
sudo nano /etc/httpd/conf/extra/phpmyadmin.conf
sudo nano /etc/httpd/conf/httpd.conf
Include conf/extra/phpmyadmin.conf
systemctl restart httpd
Chapters:
0:00 Intro
0:23 Step 1: Update your Arch system
0:45 Step 2: Install Apache
2:39 Step 3: Install MariaDB
4:54 Step 4: Install PHP
6:55 Step 5: Install phpMyAdmin
9:40 End screen
What you will learn:
1. Update your Arch system
a. How to update your Arch Linux
2. Install Apache
a. How to install Apache web server
b. How to Edit /etc/httpd/conf/httpd.conf file
c. How to Enable Apache service to start at boot and restart Apache service
d. How You can verify whether Apache is running or not
e. How to Test Apache
3. Install MariaDB
a. How to install MariaDB on your Arch Linux
b. How to initialize the MariaDB data directory prior to starting the service
c. How to enable and start MariaDB service
d. How You can verify whether MariaDb is running or not
e. How to Setup MySQL/MariaDB root user password
f. How to setup a password for database root user
g. How to setup MariaDB root user password
4. Install PHP
a. How To install PHP in Arch Linux
b. How to configure Apache PHP module
c. How to edit /etc/httpd/conf/httpd.conf file
d. How to Test PHP
e. How to create a test.php file in the Apache root directory
f. How to Restart httpd service
5. Install phpMyAdmin
a. How to edit php.ini file
b. How to create configuration file for phpMyAdmin
c. How to open Apache configuration file
d. How to Restart httpd service
e. How to Test phpMyAdmin
f. How to open phpMyAdmin web console
Song: VDGL – Sense it
Music provided by Vlog No Copyright Music.
Video Link: https://bit.ly/41erzch
Song: Justhea – Closer
Music provided by Vlog No Copyright Music.
Creative Commons – Attribution 3.0 Unported
Video Link: https://www.youtube.com/watch?v=jDZoEe3lBuU&t=0s
Song: LAKEY INSPIRED – Overjoyed
Music provided by Vlog No Copyright Music.
Creative Commons – Attribution-ShareAlike 3.0 Unported
Video Link: https://www.youtube.com/watch?v=RcTzkSS7gzk&t=0s
#computereverywhere #howtoinstall #lamp #linux #apache #mysql #php #phpmyadmin #archlinux
Leave a Reply