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^
 

How to play music in terminal

 The programm name  is music on consol  catch link       http://moc.daper.net/

                              ------------   How to install and play   -----------
                     sudo apt-get install moc
                                                             
                    sudo apt-get install moc-ffmpeg-plugin
                                        to start play music type in terminal

                     mocp
                                                                 
                                       then move to your music directory
                                             or were is your music location

                                       

then press Enter


 to add music to play list just move cursor to music file and
type letter         a   


and use Tab to navigate to right side 
and press Enter


to DELETE music file from list press letter    d

 to pause music or play again touch letter        p

to change Theme   type letter Sift+t or T


then press space bar

or try other themes

press letter   h   for help menu

How to boost sound level in debian 7.2 64 bit

copy and paste text below at the end 


cd /


                                                               cd /etc/

touch asound.conf


nano asound.conf


or gedit

then add text to asound.conf

for nano

or gedit 


then type in terminal 
alsamixer


then 

them move PRE-AMP  arrow up or down
-------------------------------------------------------
-------------------------------------------------------------
 pcm.!default {
 type hw
 card 0
}
ctl.!default {
 type hw         
 card 0
}
pcm.!default {
      type plug
      slave.pcm "softvol"
  }
  pcm.softvol {
      type softvol
      slave {
          pcm "dmix"
      }
      control {
          name "Pre-Amp"
          card 0
      }
      min_dB -30.0
      max_dB 30.0
      resolution 6
  }

-----------------------------------------------------------------------------
the end

wordpress problem with plugin updates

                                                           changing permissions will solve the problem                                    ...