UBUNTU Mini-Workhorse May 9, 2009
Posted by ModelR in Everything LINUX.Tags: Linux, Ubuntu
trackback
We are now going to make an Ubuntu Mini installation, just for random use. This is a minimal customized Ubuntu
Install Ubuntu Jeos as detailed here
Check for updates after the install is complete
$ sudo apt-get update && sudo apt-get upgrade
Install VMware tools and such as described here
Install gnome customized and minimal
$ sudo aptitude install x-window-system-core gnome-core gdm firefox synaptic xubuntu-system-tools gnome-app-install
Then install a nice desktop theme
Use the Synaptic Package Manager to install wine so you can run windows programs
Use the Synaptic Package Manager to install Deluge – It’s a torrent program that looks similar to uTorrent
Now we need the ability to mount NTFS partitions
For the guide to do this check here
install NTFS-3G
$ sudo apt-get install ntfs-3g
Find out where the NTFS disk that you have attached is located
$ sudo fdisk -l
ex. /dev/sda1 1 1044 8385898+ 7 HPFS/NTFS
make a backup of fstab file in the /etc directory
$ sudo cp /etc/fstab /etc/fstab.bak
check where the NTFS volume is currently mounted
$ cat /etc/fstab
the output might look like this:
/dev/sda1 /media/sda1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
Edit the fstab file to use NTFS-3G
/dev/sda1 /media/sda1 ntfs-3g defaults,nls=utf8,umask=007,gid=46 0 1
If the fstab file did not contain the /dev/sda1 line
Create a directory under /media call it what you like ex. windows
$ sudo mkdir /media/windows
Edit the fstab file and add this
/dev/sda1 /media/windows ntfs-3g defaults,nls=utf8,umask=007,gid=46 0 1
Restart the computer. When it restarts you should have the drive mounted and linked on the desktop
—————————–
install samba
$ sudo apt-get install samba
navigate to the samba folder and make a backup copy of the samba config file
$ cd /etc/samba
$ sudo cp smb.conf smb.conf.template
edit the samba config file to look like the one found here
To share the Windows NTFS Disk add this to the the samba config file:
[Windows Disk]
path = /media/windows
comment = NTFS Windows Disk
browseable = yes
read only = no
create mask = 0700
valid users = %U
add your user as a samba user and enable it
$ sudo smbpasswd -L -a your_username
$ sudo smbpasswd -L -e your_username
restart samba
$ /etc/init.d/samba restart
You can also install conky as described in Ubuntu 9.04 Maxxed Out



Comments»
No comments yet — be the first.