Posts

Showing posts from 2015

Terms you often see in Ubuntu

Today's blog will be on Terms which we  often see while using Ubuntu but we usually ignore them as they are not of our use and doesn't bother us with anything. Terms which will be discussed today will be: purge saucy yannubuntu IGN HIT GET PPA launchpad i386 amd64 x86_64 Backports Purge , purge is a package that is used to remove applications completely and removing all the instances of it. We can do that by using one of the following commmands: > sudo apt-get purge > sudo apt-get --purge remove Whether they should or shouldn't both exist is perhaps a debating point. However - they are absolutely identical. You can also check that by going through the man page of apt-get. Saucy is basically Saucy Salamander who provides two images for ubuntu where one is the desktop version, the desktop image allows you to try Ubuntu without changing your computer at all, and at your option to install it permanently later. Second is the server image, t

Directory Sturucture of Linux

Hello Readers, This blog was supposed to be on Web Development but is on Directory Structure of Linux because of a user request. Today we'll be looking deep down in the hierarchy of Linux Directories. First let's list all the directories which are present in a Linux based Operating System. Few of the directories varies from system to system which we'll not discuss like lost+found and few more. So lets look at the basic and required directories. This Hierarchy is formed under FileSystem Hierarchy Standards (F.H.S.). In total we'll discuss a total of 16 Directories which are as follows: /bin /boot /dev /etc /home /lib /media /mnt /opt /sbin /srv /tmp /usr /var /root /proc These are the 16 directories which are present in the most important directory .i.e ' / ' which is the root directory not the one mentioned above this ' / ' directory contains all the directories mentioned above. Now talking the directories mentioned above:-:  

Installing and Uninstalling packages from source

Hello Readers, Today I'll tell you about installing packages in Ubuntu using the config file and the .tar of the package. Firstly we'll extract that .tar file which consists of the files required to install the package.            ***************run the commands via sudoers**************** There are 2 main files in the archive where first is the config file and second is the make.in file. The config file is the file which consists of all the configuration required for the package, it checks for the preliminary packages which are required and the version whether they are updated to the latest or not and other prerequisites required for installation. To run the configure file you first need to move to that directory. Let's say you are installing a GLIB package which is placed in the download directory  > cd Downloads/glib-2.43.4  > ./configure with the ./configure command, the config file of glib will execute and will check for all the required

Hacking Password in Ubuntu

Image
Today the blog is on how to hack the password or let's say resetting the password of any user you want. In Ubuntu resetting user password is so easy but if that is the case then you'll be thinking that if it's so easy then how come Ubuntu is more secure then Windows. The thing is in Windows I'll definitely say it's little complicated but in windows, you can reset the password of admin along with other users but in case of Ubuntu you can reset the password of users only but cannot do that with the root user and without root, you cannot perform most of the functions like installing new packages and most other things. So now putting theory aside let's begin with the practical. First of all, let me tell you that there are total of 3 methods to reset the password but this blog will tell you only 1 of them, which has a 100% success rate so why bother with the other 2. Let's Begin:: Hold shift during boot to start the GRUB menu. Press the 'e&

Compiling latest kernel in Ubuntu from Source

First of all let's see what kernel is and what it is for. Kernel is basically a computer program which takes instructions or I/O (Input/Output) Signal from software and processes them into data processing instruction for CPU and other electronic devices. Kernel code contains all set of instructions and is programmed mostly in C language. It contains all the instruction from copy & paste to reading system architecture. The Kernel code must contain all the C code and the Object files in order to be compiled successfully. You can download kernel code from here . '>' this states that you have to type the adjust command in terminal. Ex: >whoami This command will display your username. >uname -r This command will display current version of your kernel, to see all system details along with arch. use -a option instead of -r. Q.Why you should update your kernel? Ans. Kernel update is not mandatory but recommended as what all you get from the update is

Installing Ubuntu

Image
Installing Ubuntu to your system can be harmful if you do not get through the basics first so recommended is that you first install Ubuntu in Virtual Machine to get passed through the basic errors first and install it on Dual Boot or as your single control Operating System. Requirement: A System passing the minimum requirements Requirements vary from Environment to Environment. Ubuntu Server CLI  300 MHz x86 processor 192 MiB of system memory (RAM) 1 GB of disk space Graphics card and monitor capable of 640x480 CD Drive Ubuntu Desktop Environment 700 MHz processor 512 MiB RAM 5 GB of hard-drive space VGA capable of 1024x768 screen resolution Ubuntu Installation version ISO file you can get the iso from this link http://www.ubuntu.com/download Any Installation Media USB stick CD/DVD Floppy Drive  Ubuntu installation in Virtual Machine can be done by you, here I'll tell you about the basic terminologies which you must know and mus

Getting Through Ubuntu & Windows Boot Loader

Ubuntu is a Debian based Operating System and is Open Source whereas on the other hand Windows being Closed Source. Bootloader contains the set of instructions which loads an Operating System or some other System Software. Windows bootloader named NTLDR shorted for NT LoaDeR where NT is the series of Operating Systems by Windows. Windows NT is a family of OS by Microsoft where it's first version being Windows NT 3.1 and the latest version is Windows 10 Technical Preview and Windows 10 release is on 29th of July 2015. Ubuntu bootloader is Grub2 since 9.10 (karmic koala), all the earlier versions of Ubuntu uses Grub. What actually happens when you install Ubuntu and Windows in dual boot is:   Suppose you have Windows Installed on your system and then you try to Install Ubuntu in it in Dual Boot mode. So what actually happens in the NTLDR is pre-written and when you are installing Ubuntu the Grub2 or Grub bootloader depending upon which version you are using writes over N

Moving to Open Source OS

Image
Discovering about Open Source vs Closed Source, now we'll be heading towards OS and again the distinguishing points will be focusing on Open vs Closed Source. Many of the Operating Systems available in the market are Windows, Mac OS and Linux and are further distributed into many depending upon their Versions and  Flavors  few of them are mentioned below. Windows Windows XP Windows 7 Windows 8.1 Linux Ubuntu RHEL CENT OS Mac OS X OS X 10.8 (Mountain Lion) OS X 10.9 (Mavericks) OS X 10.11 (El Captian) Most of them are already known to you.      So now we have two categories for OS and those are Open Source OS Linux Closed Source OS Mac OS X Windows Here is some data analysis of market share of each OS done by Net Applications People in terms of Desktop OS are more attracted to Windows as compared to any other OS but talking of Developers they are more focused  on Linux and when moving to the world of Mobile devices more than 48% of t

Open vs Closed Source

Image
This is the first post of this blog which helps users to know more about Open Source and how they are more preferable over Closed Source with these points covering the basic aspects of Open Source vs Closed Source. Ubuntu is Open Source operating system and I guess you know about basic differences between open source and closed source and if not then here are some of them. Open Source Software Open Source Software have their Source code available Open Source Software are generally free of cost but not always There is a big misconception that open source software are free always but no, they are not. Sometimes the developer may charge some fee for accessing or using an open source software.  Open Source Software prevents vendor locking as all users have equal rights to the software and no priorities are set to it. Open Source Software are great for developers to start with.  More then regular updates as huge number of developer are contributing to it. Open and