IT Community - Software Programming, Web Development and Technical Support

Ubuntu Linux

This is a discussion on Ubuntu Linux within the Operating Systems forums, part of the Computer Hardware/Software and Networking category; In my college days i was searched for a Linux operating system which is lighter and can be used for ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Computer Hardware/Software and Networking > Operating Systems

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 02:22 AM
prasannavigneshr prasannavigneshr is offline
D-Web Incredible
 
Join Date: Feb 2007
Posts: 1,321
prasannavigneshr is on a distinguished road
Send a message via MSN to prasannavigneshr
Smile Ubuntu Linux

In my college days i was searched for a Linux operating system which is lighter and can be used for a home PC, to play music, DVD, videos, Documentation and gaming uses..

I found UBUNTU Linux 1.0. The UBUNTU has been shipped for free of cost to whom every requested in their website. I registered for 100 CD's. They Shipped those CD's to my college. I tried UBUNTU its wounder full and very lighter OS i ever seen. And i am using UBUNTU for a long.

The current Version of UBUNTU is 7.10.

I just want to share some of the tips and tricks of UBUNTU Linux in this community..
__________________
Prasanna Vignesh
MCPD | Web Developer

Last edited by prasannavigneshr : 02-28-2008 at 02:41 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-28-2008, 02:28 AM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default Re: Ubuntu Linux

Yes prasanna,
Ubuntu Just Rocks and even used in many of the govt offices
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 02:40 AM
prasannavigneshr prasannavigneshr is offline
D-Web Incredible
 
Join Date: Feb 2007
Posts: 1,321
prasannavigneshr is on a distinguished road
Send a message via MSN to prasannavigneshr
Default Ubuntu Linux

Hi Suresh,

Yes you are right, The Ubuntu releases its Server Operating system, which is more stable then any other server operating system. Today in government sectors the usage of Ubuntu Linux Server increases..

Its an healthy thing for the Open Source Community...
__________________
Prasanna Vignesh
MCPD | Web Developer
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-28-2008, 02:47 AM
prasannavigneshr prasannavigneshr is offline
D-Web Incredible
 
Join Date: Feb 2007
Posts: 1,321
prasannavigneshr is on a distinguished road
Send a message via MSN to prasannavigneshr
Default Ubuntu Linux

Add "Open with gedit" menu..


The file browser in Ubuntu provides the ability to run scripts on a selected file. These scripts can be used to do anything from opening a file to zipping or uploading, or anything that you can do from the command line.

To start off, we will need to open a terminal window and type in the following command, which will create a new script file in our nautilus scripts directory

Code:
gedit ~/.gnome2/nautilus-scripts/Open\ with\ gedit
Paste in the following script, found on the G-Scripts site, which is a great resource for finding scripts.

Code:
#!/bin/bash
#
# Nautilus script -> open gedit
#
# Owner : Largey Patrick from Switzerland
#     patrick.largey@nazeman.org
# www.nazeman.org
#
# Licence : GNU GPL
#
# Copyright (C) Nazeman
#
# Ver. 0.9-1 Date: 16.02.2002
# Add multiple file open in the same windows
#
# Ver: 0.9  Date: 27.10.2001
# Initial release
#
# Dependence : Nautilus (of course)
#   Gnome-utils (gdialog)
#
filesall=""
while [ $# -gt 0 ]
do
files=`echo "$1″ | sed 's/ /\?/g'`
filesall="$files $filesall"
shift
done
gedit $filesall&
Save and close the gedit window, and then execute the following command to make the script executable:

Code:
chmod u+x ~/.gnome2/nautilus-scripts/Open\ with\ gedit
Note that tab completion really helps here =)

Now when you right click a file, you should see this:



hope useful...
__________________
Prasanna Vignesh
MCPD | Web Developer
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-28-2008, 02:58 AM
prasannavigneshr prasannavigneshr is offline
D-Web Incredible
 
Join Date: Feb 2007
Posts: 1,321
prasannavigneshr is on a distinguished road
Send a message via MSN to prasannavigneshr
Default Ubuntu Linux

Add a User on Ubuntu Server


Ubuntu Server is like any Linux variety, and has full multi-user capabilities, and a common task on any server is adding users.

useradd

The useradd command will let you add a new user easily from the command line:

Code:
useradd <username>
This command adds the user, but without any extra options your user won't have a password or a home directory.

You can use the -d option to set the home directory for the user. The -m option will force useradd to create the home directory. We'll try creating a user account with those options, and then use the passwd command to set the password for the account. You can alternatively set a password using -p on the useradd command, but I prefer to set the password using passwd.

Code:
    sudo useradd -d /home/testuser -m testuser

    sudo passwd testuser
This will create the user named testuser and give them their own home directory in /home/testuser. The files in the new home directory are copied from the /etc/skel folder, which contains default home directory files. If you wanted to set default values for your users, you would do so by modifying or adding files in that directory. If we take a look at the new home directory for the user:

