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

in #linux6 years ago

thumbnail.jpg

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? https://www.patreon.com/ribalinux

Other posts:

Fedora 27 overview | Choose Freedom. Choose Fedora.

GhostBSD 11.1 overview | A simple, elegant desktop BSD Operating System

Thank you and please vote, Resteem, follow @ribalinux \(^ω^\)

Sort:  

Calling @originalworks :)
img credz: pixabay.com
Nice, you got a 68.0% @anu upgoat, thanks to @ribalinux
It consists of $1.1 vote and $0.37 curation
Want a boost? Minnowbooster's got your back!

The @OriginalWorks BETA V2 bot has upvoted(0.5%) and checked this post!
Some similarity seems to be present here:


This is an early BETA version. If you cited this source, then ignore this message! Reply if you feel this is an error.

This post has received a 0.68 % upvote from @buildawhale thanks to: @ribalinux. Send at least 1 SBD to @buildawhale with a post link in the memo field for a portion of the next vote.

To support our daily curation initiative, please vote on my owner, @themarkymark, as a Steem Witness

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by ribalinux from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

Coin Marketplace

STEEM 0.30
TRX 0.11
JST 0.033
BTC 64271.38
ETH 3157.43
USDT 1.00
SBD 4.25