How to install Fedora 26 Server + Static ip + LAMP SERVER + webmin admin panel

in #linux9 years ago

thumbnail.png

In this video I am going to show you how-to install Fedora 26 Server with a static IP, install Apache web server, MariaDB, PHP and Webmin admin panel.

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

Login as root
Update the server

dnf update -y

Install apache web server

dnf install -y httpd

Start the httpd service

systemctl start httpd

Start the httpd service on boot

systemctl enable httpd

Install mariadb

dnf install -y mariadb mariadb-server

Start the mariadb service

systemctl start mariadb

Start the mariadb service on boot

systemctl enable mariadb

Set up mariadb

mysql_secure_installation

Press enter
Press y and set the mysql root password
Press y
Install php

dnf install -y php php-common php-pdo_mysql php-pdo php-gd php-mbstring

Restart the httpd service

systemctl restart httpd

Install webmin dependencies

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

rpm -U webmin-current.rpm

Configure the firewall

firewall-cmd --permanent --add-port=10000/tcp

Configure the firewall

firewall-cmd --permanent --add-port=80/tcp

Configure the firewall

firewall-cmd --reload

You can manage your server remotely on:

https://yourip:10000

You will get a warning for the SSL certificate
Proceed ignoring that warning
To access the Webmin admin panel
Login with your root account

Other posts:

Fedora 26 overview | This is the Linux workstation you've been waiting for.

ArchLabs 5.0 overview | Concentrated fun out of the box.

Sort:  

@ribalinux
Nice writeup
Good job
Keep it up.

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, and someguy123. 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.

If you like what we're doing please upvote this comment so we can continue to build the community account that's supporting all members.

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.101
BTC 62489.76
ETH 1781.01
USDT 1.00
SBD 0.38