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 :- https://fosscommunity.wordpress.com/ubuntu-for-humanity/

Useful Sites for Linux and Tutorials;————

1) http://iris.nyit.edu/~tzhang/EENG-755.htm ( Networks)

http://iris.nyit.edu/~tzhang/CSCI-310.htm ( C & Unix)

http://iris.nyit.edu/~tzhang/CSCI-310/code/

2) http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html

3) http://www.advancedlinuxprogramming.com/

4) Nikto — Web Server Vulnerability Scanner cirt.net/Nikto2

5) http://www.linuxcommand.org/

6) distrowatch.com All Linux Distros

7) http://meetthegimp.org/ GIMP Tutorial

8)

we tried and implemented many distributions, we found ubuntu really

U— Universal
B– Brotherhood
U— Universal
N—Neutral/New
T— Technology
U—-Ubuntu

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

Ubuntu Documentation (https://help.ubuntu.com/) > Ubuntu 9.10 (https://help.ubuntu.com/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 (https://help.ubuntu.com/9.10/serverguide/C/introduction-chap.html) Support (https://help.ubuntu.com/9.10/serverguide/C/ubuntu-support.html)

2. Installation (https://help.ubuntu.com/9.10/serverguide/C/installation.html) Preparing to Install (https://help.ubuntu.com/9.10/serverguide/C/preparing-to-install.html)
Installing from CD (https://help.ubuntu.com/9.10/serverguide/C/installing-from-cd.html)
pgrading (https://help.ubuntu.com/9.10/serverguide/C/installing-upgrading.html)
Advanced Installation (https://help.ubuntu.com/9.10/serverguide/C/advanced-installation.html)

3. Package Management (https://help.ubuntu.com/9.10/serverguide/C/package-management.html) Introduction (https://help.ubuntu.com/9.10/serverguide/C/package-management-introduction.html)
dpkg (https://help.ubuntu.com/9.10/serverguide/C/dpkg.html)
Apt-Get (https://help.ubuntu.com/9.10/serverguide/C/apt-get.html)
Aptitude (https://help.ubuntu.com/9.10/serverguide/C/aptitude.html)
Automatic Updates (https://help.ubuntu.com/9.10/serverguide/C/automatic-updates.html)
Configuration (https://help.ubuntu.com/9.10/serverguide/C/configuration.html) References (https://help.ubuntu.com/9.10/serverguide/C/package-management-references.html)

4. Networking (https://help.ubuntu.com/9.10/serverguide/C/networking.html) Network Configuration (https://help.ubuntu.com/9.10/serverguide/C/network-configuration.html) TCP/IP (https://help.ubuntu.com/9.10/serverguide/C/tcpip.html) Dynamic Host Configuration Protocol (DHCP) (https://help.ubuntu.com/9.10/serverguide/C/dhcp.html) Time Synchronisation with NTP (https://help.ubuntu.com/9.10/serverguide/C/NTP.html)

5. Remote Administration (https://help.ubuntu.com/9.10/serverguide/C/remote-administration.html) OpenSSH Server (https://help.ubuntu.com/9.10/serverguide/C/openssh-server.html) eBox (https://help.ubuntu.com/9.10/serverguide/C/ebox.html)

6. Network Authentication (https://help.ubuntu.com/9.10/serverguide/C/network-authentication.html) OpenLDAP Server (https://help.ubuntu.com/9.10/serverguide/C/openldap-server.html) Samba and LDAP (https://help.ubuntu.com/9.10/serverguide/C/samba-ldap.html) Kerberos (https://help.ubuntu.com/9.10/serverguide/C/kerberos.html) Kerberos and LDAP (https://help.ubuntu.com/9.10/serverguide/C/kerberos-ldap.html)

7. Domain Name Service (DNS) (https://help.ubuntu.com/9.10/serverguide/C/dns.html) Installation (https://help.ubuntu.com/9.10/serverguide/C/dns-installation.html) Configuration (https://help.ubuntu.com/9.10/serverguide/C/dns-configuration.html) Troubleshooting (https://help.ubuntu.com/9.10/serverguide/C/dns-troubleshooting.html) References (https://help.ubuntu.com/9.10/serverguide/C/dns-references.html)

8. Security (https://help.ubuntu.com/9.10/serverguide/C/security.html) User Management (https://help.ubuntu.com/9.10/serverguide/C/user-management.html) Console Security (https://help.ubuntu.com/9.10/serverguide/C/console-security.html) Firewall (https://help.ubuntu.com/9.10/serverguide/C/firewall.html) AppArmor (https://help.ubuntu.com/9.10/serverguide/C/apparmor.html) Certificates (https://help.ubuntu.com/9.10/serverguide/C/certificates-and-security.html) eCryptfs (https://help.ubuntu.com/9.10/serverguide/C/ecryptfs.html)

9. Monitoring (https://help.ubuntu.com/9.10/serverguide/C/monitoring.html) Overview (https://help.ubuntu.com/9.10/serverguide/C/monitoring-overview.html) Nagios (https://help.ubuntu.com/9.10/serverguide/C/nagios.html) Munin (https://help.ubuntu.com/9.10/serverguide/C/munin.html)

10. Web Servers (https://help.ubuntu.com/9.10/serverguide/C/web-servers.html) HTTPD – Apache2 Web Server (https://help.ubuntu.com/9.10/serverguide/C/httpd.html)
PHP5 – Scripting Language (https://help.ubuntu.com/9.10/serverguide/C/php5.html) Squid – Proxy Server (https://help.ubuntu.com/9.10/serverguide/C/squid.html) Ruby on Rails (https://help.ubuntu.com/9.10/serverguide/C/ruby-on-rails.html) Apache Tomcat (https://help.ubuntu.com/9.10/serverguide/C/tomcat.html)

11. Databases (https://help.ubuntu.com/9.10/serverguide/C/databases.html) MySQL (https://help.ubuntu.com/9.10/serverguide/C/mysql.html) PostgreSQL (https://help.ubuntu.com/9.10/serverguide/C/postgresql.html)

12. LAMP Applications (https://help.ubuntu.com/9.10/serverguide/C/lamp-applications.html) Overview (https://help.ubuntu.com/9.10/serverguide/C/lamp-overview.html) Moin Moin (https://help.ubuntu.com/9.10/serverguide/C/moinmoin.html) MediaWiki (https://help.ubuntu.com/9.10/serverguide/C/mediawiki.html) phpMyAdmin (https://help.ubuntu.com/9.10/serverguide/C/phpmyadmin.html)

13. File Servers (https://help.ubuntu.com/9.10/serverguide/C/file-servers.html) FTP Server (https://help.ubuntu.com/9.10/serverguide/C/ftp-server.html) Network File System (NFS) (https://help.ubuntu.com/9.10/serverguide/C/network-file-system.html) CUPS – Print Server (https://help.ubuntu.com/9.10/serverguide/C/cups.html)

14. Email Services (https://help.ubuntu.com/9.10/serverguide/C/email-services.html) Postfix (https://help.ubuntu.com/9.10/serverguide/C/postfix.html) Exim4 (https://help.ubuntu.com/9.10/serverguide/C/exim4.html) Dovecot Server (https://help.ubuntu.com/9.10/serverguide/C/dovecot-server.html) Mailman (https://help.ubuntu.com/9.10/serverguide/C/mailman.html) Mail Filtering (https://help.ubuntu.com/9.10/serverguide/C/mail-filtering.html)

15. Chat Applications (https://help.ubuntu.com/9.10/serverguide/C/chat-servers.html) Overview (https://help.ubuntu.com/9.10/serverguide/C/chat-overview.html) IRC Server (https://help.ubuntu.com/9.10/serverguide/C/irc-server.html) Jabber Instant Messaging Server (https://help.ubuntu.com/9.10/serverguide/C/jabberd2-server.html)

16. Version Control System (https://help.ubuntu.com/9.10/serverguide/C/version-control-system.html) Bazaar (https://help.ubuntu.com/9.10/serverguide/C/bazaar.html) Subversion (https://help.ubuntu.com/9.10/serverguide/C/subversion.html) CVS Server (https://help.ubuntu.com/9.10/serverguide/C/cvs-server.html) References (https://help.ubuntu.com/9.10/serverguide/C/version-control-ref.html)

17. Windows Networking (https://help.ubuntu.com/9.10/serverguide/C/windows-networking.html) Introduction (https://help.ubuntu.com/9.10/serverguide/C/windows-networking-introduction.html) Samba File Server (https://help.ubuntu.com/9.10/serverguide/C/samba-fileserver.html) Samba Print Server (https://help.ubuntu.com/9.10/serverguide/C/samba-printserver.html) Securing a Samba File and Print Server (https://help.ubuntu.com/9.10/serverguide/C/samba-fileprint-security.html) Samba as a Domain Controller (https://help.ubuntu.com/9.10/serverguide/C/samba-dc.html) Samba Active Directory Integration (https://help.ubuntu.com/9.10/serverguide/C/samba-ad-integration.html) Likewise Open (https://help.ubuntu.com/9.10/serverguide/C/likewise-open.html)

18. Backups (https://help.ubuntu.com/9.10/serverguide/C/backups.html) Shell Scripts (https://help.ubuntu.com/9.10/serverguide/C/backup-shellscripts.html) Archive Rotation (https://help.ubuntu.com/9.10/serverguide/C/backups-shellscripts-rotation.html) Bacula (https://help.ubuntu.com/9.10/serverguide/C/bacula.html)

19. Virtualization (https://help.ubuntu.com/9.10/serverguide/C/virtualization.html) libvirt (https://help.ubuntu.com/9.10/serverguide/C/libvirt.html) JeOS and vmbuilder (https://help.ubuntu.com/9.10/serverguide/C/jeos-and-vmbuilder.html)
Eucalyptus (https://help.ubuntu.com/9.10/serverguide/C/eucalyptus.html) OpenNebula (https://help.ubuntu.com/9.10/serverguide/C/opennebula.html)

20. Clustering (https://help.ubuntu.com/9.10/serverguide/C/clustering.html) DRBD (https://help.ubuntu.com/9.10/serverguide/C/drbd.html)

21. VPN (https://help.ubuntu.com/9.10/serverguide/C/vpn.html) OpenVPN (https://help.ubuntu.com/9.10/serverguide/C/openvpn.html)

22. Other Useful Applications (https://help.ubuntu.com/9.10/serverguide/C/other-useful-applications.html) Update MOTD (https://help.ubuntu.com/9.10/serverguide/C/update-motd.html) etckeeper (https://help.ubuntu.com/9.10/serverguide/C/etckeeper.html) Screen Profiles (https://help.ubuntu.com/9.10/serverguide/C/screen-profiles.html) References (https://help.ubuntu.com/9.10/serverguide/C/other-app-references.html)
* Recommended Minimum Requirements
(https://help.ubuntu.com/9.10/serverguide/C/preparing-to-install.html#id3065784)
Access Methods (https://help.ubuntu.com/9.10/serverguide/C/subversion.html#id3125706)

_____________________________________________________________________________

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

____________________________________________________________________________

Here is the Tutorials & Tips Dedicated to Ubuntu Operating System
Courtesy – http://ubuntuforums.org/

* 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

Steps:-
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
or
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:
Code:

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:
Code:

guest:$1$2TUdk8Z0$tb2Fn6Idgo8dq9EgYv4xZ0:13721:0:99999:7:::

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

guest:U6aMy0wojraho:13721:0:99999:7:::

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).

reboot

__________________________________________________________________________

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
____________________________________________________________________

5)

One Response

  1. HOW TO INSTALL YUM IN REDHAT LINUX
    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

    [server]
    baseurl=ftp://127.0.0.1/yum
    gpgcheck=0

    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:

WordPress.com Logo

You are commenting using your WordPress.com 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: