Skip to main content

How-to install Ubuntu 14.10/14.04 Server + Static ip + LEMP SERVER + Webmin admin panel



Tip: Watch the video full screen and HD.


In this video i am going to show you how-to installl Ubuntu 14.10 / 14.04 Server set a static ip , install nginx web server , Mysql, PHP and Webmin admin panel.

LEMP is a variation of the ubiquitous LAMP stack used for developing and deploying web applications. Traditionally, LAMP consists of Linux, Apache, MySQL, and PHP. Due to its modular nature, the components can easily be swapped out. With LEMP, Apache is replaced with the lightweight yet powerful Nginx.

Commands

Choose your language

Choose your location

Keyboard configuration

Choose your server hostname

Create your user account

Clock configuration

Partition management

Set proxy settings if needed

Select install security updates automatically

Select Continue

Install the grub boot loader

Remove the cd and reboot

Open and edit the network interfaces file
sudo nano /etc/network/interfaces

Change dhcp to static in the file

Adapt the configuration to your network

My desired ip address 192.168.0.163
My router ip address 192.168.0.1

Add  to the file
address yourip
netmask yournetmask
network yournetwork

Add  to the file
broadcast yourbroadcast
gateway yourgateway
dns-nameservers yourdns-nameservers

Save and exit
Ctrl+x

Install nginx
sudo apt-get install nginx

Open and edit the nginx.conf file
sudo nano /etc/nginx/nginx.conf

Set the worker_processes with the nº of cpu's of your system "Hi have 1 cpu in my
virtual machine"

Save and exit
Ctrl+x

Open and edit the nginx default file
sudo nano /etc/nginx/sites-available/default

On the server section in index add index.php and in server_name 
add server.yourdomain.local

On the location ~ \.php$ remove the # to uncomment the lines and add 
try_files $uri =404; to the file.

Save and exit
Ctrl+x

Install Mysql
sudo apt-get install mysql-server mysql-client

Set the Mysql root password 

Install php
sudo apt-get install php5 php5-fpm php5-mysql

Open and edit the sources.list file
sudo nano /etc/apt/sources.list

Add to the file
deb http://download.webmin.com/download/repository sarge contrib

Add to the file
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Save and exit
Ctrl+x

Go to the tmp folder
cd /tmp

Download the webmin repository key
wget http://www.webmin.com/jcameron-key.asc

Install the repository key
sudo apt-key add jcameron-key.asc

Update your package list
sudo apt-get update

Install Webmin admin panel
sudo apt-get install webmin

Reboot
sudo reboot

To access the Webmin admin panel
https://yourserverip:10000

To access the Webmin admin panel
Login with your username and your password



PLEASE SUBSCRIBE AND FOLLOW ME ON TWITTER GOOGLE+ OR FACEBOOK!!







Popular Posts