Code:
vignesh@ubuntuServ:/etc/skel$ ls -la /home/testuser
total 20
drwxr-xr-x 2 testuser testuser 4096 2006-12-15 11:34 .
drwxr-xr-x 5 root root 4096 2006-12-15 11:37 ..
-rw-r–r– 1 testuser testuser 220 2006-12-15 11:34 .bash_logout
-rw-r–r– 1 testuser testuser 414 2006-12-15 11:34 .bash_profile
-rw-r–r– 1 testuser testuser 2227 2006-12-15 11:34 .bashrc
You'll notice that there are bash scripts in this directory. If you wanted to set default path options for all new users, you would do so by modifying the files in /etc/skel, which would then be used to create these files by the useradd command.

adduser

The adduser command is even easier than the useradd command, because it prompts you for each piece of information. I find it slightly funny that there are two virtually identically named commands that do the same thing, but that's linux for you. Here's the syntax:

Code:
adduser <username>
Example:

Code:
vignesh@ubuntuServ:/etc/skel$ sudo adduser vignesh
Password:
Adding user `vignesh'…
Adding new group `vignesh' (1004).
Adding new user `vignesh' (1004) with group `vignesh'.
Creating home directory `/home/vignesh'.
Copying files from `/etc/skel'
Enter new UNIX password:
Retype new UNIX password:
No password supplied
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for vignesh
Enter the new value, or press ENTER for the default
Full Name []: vignesh
Room Number []: 0
Work Phone []: 555-1212
Home Phone []: 555-1212
Other []:
Is the information correct? [y/N] y
__________________
Prasanna Vignesh
MCPD | Web Developer
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-28-2008, 09:45 PM
prasannavigneshr prasannavigneshr is offline
D-Web Incredible
 
Join Date: Feb 2007
Posts: 1,321
prasannavigneshr is on a distinguished road
Send a message via MSN to prasannavigneshr
Default Ubuntu Linux

Add Trash Can Icon in Desktop


Ubuntu has an option for adding a Trash Can icon to the desktop, which might be a comfort for those of you migrating from Windows.

Just type gconf-editor into the Alt+F2 run dialog to open the Gnome Configuration Editor.



Now browse down to the following key:
Code:
    apps \ nautilus \ desktop

On the right hand side, you'll see an entry called trash_icon_visible. Just check the box. You can also change the trash_icon_name if you'd like.


And there's the icon.
__________________
Prasanna Vignesh
MCPD | Web Developer
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-28-2008, 10:19 PM
prasannavigneshr prasannavigneshr is offline
D-Web Incredible
 
Join Date: Feb 2007
Posts: 1,321
prasannavigneshr is on a distinguished road
Send a message via MSN to prasannavigneshr
Default Ubuntu Linux

Adding Repositories on Ubuntu


Repositories on Ubuntu are the locations that you can download software from. As a general rule, the default repositories don't contain the right locations for most software packages that you'll want to install. You will want to open up the /etc/apt/sources.list file, find and uncomment the following lines

Code:
   deb http://us.archive.ubuntu.com/ubuntu dapper universe main restricted universe

    deb http://security.ubuntu.com/ubuntu dapper-security universe
Note that if you are using a different version than Dapper Drake (6.06), you will probably see a different name there, something like breezy or edgy.

Once you are done adding the repositories, you'll need to run this command:

Code:
  sudo apt-get update
__________________
Prasanna Vignesh
MCPD | Web Developer
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-28-2008, 10:24 PM
prasannavigneshr prasannavigneshr is offline
D-Web Incredible
 
Join Date: Feb 2007
Posts: 1,321
prasannavigneshr is on a distinguished road
Send a message via MSN to prasannavigneshr
Default Re: Ubuntu Linux

Add Remote Desktop Preference to you UBUNTU Desktop


Enabling remote desktop mode is extremely easy on Ubuntu since Dapper. You can allow other users to access your desktop using the VNC Viewer utility that is bundled with Ubuntu, or offered as a free download for Windows.

Note that enabling remote control of your desktop is never a safe thing to do unless you have a firewall installed and configured correctly, and even then is still a potential security problem. Now that you've been warned of the risks, let's move on.

Navigate to the System \ Preferences \ Remote Desktop on the Gnome top menu.

You'll see this window:


The first two checkboxes need to be checked in order for remote desktop to be enabled.

The Security section is important: If you select the "Ask you for confirmation" code, then you will need to be at the computer in order to allow the other person to access your desktop. If you are trying to remotely access one of your own computers, you will want to uncheck this box.

The second checkbox should always be checked, and you should enter a secure password. You will be prompted for this password when you try to log on.
__________________
Prasanna Vignesh
MCPD | Web Developer
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get IE for linux? shaalini Operating Systems 4 03-28-2008 10:42 PM
How to install Linux in my PC? $enthil Operating Systems 1 01-09-2008 10:17 PM
How to make BSNL Dial up connection from Ubuntu JSureshkumar Operating Systems 2 08-18-2007 04:43 AM
Linux installers swoosh The Lounge 0 03-14-2007 10:14 PM
Linux anyone? drecko The Lounge 8 03-08-2007 08:00 PM


All times are GMT -7. The time now is 01:48 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0