aboutsummaryrefslogtreecommitdiffstats
path: root/admin-log.org
blob: d8966da59432305a26c201a360095156538ac510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#+title: Administrative diary for Fripost's servers and systems
#+author: Those involved with the administration

* Upgrade of benjamin <2011-10-06 tor>

The server benjamin was upgraded to Debian GNU/Linux 6.0 Squeeze in accordance with the [[http://www.debian.org/releases/squeeze/i386/release-notes/ch-upgrading.en.html][upgrading release notes]]. 

At some point the raid array did not mount so the installation was interupted. Mdadm was used to setup the software raid:

   : $ cat /proc/partitions
   : $ cat /etc/mdadm/mdadm.conf
   : # mdadm --misc --query /dev/sdc1 /dev/sdd1; # for display
   : # mdadm --misc --examine  /dev/sdc1 /dev/sdd1; # for display
   : # mdadm --misc --examine --scan
   : # mdadm --assemble --scan

Then also the logical volume management (LVM) was needed to set up. 

   : # vgdisplay
   : $ ls -1 /dev | grep 2T; # shows nothing
   : # vgchange --available y 2T_vg-backup
   : $ ls -1 /dev | grep 2T; # shows VG 2T_vg-backup
   : # cryptsetup luksOpen /dev/2T_vg-backup/backup backup
   : # sudo mount -t ext4 /dev/mapper/backup /mnt/backup

The =/etc/fstab= is no longer correct since "ext4dev" is not a supported file system. Instead "ext4" should be used. 

** Things to do after upgrade

   - Remove the following packages
     - apticron (will be replaced by unattended-upgrades)
   - Check logcheck rules
   - Check rkhunter (root kit hunter) configurations
   - Check NTP (network time protocol) configuration
   
* Configure Roundcube for password change <2011-11-22 tis>

  <2011-11-22 tis>  [[http://www.roundcube.net/][Official website]]. The plugin of interest is [[http://trac.roundcube.net/browser/trunk/plugins/password][passord]] found from [[http://trac.roundcube.net/wiki/Plugin_Repository][Pugin Repository]].

  <2011-11-24 tor> Found the Roundcube directory: /var/lib/roundcube/. The configuration files are in /etc/roudcube/. Also the relevant Apache2 configuration files are linked into /etc/roundcube/. Plugins are placed in /var/lib/rouncube/plugins/ and installed by editing /etc/roundcube/main.inc.php/. It took a while to figure Apache out enough to find the directories. Roudcube is not really a program; it is just some PHP script. 

  I do not have a clue about how to download the plugin, after hours of searching. This PHP code tracking drives me mad. 

  <2011-12-04 sön> As a plugin exercise I (Gustav) installed serverinfo. Note also catalogue /\/usr\/share\/roundcube/ and that many paths are links into /var/lib/roundcube/. 

  It appears that some plugins comes with the installation. See [[http://www.roundcubeforum.net/3-news-announcements/12-general-discussion/5258-plugin-download-link.html][This post]]. 

  Finally the plugin is installed; I requested the full stable 0.6-version sources to my home directory and copied the plugin files into /var/lib/roundcube/plugin. Next step will be to identify how to establish a connection with the IMAP (daabase) server.