Ubuntu’s Installation Made Easy For Beginners !

Posted by

Modern day internet traffic struggle and contingency lead to mix-match of steps and procedures for installation of daily used software and tools. The confusion between flavors and versions of Linux with compatibility factor of tools has led to emerging number of failure and success probability of installation. So to beat this hurdle, we decided to show up with some easy and non-complex steps for installing tools like MySQL Server, Eclipse, MongoDB, Java, and others in Ubuntu 14.0 and 16.04 LTS/NON-LTS.

INSTALLING JAVA IN UBUNTU 14/16.04( JDK LATEST)

  • sudo apt-get update       ….(Command used to update your pre-defined system’s tech)
  • sudo apt-get install openjdk-8-jdk         ….(Install latest java version)
  • java –version    ….(Check version of java )
  • javac filename.java      ….(Running a java application step 1)
  • java filename        ….( step 2)

PYTHON AND C/C++ IN UBUNTU 14/16.04

  • Being pre-installed in Ubuntu packages, python and c/c++ can be directly run on the terminal using below listed commands :
  • For python :   $python filename.py
  • Version check : $python –version
  • Version check : $gcc –version
  • For C/C++:     $gcc filename.c      ……..(For ‘C’ programs)
  • $g++ filename.cpp        ………(For ‘C++’ programs)
  • After above step, $./a.out is used for compilation for C/C++ programs.

INSTALLING MongoDB IN UBUNTU 14/16.04

  • $sudo apt-get install mongodb       ………(Install the package)
  • $sudo apt-get update
  • $sudo service mongodb start          ……(Start MongoDB service)
  • $mongo                               ……..(Start Mongo Db shell)

INSTALLING MySQL SERVER IN UBUNTU 14/16.04

  • $sudo apt-get update
  • $sudo apt-get install mysql-server       ….(Install MySQL latest server)
  • $sudo mysql secure installation        …(Helps you set the username and password for access)
  • $mysql -u root -p           …(Command used to login in MySQL shell)
  • password – ****

OTHER ESSENTIALS REQUIRED FOR BEGINNERS USING UBUNTU WORKSTATION

  • $sudo apt-get install vlc    ….(Media player in Ubuntu )
  • $sudo apt-get upgrade    ……(All already installed software will get upgraded)
  • Procedure of installing PlayOnLinux in Ubuntu (PlayOnLinux is used for installing Microsoft office in Ubuntu)
  • $sudo apt-get install playonlinux
  • Install wine by typing command: $sudo apt-get install wine
  • Then copy offcie10.iso file to computer
  • Extract the file
  • Go to playonlinux and give path of extracted office setup.exe file to install

BASIC LINUX COMMANDS

  • ls [option]   -list files
  • cp [options] sourcefile targetfile  – Use to copy files from source to target
  • mv [options] sourcefile targetfile – Copies source file to target file then delete the original source file
  • rm [options] file(s) – removes/deletes the filename provided in front of it
  • rmdir [options] filename – Remove directory with the options provided ( Best ‘rm -r path/filename)
  • cd  – changes the current working directory
  • pwd – prints the current working directory
  • mkdir [options] directoryname – creates a new directory
  • chown [options] username.groupfile(s) – Use to change ownership
  • chmod [options] -change the access permissions . Mode parameters -User, group, others
  • tar [options] [archieve files] – The tar puts one file or (usually) several files into an archive. Compression is optional.
  • cat [options] file(s)  – the cat command displays the contents of a file, printing the entire contents to the screen without interruption.
  • grep [option (s)] searchstring filenames – The grep command finds a specific search string in the specified file(s). If the search string is found, the command displays the line in which the search string was found along with the file name.
  • [……………………………….] there are many more commands which can be explored from the below-listed links :
  1.  For more info about basic Linux, commands click here.
  2. Fifty most frequently used Linux commands can be found here.
  3. Few of the most used Linux commands can be found here.

FOR DOWNLOADING THE PDF OF ABOVE INSTALLATION STEPS click here

 

Advertisements

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s