Free Web Site - Free Web Space and Site Hosting - Web Hosting - Internet Store and Ecommerce Solution Provider - High Speed Internet
Search the Web

Learn Ubuntu with Mir

Mir's Home Learn Ubuntu About Mir Baloch History Guest Book Blog



Linux (Learning)

Linux Learinig ( if you have Know Some thing about Linux Please Share it with Us)

 



How to Make A Printer Server Using Ubuntu 6.06?

First You Install Cups in your Printer Server Machine than in a Terminal

gedit /etc/cups/cups.d/browse.conf

this command opens a Configuration of cusp Browse file
Change these Line on it
Browsing off
to
Browsing on
After this open this file to edit these lines on it
gedit /etc/cups/cups.d/ports.conf
this command opens a Configuration of cusp Ports file
Change the Line
Listen localhost : 631
to
Listen 631
After these Restart your Cups type this in a Terminal
sudo /etc/init.d/cupsys start
In Client Side Machine
Than go system Administration Printing Global Settings Cack the Detact Lan Printers

How to Recover Your HDD Drive Data When the System is Crashed?

First You Connect the Hdd as a Slave Drive than in a Terminal
Sudo mount hdb
After Mounting Slave Drive than in a Terminal
sudo fdisk -l /dev/hda

That will show the HDD Drives that are Present in Your Mashine after this in a Terminal
sudo mkdir /mnt/mir
That will make a mir's Name Directory in Your MNT Directory
sudo mount /dev/hdb1 /mnt/mir
this will Copy the your data in MNT/MIR Folder
sudo umount /mnt/Mir
this will Unmount the Slave HDD Drive that is Slave.

How to Share Folder in Ubuntu?
Make a Folder in Your Desktop after making a folder Right Click on Folder and Select Share Folder Prompt for Password Give Your Root Password after that a Window Appear in Linux two ways for Share a Folder
  1. SAMBA
  1. NFS
Select the samba the Downloading of the Samba will Start after Downloading the Samba Give the Share Folder Name and Give theComments And Tick the Allow Browsing .
For Making a Windows User to Access Your Shared Folder, Now type these in a Terminal
sudo smbpasswd -a username
Give the Your UserName Password and Set a New Password.

To type urdu in openoffice in ubuntu 6.06

Installing urdu font ( nafeesWebNaskh )

Download this file: http://www.crulp.org/Downloads/NafeesWeb.ttf

In a terminal type:
gksudo nautilus /usr/share/fonts
A folder would open with a lot of font files in it. Copy and paste the above downloaded file in to this folder. Now type this command:
sudo fc-cache -f -v

Installing Urdu keyboard and keyboard applet

Download the keyboard "ur.txt" from http://www.crulp.org/Downloads/ur.txt
Double click the downloaded file to open it. Select and copy all the text in this file.
Issue this command

gksudo gedit /etc/X11/xkb/symbols/pk

This will open a file in gedit. Select and delete all the text in the file. Now paste all the text we copied from ur.txt to this file. Save and close this file.
Now go to System->Preference->Keyboard. Under the layout tab click on add button and chose pakistan from the left column and press Ok.
To easily switch between keyboards please add an applet to your task bar. This can be done by right clicking on task bar and selecting “add to panel. In the utilities section choose keyboard indicator and press “Add.
To type in urdu in openoffice. Open openoffice writer and from the fonts choose “nafees web naksh and from the keyboard indicator choose urdu. Now you can type in urdu in openoffice or any other uni code supported software.


How install google Earth in Ubuntu

Step 1:
Go to http://earth.google.com/download-earth.html and choose Linux then click on Download Google Earth

Step 2:
Save it on Your Home Folder

Step 3:
Open up a terminal and go to the directory where you downloaded the file

Enter the following command:
$ sudo sh ./GoogleEarthLinux.bin

The installation will start and you’ll be asked to accept the license.

Then you can choose where to install it in the system, by default it chooses the /opt/ directory:

How Install Google Earth in Fedor Core 6

To install Google Earth, open a terminal and become root:

Step 1:
First You Login As Root
Then run
cd /home/mir/Desktop

Step 2:
After Open Desktop Folder
Downloade the Google Earth
wget http://dl.google.com/earth/GE4/GoogleEarthLinux.bin

Step 3:

After Downloading Complete Run this Command to Begin Installation of Google Earth
# sh GoogleEarthLinux.bin