Wednesday, November 30, 2016

How to install Debian Server on computer in easy steps



How to install Debian Server on computer in easy steps : -


  1. First Download Debian Server following URL -:
          and Write the CD

  1. Start your system and insert the debian installation CD and boot the system

  1. Display the Installer boot menu select the install / graphical install and press Enter button

  1. Choose your Language ( English ), Press Enter button

  1. Then select the Location ( India ) and Press Enter button

  1. Choose your a keyboard layout, press enter button

  1. Then check the installation CD, Network Configuration, DHCP, Hardware Components.
     

  2. After 8 to 10 minutes, Display the “Configure Network Box” Type your Host Name (e. g. Server / pravin1 ) Press Continue button

  1. Next step, Type your Domain name and press continue button

  1. Next option for hard disk partition. You have four option here:-
    Guided – Use entire disk
    Guided – Use entire disk and set up LVM
    Guided – Use entire disk and set up encrypted LVM
    Manual
          Select “Guided – Use entire disk” and press Enter button

  1. Next Select disk you partition now And press Enter Button

  1. There are three options on computer screen
         All files in one partition ( recommended for new users )
        Separate /home partition
        Separate /home, /user, /var, and /tmp partitions

           Select First option and Enter button press

  1. Then automatically create partitions and Display the two option :-
          Undo change to partitions
         Finish partitioning and write change to disk

         Select the Second option and press Enter button

  1. Write the change to disks? Yes or No
          Select “Yes” and press Enter

  1. Then Automatically partitions formated and Base system Installed on your PC.

  1. Next Type your Root password and retype your the password click the continue button

  1. Type your Full name for the new user and press Continue

  1. Then type your PC Username / Ste your Password / retype your password and press Continue Button.

  1. Display “ Configure the package manger ” on your PC. Select the mirror country and press Enter key

  1. Then select the mirror on location and press Enter button

  1. Set your “HTTP proxy information (blank for none)” the following field empty and press Continue button

  2. Updating now Apt its packages database an your system

  1. Participate in the package usage survey? Yes or No
    Select “ No

  2. Display the Software selection. Choose software to install your system and press Continue


  3. Automatically Install software on your PC

  4. Then Install the GURB boot loader to the master boot record? YES or NO
    Select YES
     

  1. Last the Finish the Installation ( Installation complete ) Press Continue.

  1. Restart the Computer


  2. And Enjoy the Debian Server and Desktop Edition on your system





How to upgrade from PHP Version 5.5.9 to 5.6.28 on Ubuntu 14.04

How to upgrade from PHP Version 5.5.9 to 5.6.28

Today we learn 
How to Upgrade from php5.5.9 to php5.6.28 on ubuntu 14.04

Open the Terminal
First you need to remove php5.5.9 from your desktop or laptop
Run this command

:~$  sudo apt-get autoremove php5

then you need to add php5.6 repository to your source file
Type following command

:~$  sudo add-apt-repository ppa:ondrej/php

Next run update command 

:~$  sudo apt-get update

Next install php5.6 version and all dependency file

:~$  sudo apt-get install php5.6 php5.6-mysql php5.6-mbstring libapache2-mod-php5.6 php5.6-curl php5.6-gd php5.6-mcrypt php5.6-xml

Next step Disable Apache mode php5

:~$  sudo a2dismod php5

Then enable php5.6 

:~$  sudo a2enmod php5.6

Last step restart apache server

:~$  sudo /etc/init.d/apache2 restart

and check php version by using following command

:~$  php -v

ubuntu@ubuntu:~$ php -v
PHP 5.6.28-1+deb.sury.org~trusty+1 (cli)

Enjoy....
Any problem please comment me.