Ubuntu: Difference between revisions

imported>Tjkent
No edit summary
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Infobox_OS
| name                  = Ubuntu
| logo                  = [[File:Ubuntu logo.svg|Ubuntu logo|200px]]
| screenshot            = [[File:UbuntuMaverickDesktop.png|300px]]
| caption                = Ubuntu 10.10 (Maverick Meerkat)
| developer              = [[Canonical Ltd]]. / [[Ubuntu Foundation]]
| family                = [[Unix-like]]<!--- Do not add Linux or Debian here. They are not families. -->
| working_state          = Current
| source_model          = [[w:Free_and_open-source_software|Free and open source software]] (with exceptions)<ref name="fsf-kernelblobs">{{cite web |url=http://fsfla.org/svnwiki/selibre/linux-libre/ |title=Free Software Foundation Latin America |work=FSF Latin America |publisher=Free Software Foundation |accessdate=4 February 2011}}</ref><ref name="ubuntuwiki-kernelblobs">{{cite web |url=https://wiki.ubuntu.com/Kernel/Firmware |title=Kernel/Firmware |publisher=Ubuntu Project wiki |accessdate=1 March 2011}}</ref>
| released              = {{Start date|2004|10|20|df=yes}}
| latest_release_version = 10.10 (Maverick Meerkat)<!-- If you update this, remember to also update [[Comparison of Linux distributions]]. -->
| latest_release_date    = {{Start date and age|2010|10|10|df=yes}}<ref>{{cite web |url=http://www.ubuntu-news.net/2010/10/10/ubuntu-10-10-is-released/ |title=Ubuntu 10.10 is released |date=10 October 2010 |work=Ubuntu-News |accessdate=3 December 2010}}</ref>
| latest_preview_version = 11.04 (Natty Narwhal) Alpha 3
| latest_preview_date    = {{Start date and age|2011|3|3|df=yes}}<ref>{{cite web |url=http://www.ubuntu.com/testing |title=Ubuntu Testing |work=Ubuntu |publisher=Canonical |date=3 March 2011 |publisher=Ubuntu |accessdate=4 March 2011}}</ref>
| language              = Multilingual (more than 55)
| updatemodel            = [[Advanced Packaging Tool|APT]] (front-ends available)
| package_manager        = [[dpkg]] (front-ends like [[Synaptic (software)|Synaptic]] available)
| supported_platforms    = [[X86|i386]], [[X86-64|amd64]]
| kernel_type            = [[Linux kernel|Linux]] ([[Monolithic kernel|Monolithic]]-based [[Hybrid kernel|Hybrid]])
| userland              = [[GNU Core Utilities|GNU]]
| ui                    = [[GNOME]]
| license                = Mainly the [[GNU General Public License|GNU GPL]] and various free software other licenses / plus proprietary [[binary blob]]s.<ref name="fsf-kernelblobs" /><ref name="ubuntuwiki-kernelblobs" />
| website                = {{URL|www.ubuntu.com}}
}}
Below are some recommended steps to customizing Ubuntu to function at maximum efficiency, generally, and at Virginia Tech.
Below are some recommended steps to customizing Ubuntu to function at maximum efficiency, generally, and at Virginia Tech.


=Use Local Mirrors=
=Use Local Mirrors=
Virginia Tech has several [[Mirrors|local mirrors]] of Linux and other [[Free Software|Free and Open Source Software]]. Using Virginia Tech's mirrors has the main advantage of being fast.
Virginia Tech has several [[Mirrors|local mirrors]] of Linux and other [[w:Free_and_open-source_software|Free and Open Source Software]]. Using Virginia Tech's mirrors has the main advantage of being fast.
 
==Using Software Sources==
 
# Open Ubuntu Software Center (Applications &#8594; Ubuntu Software Center).
# Click the Edit menu and choose Software Sources.  This requires root privileges so you will need to enter your password.
# Uncheck everything in the "Downloadable from the Internet" section.
# Click on the Other Software tab and click the Add button.
# Paste the following line into the text box than click Add Source:
#:<code>deb <nowiki>http://mirror.cc.vt.edu/pub/ubuntu/</nowiki> maverick main restricted universe multiverse</code>
#:* Note that this assumes you are running 10.10, use the Campus Computing mirror, and want all the repositories.  Replace <code>maverick</code> with the codename for your Ubuntu version (9.10 is karmic, 10.04 is lucid, 10.10 is maverick, 11.04 is natty)  If you want the VBI mirror instead, replace <code><nowiki>http://mirror.cc.vt.edu/pub/ubuntu/</nowiki></code> with <code><nowiki>http://mirrors.vbi.vt.edu/mirrors/linux/ubuntu/</nowiki></code>.
# Click Add again and repeat the process with the following lines, entering each one individually:
#:<code>deb <nowiki>http://mirror.cc.vt.edu/pub/ubuntu/</nowiki> maverick-updates main restricted universe multiverse</code>
#:<code>deb <nowiki>http://mirror.cc.vt.edu/pub/ubuntu/</nowiki> maverick-security main restricted universe multiverse</code>
# Click Close.  Ubuntu Software Center will now update the package sources.  You can close the Software Center after this finishes (the cycling arrows in the left corner of the window will disappear when it's done.)
 
==Manually==


You will need to alter your <code>/etc/apt/sources.list</code> file. First of all, make a backup of your original. Open a terminal emulator (Applications &#8594; Accessories &#8594; Terminal) and enter the command:
You will need to alter your <code>/etc/apt/sources.list</code> file. First of all, make a backup of your original. Open a terminal emulator (Applications &#8594; Accessories &#8594; Terminal) and enter the command:
Line 29: Line 69:
</pre>
</pre>


'''IMPORTANT''': make sure that you have uncommented one of the <code>MIRROR=</code> lines.
'''IMPORTANT''': make sure that you have uncommented one of the <code>MIRROR=</code> lines. (highly suggested to use the VBI mirror as it is updated)
Next, in your terminal window, change the permissions on this file to make it executable:
Next, in your terminal window, change the permissions on this file to make it executable:


Line 49: Line 89:


=Setup VT-Wireless=
=Setup VT-Wireless=
Follow the instructions in the [[VT-Wireless]] article to get your wireless connection setup to automatically and securely connect to the campus wireless network. You'll either need to use OpenSSL from a terminal window to convert the certificate you obtain from [[CNS]] or switch from NetworkManager to Wicd, but the VT-Wireless article discusses the details of both options pretty thoroughly.
Follow the instructions in the [[VT-Wireless]] article to get your wireless connection setup to automatically and securely connect to the campus wireless network.
 
===HP Ralink RT5390===
If you have been trying to get your wireless to work and have this driver, this is what you need to do.
 
<pre>
sudo apt-get install --reinstall linux-headers-$(uname -r) build-essential dkms patch fakeroot unzip
 
wget http://media.cdn.ubuntu-de.org/forum/attachments/3208747/angepasster-2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO.zip
 
unzip angepasster-2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO.zip
 
cd angepasster-2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/
 
sudo make
 
sudo make install
 
sudo modprobe -v rt5390sta
 
sudo depmod -a
 
sudo update-initramfs -u
 
</pre>


=Setup Email=
=Setup Email=
Line 71: Line 135:
</pre>
</pre>


Reboot again, should now show up under "Restricted Drivers".
Reboot again; should now show up under "Restricted Drivers".
 
[[Category:Linux distributions]]
[[Category:Howtos]]


=Touchpad Button=
=Touchpad Button=
Line 110: Line 171:
*Note* We will only want the part AFTER the "https://" because otherwise, your WebDAV client may give you an error. I will be using Nautilus, the standard file manager in Ubuntu, seeing as this the Ubuntu section.
*Note* We will only want the part AFTER the "https://" because otherwise, your WebDAV client may give you an error. I will be using Nautilus, the standard file manager in Ubuntu, seeing as this the Ubuntu section.


Ok, now that I have set up the information here come the steps.
After you have your URL, see the [[WebDAV]] page for further instructions.
 
1) Open Nautilus and click File) -> Connect to Server...
 
2) Select "Secure WebDAV (HTTPS)" from the "service type" drop down box.
 
3) Put in your server info minus the "https://"
 
4) Put your PID in.
 
5) Add a bookmark if you'd like
 
