How-to install Oracle Linux 7.1 + Static ip + LAMP SERVER + webmin admin panel


Tip: Watch the video full screen and HD.


In this video i am going to show you how-to install Oracle Linux 7.1 with a static ip , install apache web server , oracle mysql, PHP and webmin admin panel.

DOWNLOAD
http://ftp.linux.org.uk/pub/distributions/enterprise/OL7/u1/x86_64/OracleLinux-R7-U1-Server-x86_64-dvd.iso

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 your system
yum update

Install wget
yum install -y wget

Install apache web server
yum install -y httpd 

Start the httpd service
systemctl start httpd

Start the httpd service on boot
systemctl enable httpd

Install oracle mysql repository
yum install http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm 

Install mysql
yum install -y mysql-community mysql-community-server

Start the mysql service
systemctl start mysqld

Start the mysql service on boot
systemctl enable mysqld

Set up mysql
mysql_secure_installation

Press enter

Press y and set the mysql root password

Press y

Install php
yum install -y php php-mysql

Restart the httpd service
systemctl restart httpd

Download the webmin rpm
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.740-1.noarch.rpm

Configure the firewall
firewall-cmd --permanent --zone=public --add-port=10000/tcp

Install webmin
rpm -U webmin-1.740-1.noarch.rpm

Configure the firewall
firewall-cmd --permanent --zone=public --add-port=80/tcp

Configure the firewall
firewall-cmd --reload