Actions

Difference between revisions of "Upgrading Ubuntu Server Orac"

From zen2

(RAID / RAID5)
(Ubuntu 16.04 after rebuild)
Line 42: Line 42:
 
Then added  
 
Then added  
 
<pre>
 
<pre>
/dev/md0 /home/xx/data ext4 defaults 0 2
+
/dev/md0 /media/raid ext4 defaults 0 2
/dev/sdc1 /home/xx/video           ext4    defaults        0      2
+
/dev/sdc1 /media/nonraid           ext4    defaults        0      2
 
</pre>  
 
</pre>  
 
to /etc/fstab
 
to /etc/fstab

Revision as of 08:25, 12 March 2017

Screen / Monitor Resolution

-First problem after installing nvidia driver was 640x480 resolution. Eventually fixed this with

sudo displayconfig-gtk

and changing the screen to LCD 1024x768. Prior to this I installed envyng-gtk to get the latest nvidia driver, but I probably didn't need to.

VMware Server

Installed VMware server with serial

VMware Server 2 for Linux 	A0425-FF72N-U3436-4CPCX

RAID / RAID5

First tried using evms as used previously to create/maintain the RAID. This broke everything, and I had to remove/uninstall theis from the root prompt on the recovery console.

Successfully recreated the RAID installing and using mdadm

sudo mdadm --assemble --scan

This will attempt to locate any existing RAIDs Then added

/dev/md0	/home/n2o/data ext3 defaults	0	2
/dev/sdc1 /home/n2o/data/tera           ext3    defaults        0       2

to /etc/fstab (adding in the 1TB hard drive while I am at it)

In 10.04 I created a new RAID5 array. In order to get it to mount after a reboot (and adding it to fstab) I had to do the following

sudo mdadm --examine --scan --config=mdadm.conf >> mdadm.conf

Ubuntu 16.04 after rebuild

Just did

sudo apt-get install mdadm
sudo mdadm --assemble --scan

Then added

/dev/md0 /media/raid ext4 defaults	0	2
/dev/sdc1 /media/nonraid           ext4    defaults        0       2

to /etc/fstab

Samba

Hardy is a bit different to previous versions for sharing folders.

sudo apt-get install samba smbfs

Don't really need smbfs, but what the heck).

Create the users for the system, add them to user group user (not necessary, but could make things easier in the future). Use the following user IDs for each user to pick up the previous permissions

  • 1001 chris
  • 1002 mina
  • 1003 bener
  • 1004 mark
  • 1005 almina

Add these users to samba

sudo smbpasswd -a chris

for each user.

In 10.04 I also had to add the following in /etc/samba/smb.conf

follow symlinks = yes
wide links = yes
unix extensions = no

Tuning