Saturday, April 7, 2018

Ubuntu 18.04 LTS - Bionic Beaver - necessary installations

Wifi driver installation for HP Laptop:
lspci | egrep -i --color 'network|ethernet'

Simple steps for wifi driver installation
sudo apt update
sudo apt install git dkms
git clone https://github.com/smlinux/rtl8723de.git -b 4.11-up
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
sudo depmod -a

Uget - free downloader for Ubuntu:
sudo apt-add-repository ppa:plushuang-tw/uget-stable
sudo apt-get update
sudo apt-get install uget aria2

VLC - free media player:
sudo add-apt-repository ppa:videolan/master-daily
sudo apt update
sudo apt install vlc qtwayland5
sudo apt install libavcodec-extra

Sticky notes:
sudo add-apt-repository ppa:umang/indicator-stickynotes
sudo apt-get update
sudo apt-get install indicator-stickynotes

Pinguy builder:
Download it from here: https://sourceforge.net/projects/pinguy-os/files/ISO_Builder/pinguybuilder_18.4-1_all-alpha.deb/download
Once downloaded ‘CD’ to the folder where it is and run:
sudo dpkg -i pinguybuilder_18.4-1_all-alpha.deb
sudo apt-get install -f

Audacity installation:
add-apt-repository ppa:ubuntuhandbook1/audacity
apt update && sudo apt install audacity

Saturday, March 31, 2018

Google Chrome web browser on Ubuntu 18.04 Bionic Beaver Linux

Simple 4 steps to install Google Chrome in Bionic Beaver.
Follow the below four steps to install Google Chrome in Ubuntu 18.04 LTS Bionic Beaver Linux
1. $ sudo apt install gdebi-core
2. $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
3. $ sudo gdebi google-chrome-stable_current_amd64.deb
4. $ google-chrome

Sunday, December 24, 2017

Necessary apps for Linux mint 18.1 Xfce

Necessary apps for Linux mint 18.1 Xfce
1. VLC player
$sudo apt-get install vlc
2. Flareget - download manager
https://flareget.com/download
3. Ultracopier
$sudo apt-get install ultracopier
4. Virtual box
$sudo apt update
$sudo apt install virtualbox
$sudo apt install virtualbox-qt

5. Google chrome
http://winaero.com/blog/install-google-chrome-linux-mint-18/
6. Audacity - audio editor
$sudo apt-get install audacity
7. Pinguy builder - for imaging the customized iso of installed system.
8. Test disk - command line data recovery app
$sudo apt-get install testdisk
9. Openshot - video editor
$sudo apt-get install openshot
10. gedit text editiot
$sudo apt-get install gedit
11. Wine
$sudo apt-get install wine*

Monday, September 25, 2017

Peroidic table of Linux Distros

Thursday, August 10, 2017

3 Simple steps to install VLC in Linux Mint 18.2

Follow the below steps to install VLC in Linux Mint 18.2

$sudo add-apt-repository ppa:videolan/stable-daily
$sudo apt-get update
$sudo apt-get install vlc

DNS configuration history in RHEL 5

   18  rpm -qa |bind
   19  rpm -qa |grep bind
   20  rpm -ivh bind-9.3.3-7.el5.i386.rpm 
   21  rpm -ivh bind-devel-9.3.3-7.el5.i386.rpm 
   22  rpm -ivh bind-libbind-devel-9.3.3-7.el5.i386.rpm 
   23  rpm -ivh bind-libs-9.3.3-7.el5.i386.rpm 
   24  rpm -ivh |grep bind
   25  rpm -qa |grep bind
   26  rpm -ivh bind-libbind-devel-9.3.3-7.el5.i386.rpm 
   27  rpm -ivh bind-libs-9.3.3-7.el5.i386.rpm 
   28  cd /var/named/chroot/var/named/
   32  rpm -qa |grep bind
   33  rpm -ivh bind-sdb-9.3.3-7.el5.i386.rpm 
   36  cd /var/named/chroot/
   42  ls named .conf
   43  ls named.conf
   44  service xinetd status
   45  cd /var/named/chroot/var/named/
   46  ls
   47  service iptables stop
   48  service iptables save
   49  setenforce 0
   50  ls
   57  ifconfig 
   58  ping 172.24.0.1
   59  chcon -R -t samba_share_t /data
   71  rpm -ivh caching-nameserver-9.3.3-7.el5.i386.rpm 
   72  cd /var/named/chroot/var/named/
   73  ls
   74  vi /var/named/chroot/etc/
   75  cd /var/named/chroot/etc/
   76  ls
   77  vi named.caching-nameserver.conf 
   78  ls
   79  cd /var/named/chroot/var/named/
   80  ls
   81  cp localdomain.zone for.example.com
   82  cp named.local rev.example.com
   83  chown root:named for.example.com
   84  chown root:named rev.example.com
   85  vi /etc/resolv.conf 
   86  vi /etc/hosts
   87  vi /etc/sysconfig/network-scripts/ifcfg-eth0 
   88  cd /var/named/chroot/etc
   89  cp named.caching-nameserver.conf named.conf
   90  chown root:named named.conf
   91  vi named.conf
   92  ls
   93  vi named.rfc1912.zones 
   94  cd /var/named/chroot/var/named/
   95  ls
   96  vi for.example.com 
   97  vi named.rfc1912.zones 
   98  vi rev.example.com 
   99  service named restart
  100  chkconfig named on
  101  dig -x 172.24.0.254

Linux Notes

Stages

#ps -ef | grep init
#rpm -qa |grep -i system-config-kickstart
#which init
Power on -> BIOS (RAM,kb,mouse,storage,etc)-> bootable media (MBR 512 bytes --bootcode stage1 grub)-->grub stage 1.5 -> menu -> select OS
#ls -ltr

stage 2 init process
#ps -ef |grep -i mingetty
power on -> bios ->mbr -grub(stage1)->grub (stage1.5)-> grub(stage2)->init->/etc/inittab->sets up the appropriate runlevel
#cd /etc/rc.d
#ls -ltr
bios -> grub -> init ->

Rescue environment

hda,sda = hd0, hda1,sda1 = hd0,0 first hard drive, first partition
linux partitions won't be found in the case of /etc/fstab is deleted
mkdir /mnt/sysimage
mount /dev/sda2  /mnt/sysimage/ #/dev/sda2 should be /
cd /mnt/sysimage

echo $? 0 means the previous command is executed correctly

seq 5 5 20  # start number increment and limitation