6) Click "Connect".
 
7) Put in your Scholar password, and your done!
 
[[File:VT_Resources_Connect_to_Server_Screenshot.png]]
[[Category:Round 2 migration]]


=Automatically Mount Partitions=
=Automatically Mount Partitions=
Line 145: Line 189:
== Manually ==
== Manually ==
DISCLAIMER: USING THIS METHOD, WILL WRITE YOUR FILE SYSTEM TABLE FILE.  WHEN WRITING ON ANY SYSTEM FILE YOU CAN POTENTIALLY DAMAGE YOUR SYSTEM. USE AT OWN RISK.
DISCLAIMER: USING THIS METHOD, WILL WRITE YOUR FILE SYSTEM TABLE FILE.  WHEN WRITING ON ANY SYSTEM FILE YOU CAN POTENTIALLY DAMAGE YOUR SYSTEM. USE AT OWN RISK.
First you need to make the point in which the partition will mount
<pre>
ls /media/windows
</pre>
If a response like ls: /media/windows: No such file of directory is returned, the location is open, and that will be the one that we use.
<pre>
mkdir /media/windows
</pre>


To manually mount partitions at start up we will need to edit fstab (file system table) which is found at /etc/fstab.  When deciding which partition to mount you need to see the partitions that are currently on your hard drive.  
To manually mount partitions at start up we will need to edit fstab (file system table) which is found at /etc/fstab.  When deciding which partition to mount you need to see the partitions that are currently on your hard drive.  
Line 195: Line 248:
<pre>
<pre>
# Windows partition (Or whatever you want to call it.)
# Windows partition (Or whatever you want to call it.)
UUID=EA68C7FE68C7C791 / ntfs rw,auto,user,fmask=0111,dmask=0000 0 0
UUID=EA68C7FE68C7C791 /media/windows ntfs rw,auto,user,fmask=0111,dmask=0000 0 0
</pre>
</pre>
(The above entry is case specific, so make sure that everything matches.)
(The above entry is case specific, so make sure that everything matches.)


