LINUX & UBUNTU – (Tutorials and Tips Here)

LINUX & UBUNTU-For Humanity ( Tutorials and Tips Here)–

Dedicated to FOSS Community

For Ubuntu Linux OS and Tutorials pls visit :-

Useful Sites for Linux and Tutorials;————

1) ( Networks) ( C & Unix)



4) Nikto — Web Server Vulnerability Scanner


6) All Linux Distros

7) GIMP Tutorial


we tried and implemented many distributions, we found ubuntu really

U— Universal
B– Brotherhood
U— Universal
T— Technology

East or West Ubuntu is the Best (—cheers….

Ubuntu Documentation ( > Ubuntu 9.10 ( >

Ubuntu Server Guide

Welcome to the Ubuntu Server Guide! It contains information on how to install and configure various server applications on your Ubuntu system to fit your needs. It is a step-by-step, task-oriented guide for configuring and customizing your system.

Table of Contents

1. Introduction ( Support (

2. Installation ( Preparing to Install (
Installing from CD (
pgrading (
Advanced Installation (

3. Package Management ( Introduction (
dpkg (
Apt-Get (
Aptitude (
Automatic Updates (
Configuration ( References (

4. Networking ( Network Configuration ( TCP/IP ( Dynamic Host Configuration Protocol (DHCP) ( Time Synchronisation with NTP (

5. Remote Administration ( OpenSSH Server ( eBox (

6. Network Authentication ( OpenLDAP Server ( Samba and LDAP ( Kerberos ( Kerberos and LDAP (

7. Domain Name Service (DNS) ( Installation ( Configuration ( Troubleshooting ( References (

8. Security ( User Management ( Console Security ( Firewall ( AppArmor ( Certificates ( eCryptfs (

9. Monitoring ( Overview ( Nagios ( Munin (

10. Web Servers ( HTTPD – Apache2 Web Server (
PHP5 – Scripting Language ( Squid – Proxy Server ( Ruby on Rails ( Apache Tomcat (

11. Databases ( MySQL ( PostgreSQL (

12. LAMP Applications ( Overview ( Moin Moin ( MediaWiki ( phpMyAdmin (

13. File Servers ( FTP Server ( Network File System (NFS) ( CUPS – Print Server (

14. Email Services ( Postfix ( Exim4 ( Dovecot Server ( Mailman ( Mail Filtering (

15. Chat Applications ( Overview ( IRC Server ( Jabber Instant Messaging Server (

16. Version Control System ( Bazaar ( Subversion ( CVS Server ( References (

17. Windows Networking ( Introduction ( Samba File Server ( Samba Print Server ( Securing a Samba File and Print Server ( Samba as a Domain Controller ( Samba Active Directory Integration ( Likewise Open (

18. Backups ( Shell Scripts ( Archive Rotation ( Bacula (

19. Virtualization ( libvirt ( JeOS and vmbuilder (
Eucalyptus ( OpenNebula (

20. Clustering ( DRBD (

21. VPN ( OpenVPN (

22. Other Useful Applications ( Update MOTD ( etckeeper ( Screen Profiles ( References (
* Recommended Minimum Requirements
Access Methods (


Next Vision— To Deploy in All Schools and Colleges….


Here is the Tutorials & Tips Dedicated to Ubuntu Operating System
Courtesy –

* sudo apt-get install gnome-panel for gnome in ubuntu 12.04

1. Recover Password/ Reset root and sudo Password incase if user forgot , no ned to reinstall

i) Boot press shift or esc key to go to grub menu
ii) on normal kernel press e to edit
iii) on the last write single and try b to boot or reboot
on the last write – rw init=/bin/bash
then b for boot
iv) u get prompt #passwd

for root passwd typr #passwd root
and reboot and cheers

* For ubuntu 12.04
Reset Your Forgotten Password in Ubuntu 12.04
a) To get started, power on your Ubuntu computer while holding down the Shift Key on your keyboard. At the boot menu (GRUB) select (Recovery Mode)

b) Then scroll down to root and press Enter.

c) Next, run the commands below to remount root

mount -rw -o remount /

d) passwd username

or a) use live cd
b) mount /dev/sda1 /mntpnt
c) chroot /mntpnt
d) passwd username

or another tutorial from ubuntu forums

This is an oft-requested task, mainly for people who don’t want to require less tech-savvy family members to have to remember passwords. It is a security risk, but I think people should at least know how to put their computers at risk if they want to. Don’t blame me if anything bad happens.

Step 1
Make sure you have created a user. For the sake of this example, let’s say you called the account username guest. You can give it any temporary password you want. We’re going to change that password shortly anyway. I’m assuming you know how to do this already. If you don’t, I can assure you that this HowTo is not one you should be following, and you would be very likely to screw up the next step.

Step 2
Next, go to the terminal and paste in this command:

sudo nano -B /etc/shadow

This will open the /etc/shadow file (the one that contains all the passwords) in a text editor called Nano.

Once you have it open, find the appropriate line for the account in question. It’ll look something like this:


Change the second part (in bold here) to match this second part (also in bold):


Then save the file (Control-X, Y, Enter).

Now you should be able to log into the guest (or whatever you called it) account without entering a password.





Installing Broadcom Wireless Drivers


What are the steps to install Broadcom wireless drivers for a BCM43xx card?

lspci -vnn | grep Network showed:

Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b]

iwconfig showed:

lo        no wireless extensions. eth0      no wireless extensions.

[ optional]     Uninstall the bcmwl-kernel-source package by issuing the following command on a terminal:

[ optional]  sudo apt-get remove bcmwl-kernel-source

make sure that the firmware-b43-installer and the b43-fwcutter packages are installed (of course you will need internet by others means):

sudo apt-get install firmware-b43-installer b43-fwcutter

type into terminal:

cat /etc/modprobe.d/* | egrep ‘bcm’

(you may want to copy this) and see if the term ‘blacklist bcm43xx’ is there

if it is, type cd /etc/modprobe.d/ and then sudo gedit blacklist.conf

put a # in front of the line: blacklist bcm43xx

then save the file (I was getting error messages in the terminal about not being able to save, but it actually did save properly).



2) To use any DataCards on Ubuntu for Internet
$ sudo apt-get install wvdial

i) run these a) lsusb b) modprobe c)wvdial

ii) modprobe usbserial vendor =0x0eab product =0x9357
(check— $ lsusb for it)

iii) open editor for the file /etc/wvdial.conf and enter the following line save and cheers…

[Dialer Defaults]
Init1 = ATZ
Init2 = ATE0V1
Stupid Mode = Yes
Modem Type = Analog Modem
Baud = 115200
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
Phone = “#777” // this is for dialing e.g for reliance
Password =
Username =

* To avoid modprobe everytime system boots write a simple script i.e on a simple text file and save it by any name say internet , make it executable by chmod +x internet and save this file in /usr/bin or in /bin after that just run internet ( it will work like custom command) enjoy….
#! /bin/bash
echo pwd | sudo -S modprobe usbserial vendor =0x0eab product = 0x9357
echo pwd | sudo -S wvdial

// where pwd is your sudo password

3) For drivers -: Run $ jockey-gtk


4) Update or Migrate Ubunu from old version to new version , issue of the multiple softwares installed need to install again here is the tip from ubuntu forum

1) dpkg –get-selections > ~/my-packages

2) sudo dpkg –set-selections < ~/my-packages && sudo apt-get dselect-upgrade

* It will install all the packages from repository and not which were installed manually
Also do sudo cp /etc/apt/sources.list ~/sources.list.backup


One Response

    1. Insert RedHat Linux (RHEL) CDROM/DVD.
    2. Open Terminal Window.
    3. Change directory to root:
    #cd /
    4. Mount CDROM:
    #mount /dec/cdrom mnt
    5. Check Mounted CDROM Status:
    #ls /mnt [you can see same files those are available in CDROM]
    6. Create FTP folder:
    #rpm -ivh vsftpd… [….. means press Tab to get full file name]
    #rpm -ivh create… [….. means press Tab to get full file name]
    7. Creating yum directory in ftp folder:
    #mkdir /var/ftp/yum
    8. Change Directory to Server: [Here S is in capital letter]
    #cd /mnt/Server
    9. Copy all rpm files from mount drive’s Server folder to yum:
    #cp -v /mnt/Server/*.rpm /var/ftp/yum
    10. Creating Repository:
    #createrepo -v /var/ftp/yum
    11. Restart ftp Service:
    #service vsftpd restart
    12. Always On ftp Service:
    #chkconfig vsftpd on
    13. Updating the yum Debug Information of Repository file as follow:
    #vim /etc/yum.repos.d/rhel-debuginfo.repo


    14. Clean yum Settings and Update it:
    #yum clean all
    #yum-updatesd 
    15. yum is Ready Check it’s working from following Command:
    #yum install java* [Install all java packages]
    #yum install gcc* [Install all gcc packages]

Leave a Reply

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

You are commenting using your 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

%d bloggers like this: