Saturday, October 26, 2013

How to install ubuntu 12.04 server step by step + bonus

                                A LAMP (Linux,Apache,MySQL,PHP)

DWD-ROM or USB flash drive.Do not forget change boot order in bios.

UPDATED on mon 2 nov 2015

                                                              step 1




                                                              step 2



step3


step 4


step 5

to navigate use  Tab 

step 6


step 7


step 8


step 9

write down the user name ! (see step 27)

step 10


step 11


step 12


step 13


step 14


if you encrypt your home directory
it will slow down your server
(of course if you have pair of xeons do not worry about )



step 15


step 16
LVM or entire disk ?
 If you want to share or sell space on your server choose LVM .
so later  you can add or remove same space from users.
 If not.  And it's only for  your  private needs then chose entire disk.


step 17


step 18


step 19


step 20


only if you behind proxy server
step 21

no automatic updates > meant YOU in charge
automatic updates can disable server or services

step 22

for the selection, use the Space bar
important> ssh server for remote connection with your server
apache2  server or you will  do manually later on .
apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server

samba file server for sharing files with windows users on network.

step 23

Do NOT leave this blank.

write down the password !



step 24


step 25


step 26


step 27

for security reason  > login name not displayed

step 28


step 29

for security reason  no asterisks displayed 
after entering  password just hit Enter

step 30

sure         sudo apt-get update
                   sudo apt-get upgrade 
          sudo ufw enable
           sudo ufw disable
              sudo ufw allow ssh
               sudo ufw allow http
                     sudo shutdown -h now

BONUS

you can do this in one command
sudo apt-get install lam-server^
 

No comments:

Post a Comment

wordpress problem with plugin updates

                                                           changing permissions will solve the problem                                    ...