"UUID="(your hard drives UUID) will specify which hard drive. "/" specifies the mount point, "ntfs" specifies the filesystem. The next line is what is important.  If you want to be able to write to this partition when it is mounted, you will need to put "rw".  If for some reason you are having trouble writing to this partition you may need to download the package "ntfs-3g", however this is the set-up I have, and it works just fine.  
"UUID="(your hard drives UUID) will specify which hard drive. "/media/windows" specifies the mount point, "ntfs" specifies the filesystem. The next line is what is important.  If you want to be able to write to this partition when it is mounted, you will need to put "rw".  If for some reason you are having trouble writing to this partition you may need to download the package "ntfs-3g", however this is the set-up I have, and it works just fine.  


The line "rw,auto,user,fmask=0111,dmask=0000" will allow all users to mount, read, and edit the partition.  If you don't want this, you can use uid (for users) and gid (for groups) after dmask to determine who will be able to do that.  "dump" and "pass" are for use of native filesystems and will be set to "0", hens the "0 0" after "dmask=0000".
The line "rw,auto,user,fmask=0111,dmask=0000" will allow all users to mount, read, and edit the partition.  If you don't want this, you can use uid (for users) and gid (for groups) after dmask to determine who will be able to do that.  "dump" and "pass" are for use of native filesystems and will be set to "0", hens the "0 0" after "dmask=0000".
Line 208: Line 261:
For further information visit,
For further information visit,
https://help.ubuntu.com/community/AutomaticallyMountPartitions
https://help.ubuntu.com/community/AutomaticallyMountPartitions
=Connecting to Tech's VPN=
See the [[VPN]] page for information on connecting to the Virginia Tech VPN.
=Tweaks=
==Ubuntu Tweak==
One easy way to start tweaking ubuntu to server you in the way that you so deserve and desire is to download this program (http://ubuntu-tweak.com/).  It is pretty self explanatory. It will keep your box clean of old kernels and packages that are no longer being used and will allow you to tweak the appearance more with compiz. 
==Wallpapoz==
http://www.akbarhome.com/
This will allow you to have a different background on each workspace.  Pretty easy to use and fun to use.
[[Category:Needs restoration]]
[[Category:Software]]
[[Category:Howtos]]
[[Category:Linux Distributions]]