AdvancedHowTo

Differences between revisions 1 and 18 (spanning 17 versions)
Revision 1 as of 2013-12-23 18:38:53
Size: 6268
Editor: vidin-112-108
Comment:
Revision 18 as of 2016-02-27 03:10:18
Size: 8931
Editor: localhost
Comment: I added Korean page link in the language table
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
<<BR>>
||<tablestyle="float:right; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<BR>> <<TableOfContents>>||
<<BR>>
|| [[https://wiki.ubuntu.com/UbuntuGNOME/HowTo/AdvancedHowTo/Greek| Ελληνικά]] || [[https://wiki.ubuntu.com/UbuntuGNOME/HowTo/AdvancedHowTo/Korean| 한국어]] ||
<<BR>>
||<tablestyle="width: 25%; margin: 5px 0;" style="border: none; border-radius: 10px; background-color: #d5e5ff; font-size: 0.90em;" :> '''Quick Links''' <<BR>> [[https://wiki.ubuntu.com/UbuntuGNOME/FAQ | FAQs]] <<BR>> [[https://wiki.ubuntu.com/UbuntuGNOME/HowTo | Basic HOWTOs]] <<BR>> [[https://wiki.ubuntu.com/UbuntuGNOME/HowTo/AdvancedHowTo | Advanced HOWTOs]] ||
<<BR>>
||<tablestyle="width: 40%; margin: 5px 0;" style="border: none; border-radius: 10px; background-color: #b9defa; font-size: 0.90em;" :> Go Back to '''[[https://wiki.ubuntu.com/UbuntuGNOME/HowTo | Basic HOWTOs]] Page''' ||
Line 4: Line 12:
||<tablestyle="float:right; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Table of Contents'''<<BR>> <<TableOfContents>>||
Line 20: Line 26:
  * [[http://manpages.ubuntu.com/manpages/utopic/en/man1/mkdir.1.html | mkdir man-pages]]
Line 26: Line 33:
  * [[http://manpages.ubuntu.com/manpages/utopic/en/man8/mount.8.html | mount man-pages]]
Line 49: Line 57:
  * [[http://manpages.ubuntu.com/manpages/utopic/en/man8/umount.8.html | umount man-pages]]
Line 53: Line 63:
== Change File Permissions ==   * [[http://manpages.ubuntu.com/manpages/utopic/en/man8/mkdosfs.8.html | mkdosfs man-pages]]

== File Management ==

=== Change file permissions ===
Line 55: Line 69:
=== Via the GUI === ==== Via the GUI ====
Line 57: Line 71:
=== Via Terminal === ==== Via Terminal ====
Line 63: Line 77:
  * [[http://manpages.ubuntu.com/manpages/utopic/en/man1/cd.1posix.html | cd man-pages]]
Line 67: Line 82:
where ### are replaced with the appropriate permissions for your needs.   * (Where '''###''' are replaced with the appropriate permissions for your needs.)
  * [[http://manpages.ubuntu.com/manpages/utopic/en/man1/chmod.1posix.html | chmod man-pages]]
Line 69: Line 85:
== User Account Management ==
If you are planning on having multiple users to use the operating system, it's a good idea to have several accounts. This can be accomplished by using the GUI or '''Terminal''' with equal effectiveness.
== Networking ==
There are many ways to connect to the internet in UbuntuGNOME. In the Network Settings, you can connect to wireless and wired connections as well as VPN and proxy services.
=== Via the GUI ===
==== Wired ====
Most of the time wired internet connects automatically, but if it doesn't...
Line 72: Line 91:
=== Create or remove a user account via the GUI ===
To add a user accout:
 * Open '''System Settings''' from the shell, and click '''User Accounts'''.
 * Then, click '''Unlock''' in the upper right-hand corner, and enter your `root` password.
 * User accounts can be added using the '''+''' button in the lower left-hand corner.
To remove a user account:
 * Select the user account you want to remove and click on the '''-''' (minus) button in the lower left-hand corner.
=== Create or remove a user account via Terminal ===
To add a user account, run the following commands with appropriate information:
 * {{{sudo adduser -d /home/newuser/ -m newuser}}}
 * {{{sudo passwd newuser}}}
 * ''The password you want the user to have''
 * ''The same password again.''
This would create a new account with the name `newuser`, and a home directory at `/home/newuser`. For more information on setting different parameters to your user account (e.g. root privilegies) visit [[http://manpages.ubuntu.com/manpages/saucy/man8/adduser.8.html | this]] page.
 1. Click the network icon in the upper right-hand corner of the monitor.
 1. Turn on the '''Wired''' switch.
==== Wireless ====
To connect to a wireless network...
Line 87: Line 96:
You can also create a user account by running the following command:  1. Click on the network icon in the upper right-hand corner of the monitor.
 1. Select the router you would like to connect to.
Line 89: Line 99:
 * {{{sudo useradd -c "newuser" -m -s "/bin/bash" newuser}}} If the network you are on has stringent security measures, and you can't connect to your router as described above...
Line 91: Line 101:
For more information about advanced parameters of the `useradd` command visit [[http://manpages.ubuntu.com/manpages/saucy/en/man8/useradd.8.html | this]] page.  1. Select '''Network Setting'''.
 1. Click the arrow to the right of the router you want to connect to.
 1. Click '''Settings''' in the bottom right-hand corner.
Line 93: Line 105:
To remove a user account, run the following command:
 * {{{sudo userdel newuser}}}
This will remove the user account `newuser` from your operating system, but will not delete its `home` directory. If you want to keep the files of `newuser`, that’s good, but if you want to delete both the user account and the `home` directory, run the following command:
 * {{{sudo userdel -r newuser}}}
This screen will allow you to change all settings so that they match the systems in use. If you don't know what settings to choose, and the defaults don't work, contact your network administrator.
==== VPN ====
To create a VPN connection...

 1. Click on the network icon in the upper right-hand corner of the monitor and select '''Network Settings'''.
 1. Click the '''+''' in the bottom left of the '''Network Settings''' window.
 1. Select '''VPN''' from the drop-down list and click '''Create'''.
 1. Select the protocol you wish to use.
 1. Enter all the relevant settings for your VPN service. Use '''Advanced...''' button where necessary.
==== Proxy ====
To connect to a proxy server...

 1. Click on the network icon in the upper right-hand corner of the monitor and select '''Network Settings'''.
 1. Select '''Network Settings'''.
 1. Select '''Network Proxy''' from the left-hand menu.
 1. Configure your connection.
  * Select '''Automatic''', and provide your '''Configuration URL'''.
  * Select '''Manual''', and enter all your relevant information.

== Partitioning ==
Partitioning can be daunting at first, but isn't all that complicated once you understand some basic concepts and requirements.
=== Mount Points ===
All non-[[https://en.wikipedia.org/wiki/Swap_memory#Linux | swap]] partitions have a mountpoint. This is the folder that is mapped to it. All that needs to be done to give any folder on a system its own partition is to make a partition and assign it '''/folder/name''' as its mountpoint.
=== Required Partitions ===
All that's needed to have a functional Ubuntu GNOME installation is a '''/''' partition.
=== Common Optional Partitions ===
 * /boot
  * Required size of 2GB
  * Holds files essential to booting Ubuntu GNOME.
 * /root
  * Size is unimportant, but is usually 2GB+
 * /home
  * Holds all users' data. Should be allocated liberally, and depending on how many data files you'll have.
 * /bin
  * Holds all program files. Should be allocated liberally, and depending on how many programs you plan to install.

= Feedback =
If you couldn't find what you were looking for on this section and/or you would like to help our team and/or add your own HOWTO, please '''[[https://wiki.ubuntu.com/UbuntuGNOME/ContactUs | Contact Us]]''' and we will be very glad to listen to/read your feedback :)





Go Back to Basic HOWTOs Page

Ubuntu GNOME Advanced Howto

Wiki Specific

  1. Howto Get Involved with the Ubuntu GNOME Team.

  2. Howto Get the Best out of the Ubuntu GNOME Wiki Area.

  3. Howto Create a Wiki Page.

Device Management

Mount a USB flash drive via Terminal

Via the graphical user inteface of Ubuntu GNOME you can easily mount and then use a USB flash drive by plugging it in one of your computer's USB ports. In some special cases this task can be done throughout the command-line (via Terminal).

First of all, you need to create a mount point for the device (a directory where the device will be mounted). To create a new directory, run the following command:

You can change Label with the name you want your mounted device to appear in the /media folder. It is recommended not to use spaces, because things get complicated. In order to separate words, spaces can be substituted with a underscore.

To mount the device, run the following command:

Where sdb1 stands for the plugged in the USB port device. But what does actually sdb1 mean?

  • hda – the first installed IDE device (hard disk drive)

  • hda1 – the first partition of the hda device

  • hda2 – the second partition of the hda device, etc.

  • hdb – the second installed IDE device (hard disk drive)

  • hdb1 – the first partition of the hdb device, etc.

  • sda – the first installed SCSI device (SATA hard disk drive or USB flash drive)

  • sda1 – the first partition of the sda device, etc.

If you have only one SCSI device installed (SATA hard disk drive), its generated name is probably sda and your Ubuntu GNOME working partition is sda1. When you insert a USB flash drive in the USB port of your computer (e.g. it is another SCSI device), its name will be sdb and its working partition's name will be sdb1. If you add one more USB flash drive its names will be sdc for the device and sdc1 for its working partition respectively.

Unmount a USB flash drive via Terminal

To unmount a USB flash drive via Terminal, run the following command:

Format a USB flash drive via Terminal

Most USB flash drives are formatted under the FAT32 filesystem. To format a USB flash drive in FAT32 via Terminal run the following command:

File Management

Change file permissions

When you start compiling source code, or even downloading .JAR files that you want to execute, you will need to learn to change file permissions. File permissions simply tell your computer who is allowed to do what to a certain file or folder in the file system. To learn more about permissions have a read on Wikipedia.

Via the GUI

For most beginner users, changing permissions via the graphics user interface (GUI) is the easiest. To do this, simply right click on the file whose permissions you want to change, and switch to the Permissions tab. From here, you can change individual users', groups', and others' read and write permissions, as well as allow the execution of the file as a program.

Via Terminal

In order to proceed, you will need to have an adequate understanding of both symbolic and numeric permissions notations. There is an in depth but brief explanation of this on Wikipedia.

To change file permissions via Terminal, first navigate to your target by running:

Then,

  • sudo chmod 0### yourfile.extension

    • (Where ### are replaced with the appropriate permissions for your needs.)

    • chmod man-pages

Networking

There are many ways to connect to the internet in UbuntuGNOME. In the Network Settings, you can connect to wireless and wired connections as well as VPN and proxy services.

Via the GUI

Wired

Most of the time wired internet connects automatically, but if it doesn't...

  1. Click the network icon in the upper right-hand corner of the monitor.
  2. Turn on the Wired switch.

Wireless

To connect to a wireless network...

  1. Click on the network icon in the upper right-hand corner of the monitor.
  2. Select the router you would like to connect to.

If the network you are on has stringent security measures, and you can't connect to your router as described above...

  1. Select Network Setting.

  2. Click the arrow to the right of the router you want to connect to.
  3. Click Settings in the bottom right-hand corner.

This screen will allow you to change all settings so that they match the systems in use. If you don't know what settings to choose, and the defaults don't work, contact your network administrator.

VPN

To create a VPN connection...

  1. Click on the network icon in the upper right-hand corner of the monitor and select Network Settings.

  2. Click the + in the bottom left of the Network Settings window.

  3. Select VPN from the drop-down list and click Create.

  4. Select the protocol you wish to use.
  5. Enter all the relevant settings for your VPN service. Use Advanced... button where necessary.

Proxy

To connect to a proxy server...

  1. Click on the network icon in the upper right-hand corner of the monitor and select Network Settings.

  2. Select Network Settings.

  3. Select Network Proxy from the left-hand menu.

  4. Configure your connection.
    • Select Automatic, and provide your Configuration URL.

    • Select Manual, and enter all your relevant information.

Partitioning

Partitioning can be daunting at first, but isn't all that complicated once you understand some basic concepts and requirements.

Mount Points

All non-swap partitions have a mountpoint. This is the folder that is mapped to it. All that needs to be done to give any folder on a system its own partition is to make a partition and assign it /folder/name as its mountpoint.

Required Partitions

All that's needed to have a functional Ubuntu GNOME installation is a / partition.

Common Optional Partitions

  • /boot
    • Required size of 2GB
    • Holds files essential to booting Ubuntu GNOME.
  • /root
    • Size is unimportant, but is usually 2GB+
  • /home
    • Holds all users' data. Should be allocated liberally, and depending on how many data files you'll have.
  • /bin
    • Holds all program files. Should be allocated liberally, and depending on how many programs you plan to install.

Feedback

If you couldn't find what you were looking for on this section and/or you would like to help our team and/or add your own HOWTO, please Contact Us and we will be very glad to listen to/read your feedback Smile :)

UbuntuGNOME/HowTo/AdvancedHowTo (last edited 2016-02-27 03:10:18 by localhost)