Skip to main content

How to Install LAMP Stack (Linux, Apache, Mariadb, PHP) on Fedora 27 + webmin



Tip: Watch the video full screen and HD.
Buy Me a Coffee at ko-fi.com

In this video i am going to show you how to Install LAMP Stack (Linux, Apache, MySQL, PHP) on Fedora 27 plus webmin Admin Panel.
Support the Channel on Patreon https://www.patreon.com/ribalinux
Ethereum or ERC20 Tokens i gladly accept (╯✧∇✧)╯ 0xB2d7E1470818FF8D35278b45B6fefe341d2d1220
Buy Me a Coffee http://ko-fi.com/A0383T5
follow me on Steemit https://steemit.com/@ribalinux

LAMP is a combination of free, open source software. The acronym LAMP refers to the first letters of Linux (operating system), Apache HTTP Server, MySQL (database software), and PHP, Perl or Python, principal components to build a viable general purpose web server.
The exact combination of software included in a LAMP package may vary, especially with respect to the web scripting software, as Perl or Python are sometimes dropped from the stack. Similar terms exist for essentially the same software suite (AMP) running on other operating systems, such as Microsoft Windows (WAMP), Mac OS (MAMP), Solaris (SAMP), iSeries (iAMP), or OpenBSD (OAMP).
Though the original authors of these programs did not design them all to work specifically with each other, the development philosophy and tool sets are shared and were developed in close conjunction. The software combination has become popular because it is free of cost, open-source, and therefore easily adaptable, and because of the ubiquity of its components which are bundled with most current Linux distributions.

Commands:

Update the system
> sudo dnf update -y

Install apache web server
> sudo dnf install -y httpd

Start the httpd service
> sudo systemctl start httpd

Start the httpd service on boot
> sudo systemctl enable httpd

Install mariadb
> sudo dnf install -y mariadb mariadb-server

Start the mariadb service
> sudo systemctl start mariadb

Start the mariadb service on boot
> sudo systemctl enable mariadb

Set up mariadb
> sudo mysql_secure_installation

Press enter

Press y and set the mysql root password

Press y

Install php
> sudo dnf install -y php php-common php-pdo_mysql php-pdo php-gd php-mbstring

Restart the httpd service
> sudo systemctl restart httpd

Install webmin dependencies
> sudo dnf install -y perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect

Download the webmin rpm
> wget http://www.webmin.com/download/rpm/webmin-current.rpm

Install webmin
> sudo rpm -U webmin-current.rpm

Configure the firewall
> sudo firewall-cmd --permanent --add-port=10000/tcp

Configure the firewall
> sudo firewall-cmd --permanent --add-port=80/tcp

Configure the firewall
> sudo firewall-cmd --reload

You can manage your server remotely on:
> https://yourip:10000


Thank you to everyone who supports me on Patreon.
GhostBSD Project
Tim Lawrence
T. Gruca
Douglas Grieve
Nathan Crause
David Yzaguirre


Do you want to see your name here? http://bit.ly/patreon_rb

PLEASE SUBSCRIBE AND FOLLOW ME ON TWITTER GOOGLE+ OR FACEBOOK!! IF YOU CAN PLEASE SUPPORT THE CHANNEL ON PATREON

Popular Posts