Difference between revisions of "SUNScholar/Install Ubuntu/S03/Disk Partitioning"

From Libopedia
Jump to navigation Jump to search
 
(60 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class="wikitable"
+
<center>
 +
'''[[SUNScholar/Install Ubuntu/S03/Install Software|NEXT - INSTALL SOFTWARE]]'''
 +
</center>
 +
===Partition Sizing===
 +
# '''<font color="red">Take careful note of partition sizing in the table below.</font>'''
 +
# Partition disks. Select '''Manual'''.
 +
 
 +
[[File:Install-ubuntu-manual-partition.png]]
 +
----
 +
<font color="red">'''<big>Please note:</big><br></font>
 +
#'''The use of separate partitions for the /home and /var folders greatly facilitates disaster recovery and system stability.'''
 +
#'''Using the /home partition for DSpace system and data files is generally accepted Unix/Linux systems administration best practice.'''
 +
#'''And one NEVER installs operational software in a top level folder on a Unix/Linux server.'''
 +
 
 +
The following partition scheme is recommended.
 +
{|class="wikitable" width="95%"
 
|-
 
|-
|width="650px"|
+
|
[[File:Install-ubuntu-manual-partition.png]]
+
/
 +
|
 +
ROOT partition, where all the system software is installed
 +
|
 +
10GB Minimum - 20GB preferred
 +
|-
 +
|
 +
n/a
 +
|
 +
SWAP partition
 +
|
 +
2x installed RAM
 +
|-
 +
|
 +
/var
 +
|
 +
VAR partition, where all the log files and database files are installed
 +
|
 +
10GB Minimum - 50GB preferred. This depends on how big your database index files get and how large the log files.
 +
|-
 +
|
 +
/home
 +
|
 +
HOME partition, where all the DSpace software files and bitstreams are stored
 +
|
 +
All the rest of the total disk capacity.
 +
|}
 +
 
 +
----
  
 +
===Example Setup for SUNScholar===
 
[[Image:Sunscholar-disk-space.png]]
 
[[Image:Sunscholar-disk-space.png]]
  
Line 11: Line 55:
 
*/dev/sda4 = '''/home''' - is the partition where the DSpace application and assetstore are located.
 
*/dev/sda4 = '''/home''' - is the partition where the DSpace application and assetstore are located.
  
[[File:Install-ubuntu-partitions.png]]
+
----
|valign="top"|
 
====Instructions====
 
* Partition setup. '''Select manual.'''
 
* '''<font color="red">Take careful note of partition sizing in [[SUNScholar/Install Ubuntu/S01|Step 1]]</font>'''
 
 
 
====Step 1. Install VirtualBox in Windows 7====
 
*http://youtu.be/XajMLO8v65w
 
 
 
====Step 2. Watch demo Ubuntu 10.04 LTS Install for DSpace using Virtualbox and "manual" partitions====
 
Download and watch the following video - 30MB - 22mins:
 
*http://web.lib.sun.ac.za/style/sunscholar/ubuntu-10.04-installation.mp4
 
 
 
Do a few test installs with Virtualvox and then move to some test installs on bare metal or VMware.
 
 
 
====Ubuntu Installation Help====
 
*https://help.ubuntu.com/10.04/serverguide/index.html
 
*http://ubuntu.sun.ac.za/wiki/index.php/Enterprise_Server_Management
 
*http://youtu.be/cC_c0JMVoBo
 
*http://youtu.be/y6oWBXF7ENk
 
 
 
====Partition Help====
 
* http://youtu.be/eSMMs4cfMqY<br>Partitioning 101
 
* http://youtu.be/bVjzt_uriwE<br>Partitioning & Installing Ubuntu Server Part 1/2
 
* http://youtu.be/VAZRomlY8CE<br>Partitioning & Installing Ubuntu Server Part 2/2
 
* http://youtu.be/Garnfv2pf2s<br>Install ubuntu server 12.04 LTS - Also applies to 10.04 LTS
 
 
 
====Virtualbox Help====
 
*https://help.ubuntu.com/community/VirtualBox
 
*https://www.virtualbox.org/wiki/Downloads
 
*http://www.psychocats.net/ubuntu/virtualbox
 
*http://youtu.be/eCyPq6rDnJE<br>Install Ubuntu Server 10.04 on VirtualBox - not to be used for DSpace!
 
 
 
<font color="red">'''Please note: The use of seperate partitions for the /home and /var folders greatly facilitates disaster recovery and system stability and is generally accepted systems administration practice for critical linux based servers.'''</font>
 
|}
 
  
'''[[SUNScholar/Install Ubuntu/S03|Back to Install Ubuntu]]'''
+
===Partitioning Help===
 +
Doing a manual partition setup can be confusing for those new to Linux. Below are some links to help.
 +
* http://ubuntuserverguide.com/2013/02/manual-disk-partition-guide-for-ubuntu-server-edition.html
 +
* http://www.ibm.com/developerworks/opensource/library/l-lpic1-v3-104-1/index.html
 +
* http://www.tecmint.com/parted-command-to-create-resize-rescue-linux-disk-partitions
 +
;YouTube video's
 +
* Partitioning 101: http://youtu.be/eSMMs4cfMqY
 +
* Partitioning & Installing Ubuntu Server Part 1/2: http://youtu.be/bVjzt_uriwE
 +
* Partitioning & Installing Ubuntu Server Part 2/2: http://youtu.be/VAZRomlY8CE
 +
* Install ubuntu server 12.04 LTS: http://youtu.be/Garnfv2pf2s

Latest revision as of 14:38, 27 March 2016

NEXT - INSTALL SOFTWARE

Partition Sizing

  1. Take careful note of partition sizing in the table below.
  2. Partition disks. Select Manual.

Install-ubuntu-manual-partition.png


Please note:

  1. The use of separate partitions for the /home and /var folders greatly facilitates disaster recovery and system stability.
  2. Using the /home partition for DSpace system and data files is generally accepted Unix/Linux systems administration best practice.
  3. And one NEVER installs operational software in a top level folder on a Unix/Linux server.

The following partition scheme is recommended.

/

ROOT partition, where all the system software is installed

10GB Minimum - 20GB preferred

n/a

SWAP partition

2x installed RAM

/var

VAR partition, where all the log files and database files are installed

10GB Minimum - 50GB preferred. This depends on how big your database index files get and how large the log files.

/home

HOME partition, where all the DSpace software files and bitstreams are stored

All the rest of the total disk capacity.


Example Setup for SUNScholar

Sunscholar-disk-space.png

  • /dev/sda1 = / - is the root/system partition.
  • /dev/sda2 = is the swap partition and is not listed.
  • /dev/sda3 = /var - is the partition where the database and log files are stored.
  • /dev/sda4 = /home - is the partition where the DSpace application and assetstore are located.

Partitioning Help

Doing a manual partition setup can be confusing for those new to Linux. Below are some links to help.

YouTube video's