User Tools

Site Tools


build:debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
build:debian [2009/05/14 09:51]
167.206.189.6
build:debian [2010/11/13 14:29] (current)
SLUUG Administration
Line 2: Line 2:
  
 These instructions document the installation and configuration of Debian 4.0 on our servers. These instructions document the installation and configuration of Debian 4.0 on our servers.
 +
 +For installation and configuration of Debian 5.0 on RedHook, see [[build/​debian/​redhook | Debian/​RedHook]]
  
 ===== Installation ===== ===== Installation =====
Line 128: Line 130:
 This will allow us to create LVMs which can be resized as needed out of the logical RAID-5 device on the Clariion. This will allow us to create LVMs which can be resized as needed out of the logical RAID-5 device on the Clariion.
  
 +Label /dev/md0 as a physical volume:
 +
 +<code root>
 +# pvcreate /dev/md0
 +</​code>​
 +
 +Create the volume group:
 +
 +<code root>
 +# vgcreate sluug /dev/md0
 +</​code>​
 +
 +Create a 40G logical volume in the sluug VG called '​rsnapshot':​
 +
 +<code root>
 +# lvcreate -L 100G -n rsnapshot sluug
 +</​code>​
 +
 +Format the rsnapshot volume and mount it:
 +
 +<code root>
 +# mke2fs -j /​dev/​mapper/​sluug-rsnapshot
 +# mkdir /rsnapshot
 +# mount /​dev/​mapper/​sluug-rsnapshot /rsnapshot
 +</​code>​
 +
 +Revel in the newly available space:
 +
 +<code root>
 +df -h /​dev/​mapper/​sluug-rsnapshot
 +Filesystem ​           Size  Used Avail Use% Mounted on
 +/​dev/​mapper/​sluug-rsnapshot
 +                       ​40G ​ 177M   ​38G ​  1% /rsnapshot
 +</​code>​
 +
 +And add the following to /etc/fstab:
 +
 +<code root>
 +/​dev/​mapper/​sluug-rsnapshot ​    /​rsnapshot ​     ext3    defaults 0 0
 +</​code>​
  
 ===== Package Selection ===== ===== Package Selection =====
Line 262: Line 304:
  
 Adding this script to the ''/​etc/​cron.daily''​ directory will cause it to be run every day. By default, the daily cron scripts run at 6:25 AM. One nice thing about running them daily and sending them to a mailing list is that it's easy to see if the updates have or have not been applied by the next day. The more times the message is sent, the more likely someone will be to log in and run the updates. Adding this script to the ''/​etc/​cron.daily''​ directory will cause it to be run every day. By default, the daily cron scripts run at 6:25 AM. One nice thing about running them daily and sending them to a mailing list is that it's easy to see if the updates have or have not been applied by the next day. The more times the message is sent, the more likely someone will be to log in and run the updates.
 +
 +**NOTE**: We should probably replace this custom script with ''​cron-apt''​.
  
 ==== Send Out Alerts for Low Disk Space ==== ==== Send Out Alerts for Low Disk Space ====
build/debian.1242312713.txt.gz ยท Last modified: 2009/05/14 09:51 by 167.206.189.6