User:Misterhaan/Basic Ubuntu Setup

From auWiki
Jump to: navigation, search

this is pretty straighforward — simply boot the cd and it will load up ubuntu for you. launch the install shortcut that’s on the desktop to actually install ubuntu to your hard drive. it should be fairly easy to decide what options to choose (there aren't all that many choices!), so mostly do what seems right to you. i need to set specific user ids for my users to match up with my server, so when prompted to create a user i create tempuser with password tempuser.

after the system reboots, it will probably have some updates it wants to install but before that i want to create my users and group(s) to match my server. this is done largely the same way as described in the linux server setup, except admin users here should also be part of some additional groups (use with -G in either useradd or usermod). when logged in as tempuser, run the groups command in terminal to get the list of groups (ignore the tempuser group). remember to remove tempuser once the other users have been created. once logged in with another user, install all the updates, but don’t restart quite yet.

prevent the update window from popping up (you'll get an icon in the notification area instead) with this command:

[code]gconftool -s --type bool /apps/update-notifier/auto_launch false[/code]

skip the confirmation dialog when shutting down / restarting with this command:

[code]gconftool -s --type bool /apps/indicator-session/suppress_logout_restart_shutdown true[/code]

if you use something other than /home/ as your home directory (i do because i mount my server’s home directory there) you need to fix apparmor so evince (pdf viewer) will run. edit [code]/etc/apparmor.d/tunables/home[/code] as root and change [code]@{HOMEDIRS}=/home/[/code] to use whatever directory you’re using as a home directory. to apply the change, restart apparmor (or reboot):

[code]sudo /etc/init.d/apparmor restart[/code]