Image.diku.dk

From ImageWiki

(Difference between revisions)
Jump to: navigation, search
(New page: =image.diku.dk= * 2009/06/18 sporring: Had to fix /kreds/wiki due to bug: <pre> Warning: require_once(./LocalSettings.php) [function.require-once]: failed to open stream: Permission denied...)
Line 25: Line 25:
Keep an eye out for upgrade-bugs.
Keep an eye out for upgrade-bugs.
 +
 +
2009-06-15 sporring:
 +
  * Updated system manually, since poppler and poppler-utils was blocking.  No problesm
 +
 +
2009-06-10 sporring:
 +
  * Updated with new glcu, everything worked well.
 +
  * Added an error message to imageweb post-commit hook
 +
  * Moved a whole bunch of users into users file group and added mort to image.
 +
  Removed users personal groups, and chgrp their home directories to image
 +
 +
2009-06-01 sporring:
 +
  * moved /etc/conf.d/glcu to /etc/glcu.conf to activate newest glcu
 +
  * manually emerge -uDav world && glsa...
 +
 +
2009-04-24 sporring:
 +
  * removed tetex, added kpathsea USE flag, emerged livetex
 +
  * emerge -uDav --newuse world
 +
 +
2009-04-20 sporring:
 +
  * glcu worked, no problems
 +
 +
2009-04-15 sporring:
 +
  * ran emerge -uDav manually, sshd wouldn't restart, but is running? Ran
 +
  glsa-check --fix new manually too.
 +
 +
2009-03-09 sporring:
 +
  * glcu worked, no problems in update.  Removed blocking ghostscript and re-emerged.
 +
 +
2009-02-22 sporring:
 +
  * glcu worked, no problems in update
 +
 +
2009-02-16 sporring:
 +
  * glcu worked, no problems in update
 +
 +
2009-02-02 sporring:
 +
  * glcu worked, no problems in update
 +
 +
2009-01-05 sporring:
 +
  * glcu worked, new profile chosen, emerge -uDav --newuse system was unproblematic
 +
 +
2008-12-22 sporring
 +
  * ss, com_err caused blocks, followed carefully sticky note on
 +
  forums.gentoo.org.  No problems. Manual emerge -uDav system, and
 +
  glsa-check --fix new. No problems
 +
 +
2008-10-21 sporring
 +
  * Glcu failed, manual emerge -uDav system, etc, no problems.
 +
 +
2008-10-07 sporring
 +
  * Fixed /home/image/svn/ImageWeb/hooks/post-commit script to update permission on $REPOSITORY/.svn/
 +
 +
2008-10-06 sporring
 +
  * Glcu failed, manual emerge -uDav system, etc, no problems.
 +
 +
2008-09-29 sporring
 +
  * Glcu failed, manual emerge -uDav system, etc, no problems.
 +
 +
2008-9-26 sunegn
 +
  * Updated humim.org through svn update
 +
 +
2008-09-22 sporring
 +
  * Glcu failed, manual emerge -uDav system, etc, no problems.
 +
 +
2008-09-14 sporring:
 +
  * Glcu worked today, no problems.
 +
 +
2008-08-25 kimstp:
 +
  * Added students on Roboteksperimentarium blok 1 2008 as users by doing the
 +
    following commands:
 +
    On ask:
 +
      ypmatch myuser passwd
 +
    On image:
 +
      useradd -m -g users -G robot -p <crypt output from ask> -e 2009-08-01 -f 30 myuser -c 'Robot student 2008'
 +
 +
    So the account will expire on Aug. 1 2009 and will be disabled 30 days
 +
    after.
 +
 +
2008-08-25 sporring:
 +
  * Glcu worked today, no problems.
 +
 +
2008-08-18 sporring:
 +
  * Updated system manually, since glcu failed. Ran glsa-check to update to
 +
  latest security, and python-updater. Moved broken links in etc/ssl/certs to
 +
  /root/. No problems.
 +
 +
2008-08-11 sporring:
 +
  * Updated system manually, since glcu failed.  No problems.
 +
 +
2008-08-04 sporring:
 +
  * Updated system manually, since glcu failed.  Ran python-updater.  No problems.
 +
 +
2008-07-28 sporring:
 +
  * Updated system manually, since glcu failed.  Ran python-updater.  No problems.
 +
 +
2008-06-23 sporring:
 +
  * Updated system using glcu.  No problems.
 +
 +
2008-06-16 sporring:
 +
  * Updated system using glcu.  No problems.
 +
 +
2008-06-10 sporring:
 +
  * Updated system using glcu.  No problems.
 +
 +
2008-05-27 sporring:
 +
  * seems that Andresens kill fixed vixie-cron.  GLCU is running with errors,
 +
  set gentoo rsync to point to diku.
 +
  * emerge -uDav system.  No problems.
 +
 +
2008-05-22 sporring:
 +
  * cleanuptmp is still not running automatically, updated websvn for 3dot.dk
 +
  and opentissue.dk as possible reduction of the problem.  Andresen found a job,
 +
  that had been running by vixie-cron since 24/2, which he has stopped.  Fingers
 +
  crossed.
 +
 +
2008-05-20 sporring:
 +
  * emerge -uDav system.  No problems.
 +
  * glsa-check --fix new. No problems.
 +
  * ran /etc/cron.daily/cleanuptmp
 +
  * Reinstalled vixie-cron since it does not appear to be running cron.daily
 +
  automatically.  No problems. (2008/05/21 still not running cleanuptmp).
 +
2008-04-16 sporring:
 +
  * emerge -uDav system.  No problems.
 +
2008-03-26 sporring:
 +
  * emerge -uDav system.  No problems.
 +
  * glsa-check --fix new. This gave an update block on an old python version.
 +
    Portage is written in Python, so after carefully checking dependencies and
 +
    the web, I removed the old version and the python package that needed it.
 +
    Ran revdep-rebuild, enotice, dispatch-conf without further problems.
 +
  * Installed mediawiki 1.11.2, which implied amoung other things updating php.
 +
    This apparently caused no problems.
 +
  * Made a test installation of mediawiki 1.11.2 in
 +
    /var/www/localhost/htdocs/copd and secured http access and created an alias
 +
    image.diku.dk/newcopd.  In time, this could take over image.diku.dk/copd in
 +
    Marleens home directory.
 +
 +
2008-03-10 sporring:
 +
  * emerge -uDav system.  No problems.
 +
 +
2008-02-25 sporring
 +
  * moved cleanuptmp from cron.weekly to cron.daily and changed delete time from
 +
  more than 11 days to more than 6 days, since /tmp keeps filling up by wsvn
 +
  directories.
 +
  * emerge -uDav system.  No problems.
 +
 +
2008-02-18 sporring:
 +
  * emerge -uDav system.  No problems.
 +
 +
2008-02-14 sporring:
 +
  * install new kernel to fix vulnurability.  Andresen helped, used genkernel
 +
  and fixed boot sequence.
 +
 +
2008-02-10 sporring:
 +
  * emerge -uDav system.  No problems.
 +
 +
2008-01-28 sporring:
 +
  * emerge -uDav system.  No problems.
 +
 +
2008-01-23 sporring:
 +
  * emerge -uDav system. This included apache2 and postfix. No problems
 +
 +
2008-01-15 sporring:
 +
  * emerge -uDav system.  No problems.
 +
 +
2007-12-31 sporring:
 +
  * emerge -uDav system.  No problems.
 +
 +
2007-12-17 sporring:
 +
  * emerge -uDav system.  No problems.
 +
 +
2007-12-10 sporring:
 +
  * Removed diku-gentoo mirror pointer, and emerge -uDav system.  No problems.
 +
 +
2007-12-06 sporring:
 +
  * Improved speed of image post-commit hook by replacing find with grep, cut,
 +
  and xargs on $TMP
 +
 +
2007-11-25 sporring:
 +
  * image post-commit hook script failed due to filename with Danish letters had
 +
    been checked in.  Played with script, but changes are not important, instead
 +
    changed filename in image svn
 +
  * Enforced utf8 on file systems, loaded nls_utf8 module with modprobe, but kernel requires a rebuild,
 +
    and boot, so we'll wait till we upgrade kernel anyway.  Followed:
 +
    http://gentoo-wiki.com/TIP_Specifying_only_needed_locales
 +
    http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8
 +
  * emerge -uDav --newuse world, sigh
 +
 +
2007-10-29 sporring:
 +
  * emerge -uDav system. Upgraded pam according to
 +
    http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml
 +
    which meant I had to (re)move files:
 +
      /etc/pam.d/kde
 +
      /etc/pam.d/kde-np
 +
      /etc/pam.d/xdm
 +
    to /root/old_pam.d
 +
  * We should reverted to stable subversion, due to usefull upgrade, but this
 +
    requries an upgrade of appache, which I'm weary of.  Last I had to
 +
    reconfigure the web server, which took half a day.
 +
  * added /etc/cron.weekly/cleanuptmp since tmp keeps filling up by websvn
 +
    breaking the system
 +
 +
2007-10-29 sporring:
 +
  * emerge -uDav system.  No problems
 +
  * restarted /etc/init.d/ntp-client to fix time.
 +
 +
2007-10-22 sporring:
 +
  * emerge -uDav system.  No problems
 +
 +
2007-10-02 sporring:
 +
  * /tmp full, removed a lot of stuff.  Is it websvn that clogs the system?
 +
  * Ad 2007-09-10: Added app-crypt/qca-tls-1.0-r3 to
 +
    /etc/portage/package.keywords, since r2 does not work with gcc-4.1. Problem
 +
    fixed.
 +
  * emerge -uDav system.  No problems
 +
 +
2007-09-24 sporring:
 +
  * Updated system, restarte sshd.  No problem
 +
  * Modfied backup script to exclude manual copy of /etc and /var/www removed,
 +
    since they are now included in the system departments regular backup plan
 +
    together with /home/backup.
 +
 +
2007-09-10 sporring:
 +
  * Updated apache (high web security is a must).  Had to reorganize setup to
 +
  remove file-system back references w.r.t DocumentRoot.  Also had to move
 +
  kreds.dk under image.diku.dk/htdocs/kreds, since vhost was not working any
 +
  longer.  This was ok, since we never acquired kreds.dk.  kreds/wiki has
 +
  trouble with utf8.  We should figure out how to update the database soon!
 +
  * Problem: revdep-rebuild --library libcrypto.so.0.9.7 wants to rebuild
 +
  qca-tls, but this fails.
 +
 
 +
 +
2007-08-28 kimstp:
 +
  * Added students on Roboteksperimentarium blok 1 2007 as users by doing the
 +
    following commands:
 +
    On ask:
 +
      ypcat passwd | grep -E 'myuser'
 +
    On image:
 +
      useradd -m -g users -G robot -p <crypt output from ask> -e 2008-08-01 -f 30 myuser -c 'Robot student 2007'
 +
 +
    So the account will expire on Aug. 1 2008 and will be disabled 30 days
 +
    after.
 +
 +
2007-08-15 kimstp:
 +
  * Moved all data from /var and /home onto new drives and changed /etc/fstab
 +
    appropriately so the new partitions are mounted instead.
 +
 +
  * Here is what I did:
 +
telinit 1
 +
mkreiserfs -l VAR /dev/lvm2sdb/var
 +
mkreiserfs -l HOME /dev/lvm2sdb/home
 +
mount /dev/lvm2sdb/var /mnt/new_var
 +
mount /dev/lvm2sdb/home /mnt/new_home
 +
cd /home
 +
tar --preserve -zcvf /mnt/new_home/home.tar.gz * (except for backup/)
 +
cd /var
 +
tar --preserve -zcvf /mnt/new_var/var.tar.gz *
 +
cd /mnt/new_var/
 +
tar --preserve -zxvf /mnt/new_var/var.tar.gz
 +
cd tmp
 +
rm -rf *
 +
cd /mnt/new_home/
 +
tar --preserve -zxvf /mnt/new_home/home.tar.gz
 +
   
 +
    At first I forgot to copy some hidden (.files) from /var so I did that by
 +
    hand.
 +
 +
  * Change /etc/inittab to id:3:initdefault: -> id:1:initdefault:
 +
  * Change /etc/fstab and reboot.
 +
  * Check everything looks ok.
 +
  * Change /etc/inittab to id:1:initdefault: -> id:3:initdefault:
 +
  * Reboot and system is up again
 +
 +
 +
2007-08-14 sporring:
 +
  * added two subversion repositories and removed scia from backup script
 +
 +
2007-08-14 kimstp:
 +
  * Added a new 750 GB disk as /dev/sdb
 +
  * Created an additional swap drive of 4013899 kB on /dev/sdb1. The kernel
 +
    automatically uses stripping (RAID 0) hence swap speed should now be
 +
    increased.
 +
  mkswap /dev/sdb1 && swapon /dev/sdb1
 +
  * Created /dev/sdb2 as a Linux LVM partition using fdisk. This partition
 +
    takes up the rest of the disk.
 +
  * Created two logical volume partitions on /dev/sdb2 of equal size.
 +
    pvcreate /dev/sdb2
 +
    vgcreate lvm2sdb /dev/sdb2
 +
    lvcreate -L373G -nvar lvm2sdb
 +
    pvs
 +
 +
  PV        VG      Fmt  Attr PSize  PFree
 +
  /dev/sda3  lvm2    lvm2 a-  145.25G  21.25G
 +
  /dev/sdb2  lvm2sdb lvm2 a-  694.89G 321.89G
 +
 +
    lvcreate -L321.89G -nhome lvm2sdb
 +
 +
  * /etc/fstab updated appropriately.
 +
 
 +
2007-08-13 sporring:
 +
  * Updated with glcu, restarted ssh, no problems.
 +
 +
2007-08-09 sporring:
 +
  * Added a post-commit for /home/opentissue/svn/WebTissue repository to
 +
    automatically checkout into /var/www/opentissue.org/htdocs/OpenTissue. Made
 +
    a slight improvement of /home/image/svn/.
 +
 +
 +
2007-08-08 kimstp:
 +
  * Removed the SCIA 2007 cyberchair installation from /var/www/localhost/.
 +
    Is keeping a "site closed" message in /var/www/localhost/htdocs/scia2007.
 +
    Maybe removed in a year from now.
 +
 +
2007-08-06 sporring:
 +
  * Updated with glcu, had to follow recommentation to mask latest openssh
 +
    package due to missing lpad feature.
 +
 +
2007-07-10 sporring:
 +
  * Updated with glcu, no problems.
 +
 +
2007-06-25 sporring:
 +
  * Block bots with confirm edit (extensions/ConfirmEdit/) in
 +
  /var/www/3dot.dk/htdocs/wiki
 +
  /var/www/kreds.dk/htdocs/wiki
 +
  /var/www/localhost/htdocs/mediawiki
 +
  /var/www/opentissue.org/htdocs/wikitissue
 +
 +
  * Installs for phpBB-2.0.21
 +
    /var/www/localhost/htdocs/mediawiki
 +
 +
2007-06-21 sporring:
 +
  * subversion had trouble co through http.  Followed
 +
  http://bugs.gentoo.org/show_bug.cgi?id=182453#c16, and restarted apache
 +
  server.  This solved the problem.
 +
 +
2007-06-19 sporring:
 +
  * Resized /home:
 +
    image ~ # who
 +
    sporring pts/1        2007-06-19 09:14 (shop3.distlab.diku.dk)
 +
    image ~ # /etc/init.d/apache2 stop
 +
    * Caching service dependencies ...                                            [ ok ]
 +
    * Stopping apache2 ...                                                        [ ok ]
 +
    image ~ # vgdisplay
 +
      --- Volume group ---
 +
      VG Name              lvm2
 +
      System ID
 +
      Format                lvm2
 +
      Metadata Areas        1
 +
      Metadata Sequence No  19
 +
      VG Access            read/write
 +
      VG Status            resizable
 +
      MAX LV                0
 +
      Cur LV                5
 +
      Open LV              5
 +
      Max PV                0
 +
      Cur PV                1
 +
      Act PV                1
 +
      VG Size              145.25 GB
 +
      PE Size              4.00 MB
 +
      Total PE              37183
 +
      Alloc PE / Size      29184 / 114.00 GB
 +
      Free  PE / Size      7999 / 31.25 GB
 +
      VG UUID              ZyP002-rj9C-pGp4-4uyH-2JzU-NdXN-0bm9Vd
 +
 +
    image ~ #  lvscan
 +
      ACTIVE            '/dev/lvm2/root' [32.00 GB] inherit
 +
      ACTIVE            '/dev/lvm2/var' [14.00 GB] inherit
 +
      ACTIVE            '/dev/lvm2/log' [4.00 GB] inherit
 +
      ACTIVE            '/dev/lvm2/tmp' [4.00 GB] inherit
 +
      ACTIVE            '/dev/lvm2/home' [60.00 GB] inherit
 +
    image ~ # df -h
 +
    Filesystem            Size  Used Avail Use% Mounted on
 +
    /dev/mapper/lvm2-root
 +
  32G  4.1G  28G  13% /
 +
    udev                  443M  160K  443M  1% /dev
 +
    /dev/sda1              69M  8.6M  57M  14% /boot
 +
    /dev/mapper/lvm2-var  14G  9.2G  4.9G  66% /var
 +
    /dev/mapper/lvm2-log  4.0G  832M  3.2G  21% /var/log
 +
    /dev/mapper/lvm2-home
 +
  60G  57G  3.3G  95% /home
 +
    /dev/mapper/lvm2-tmp  4.0G  2.1G  2.0G  53% /tmp
 +
    none                  443M    0  443M  0% /dev/shm
 +
    image ~ # lvextend -L+10G /dev/lvm2/home
 +
      Extending logical volume home to 70.00 GB
 +
      Logical volume home successfully resized
 +
    image ~ #  resize_reiserfs /dev/lvm2/home
 +
    resize_reiserfs 3.6.19 (2003 www.namesys.com)
 +
 +
 +
 +
    resize_reiserfs: On-line resizing finished successfully.
 +
 +
    image ~ # df -h
 +
    Filesystem            Size  Used Avail Use% Mounted on
 +
    /dev/mapper/lvm2-root
 +
  32G  4.1G  28G  13% /
 +
    udev                  443M  160K  443M  1% /dev
 +
    /dev/sda1              69M  8.6M  57M  14% /boot
 +
    /dev/mapper/lvm2-var  14G  9.2G  4.9G  66% /var
 +
    /dev/mapper/lvm2-log  4.0G  832M  3.2G  21% /var/log
 +
    /dev/mapper/lvm2-home
 +
  70G  57G  14G  82% /home
 +
    /dev/mapper/lvm2-tmp  4.0G  2.1G  2.0G  53% /tmp
 +
    none                  443M    0  443M  0% /dev/shm
 +
    image ~ # /etc/init.d/apache2 start
 +
    * Starting apache2 ...                                                        [ ok ]
 +
    image ~ #           
 +
 +
2007-05-30 kenny:
 +
  * created user ricky for Richardo Ortiz, Dept. Math UIOWA
 +
  * created user nonsmoothie to be used for collaboration project on non-smooth
 +
  newton methods for non-linear complementarity problems.
 +
 +
 +
2006-04-23 sporring:
 +
* updated via glcu.  Unproblematic.
 +
 +
2006-03-26 sporring:
 +
* updated via glcu.  Unproblematic.
 +
 +
2006-03-19 sporring:
 +
* updated via glcu.  Unproblematic.
 +
 +
2006-03-13 sporring:
 +
* Added the dart server to /etc/conf.d/local.start and /etc/conf.d/local.stop.
 +
  All output is sent to /dev/null.  I wonder if this is correct, can only be
 +
  tested by a reboot.  The service seem to have a low load.
 +
* Corrected setup in /etc/conf.d/{ntpd,ntp-client} and restarted
 +
  /etc/init.d/ntp* to reset time
 +
 +
2006-03-12 sporring:
 +
* Ran glcu, updated USE flag for phpmyadmin, RAN emerge --newuse world
 +
* emerge slot conflicts, had to upgrade bugzilla:  Removed kreds/bugs, and
 +
  webapp -U on 3dot.dk/htdocs/bugs and opentissue.dk/htdocs/bugzilla:
 +
    webapp-config -U -h 3dot.dk -d bugs bugzilla 2.22.2
 +
    ./checksetup.pl
 +
    emacs localconfig & # out-commented appropriately
 +
    ./checksetup.pl
 +
    ./runtests.pl
 +
    mv .htaccess old.htaccess
 +
* Updated mediawiki, defined Adminsettings.php in all directories.  There is
 +
  some confusion about whether user is mysql/root or special user.
 +
* Created todo.txt file.
 +
 +
2006-02-14 sporring:
 +
* /var blev fyldt.  Har haft problemer med lvextend da der var
 +
 +
    image ~ # vgdisplay
 +
      --- Volume group ---
 +
      VG Name              lvm2
 +
      System ID
 +
      Format                lvm2
 +
      Metadata Areas        1
 +
      Metadata Sequence No  18
 +
      VG Access            read/write
 +
      VG Status            resizable
 +
      MAX LV                0
 +
      Cur LV                5
 +
      Open LV              5
 +
      Max PV                0
 +
      Cur PV                1
 +
      Act PV                1
 +
      VG Size              145.25 GB
 +
      PE Size              4.00 MB
 +
      Total PE              37183
 +
      Alloc PE / Size      26624 / 104.00 GB
 +
      Free  PE / Size      10559 / 41.25 GB
 +
      VG UUID              ZyP002-rj9C-pGp4-4uyH-2JzU-NdXN-0bm9Vd
 +
 +
    image ~ # lvextend -L+10G /dev/mapper/lvm2-var
 +
      Volume group mapper doesn't exist
 +
    image ~ # lvscan
 +
      ACTIVE            '/dev/lvm2/root' [32.00 GB] inherit
 +
      ACTIVE            '/dev/lvm2/var' [4.00 GB] inherit
 +
      ACTIVE            '/dev/lvm2/log' [4.00 GB] inherit
 +
      ACTIVE            '/dev/lvm2/tmp' [4.00 GB] inherit
 +
      ACTIVE            '/dev/lvm2/home' [60.00 GB] inherit
 +
    image ~ # /etc/init.d/apache2 stop
 +
    * Caching service dependencies ...                                      [ ok ]
 +
    * Stopping apache2 ...                                                  [ ok ]
 +
    image ~ # lvextend -L+10G /dev/lvm2/var
 +
    image ~ # cd /
 +
    image / # tar -czf /home/backup/var.tgz var
 +
    [... warnings ommitted ...]
 +
    image / # lvextend -L+10G /dev/lvm2/var
 +
      Extending logical volume var to 14.00 GB
 +
      Logical volume var successfully resized
 +
    image / # resize_reiserfs /dev/lvm2/var
 +
    resize_reiserfs 3.6.19 (2003 www.namesys.com)
 +
 +
 +
 +
    resize_reiserfs: On-line resizing finished successfully.
 +
 +
    image / # df -h
 +
    Filesystem            Size  Used Avail Use% Mounted on
 +
    /dev/mapper/lvm2-root
 +
  32G  4.1G  28G  13% /
 +
    udev                  443M  160K  443M  1% /dev
 +
    /dev/sda1              69M  8.6M  57M  14% /boot
 +
    /dev/mapper/lvm2-var  14G  3.9G  11G  28% /var
 +
    /dev/mapper/lvm2-log  4.0G  613M  3.5G  15% /var/log
 +
    /dev/mapper/lvm2-home
 +
  60G  49G  12G  81% /home
 +
    /dev/mapper/lvm2-tmp  4.0G  1.9G  2.2G  47% /tmp
 +
    none                  443M    0  443M  0% /dev/shm
 +
 +
 +
2006-01-30 sporring:
 +
* Edited /etc/apache2/vhosts.d/00_default_vhost.conf to disallow directory
 +
indexing (Option -indexing)
 +
 +
2006-01-28 sporring:
 +
* updated packages with glcu
 +
 +
2006-12-18 sporring:
 +
* updated packages with glcu.
 +
* Installed EasyMOD into opentissuebb:
 +
  Unpacked easymod_0.3.0.tar.bz2 into
 +
    /var/www/3dot.dk/htdocs/forum/admin
 +
  Performed
 +
    chown -R apache:apache /var/www/3dot.dk/htdocs/forum
 +
  Login at forum.
 +
  Login as administrator at form.
 +
  Paste URL
 +
    .../admin/mods/easymod/easymod_install.php
 +
  Choose "not ftp".
 +
* Installed admin_user_list_202.zip in
 +
    /var/www/opentissue.org/opentissuebb/admin/mods
 +
  Changed ownership:
 +
    chown -R apache:apache Admin_userlist_202
 +
  Installed with easymod
 +
 +
2006-12-15 sporring:
 +
* Performed cleanup according to:
 +
    http://forums.gentoo.org/viewtopic-t-30547-highlight-distfiles.html
 +
 +
2006-12-11 kimstp:
 +
* Updated the crontab entry for kimstp.
 +
  Runs various scripts for SCIA2007.
 +
 +
2006-11-08 sporring:
 +
* Installed websvn on /var/www/{kreds.dk,3dot.dk} and updated on
 +
  /var/www/opentissue.org.
 +
 +
2006-11-06 sporring:
 +
* updated system.
 +
 +
2006-11-04 kimstp:
 +
* CyberChair for SCIA2007 goes live now.
 +
 +
2006-11-03 kimstp:
 +
CyberChair for SCIA2007
 +
* CyberChair is configured to assume that Apache is running as
 +
  a member of the unix group apache. CyberChair requires write
 +
  access to directories under htdocs/scia2007.
 +
* Fixed a misspelled file name scai2007.tgz -> scia2007.tgz in
 +
  /home/backup/doBackup
 +
* Added AllowOverride Directory directive to
 +
  /etc/apache2/vhosts.d/00_default_vhost.conf in an attempt to make .htaccess
 +
  protection work.
 +
  Did the following to restart httpd
 +
  /usr/sbin/apache2ctl configtest
 +
  /usr/sbin/apache2ctl -k graceful
 +
* Added following to /etc/crontab.DIKU (remember to reactivate this crontab
 +
  file in case of reboot!):
 +
  30 23 * * * (cd /home/backup; ./doBackup > backup.log 2>&1)
 +
 +
  3 * * * * /var/www/localhost/htdocs/scia2007/cyber/adm/crontab/genabstracts.py
 +
  57 * * * * /var/www/localhost/htdocs/scia2007/cyber/adm/crontab/genpaperoverview.py
 +
  0,10,20,30,40,50 * * * * /var/www/localhost/htdocs/scia2007/cyber/adm/crontab/genReviewers.py
 +
  55 * * * * /var/www/localhost/htdocs/scia2007/cyber/adm/crontab/copySubmittedPapersToDownloadLocation.py
 +
 
 +
  Also added the lines concerning scia2007 to running crontab with crontab -e.
 +
  Decided to remove the scia2007 lines again. Unfortunately cron jobs are run
 +
  as root which messes up cyberchair rights.
 +
 +
  Solution seems to be to add the user kimstp to the group cron (done with
 +
  usermod) and to start a separate cron session for that user (su -,
 +
  crontab -u kimstp crontab.SCIA2007)
 +
 +
2006-10-24 kimstp:
 +
* Kim Steenstrup Pedersen has been added as user kimstp
 +
* Created directories: /var/www/localhost/htdocs/scia2007
 +
/var/www/localhost/cgi-bin/scia2007
 +
* Started installing CyberChair in these directories
 +
 +
2006-10-09 sporring:
 +
* Updated with glcu
 +
 +
2006-09-22 henrikd:
 +
* Installed EasyMOD into opentissuebb:
 +
  Unpacked easymod_0.3.0.tar.bz2 into
 +
    /var/www/opentissue.org/opentissuebb/admin.
 +
  Performed
 +
    chown -R apache:apache /var/www/opentissue.org/opentissuebb
 +
  Login at forum.
 +
  Login as administrator at form.
 +
  Paste URL
 +
    .../admin/mods/easymod/easymod_install.php
 +
  Choose "not ftp".
 +
 +
2006-09-18 henrikd:
 +
* Installed newest websvn using the following:
 +
  Modified:
 +
    /etc/portage/package.keywords
 +
    /etc/portage/package.use
 +
  emerge -av websvn
 +
  webapp-config -I -h opentissue.org -d websvn websvn 2.0_rc1
 +
  Modified:
 +
    /etc/apache2/vhosts.d/opentissue.org.conf
 +
    /var/www/opentissue/websvn/config.ini
 +
 +
2006-09-18 henrikd:
 +
 +
* Playing with xslt-transformations of subversion listings:
 +
  Modified /etc/apace2/modules/47_...
 +
 +
2006-09-13 sporring:
 +
 +
* Prepared /var/www/kreds.dk, installed mediawiki with patch similar to
 +
  2006-08-02.
 +
* Installed bugzilla
 +
 +
2006-09-11 sporring:
 +
 +
* Installed glcu, http://www.panhorst.com/glcu/, removed emerge --sync and
 +
  --update from crontab.
 +
 +
* Updated mediawiki and phpbb to latest version.  Corrected mysql database with:
 +
 +
    mysqlcheck -s -u root -p wikitissuedb
 +
    mysqlcheck -r -u root -p wikitissuedb
 +
    mysqlcheck -s -u root -p wikitissuedb
 +
 +
  Old versions of mediawiki and phpBB was most likely hand ported to
 +
  webapp-config, so I had to correct webapp-config database by hand.  Readded
 +
  opentissue logos to opentissuebb and wikitissue.
 +
 +
2006-08-02 sporring:
 +
 +
* Installed mediawiki for 3dot.dk, used patch for
 +
  /var/www/3dot.dk/htdocs/wiki/maintenance/archives/patch-job.sql from
 +
  http://bugzilla.wikimedia.org/show_bug.cgi?id=1322
 +
* Changed permission for 3dot.dk/3Dot for my update/backup script on my
 +
  portable computer.
 +
* Removed phpBB2 installation from image.diku.dk, since not used.
 +
 +
2006-08-01 sporring:
 +
 +
* Ran update to get newest version of mediawiki
 +
* Installed phpBB2 and Bugzilla for 3dot.dk
 +
 +
2006-08-22 sporring:
 +
 +
* Added modules shared, 3diku, 3dikudata temporarily.  Remove againg as soon as
 +
  every 3diku'er has gone over to 3dot naming convention.
 +
 +
2006-08-11 sporring:
 +
 +
* Added /var/www/3dot.dk to /etc/apache2/vhosts.d/, preparing redeligation.
 +
 +
2006-08-08 sporring:
 +
 +
* emerge -uDav world
 +
* Moved apache2 server aliases to /etc/apache2/vhosts.d/00_default_vhost.conf
 +
* Installed image.diku.dk/DADIUBB using webapp-config and updated it using the
 +
  old installation.  Had to copy template/dadiu by hand.  !!!REMEMBER TO
 +
  PRESERVE THESE FILES NEXT TIME DADIUBB IS UPDATED!!!.  Removed
 +
  physicsbasedanimation.com/phpBB. Had to edit webapp-config files directly.
 +
  Removed webapp-config references to tikiwiki and trac.
 +
 +
2006-06-28 sporring:
 +
 +
* emerge -uDav world.  Dispatch-conf gav problemer med /etc/filesystems.  Den
 +
 +
 +
      +# /etc/filesystems
 +
      +#
 +
      +# This file defines the filesystems search order used by a
 +
      +# 'mount -t auto' command.
 +
      +#
 +
      +
 +
      +# Uncomment the following line if your modular kernel has vfat
 +
      +# support and you want mount to try vfat.
 +
      +#vfat
 +
      +
 +
      +# Keep the last '*' intact as it directs mount to use the
 +
      +# filesystems list available at /proc/filesystems also.
 +
      +# Don't remove it unless you REALLY know what you are doing!
 +
      +*
 +
 +
  men gav fejl,
 +
 +
      dispatch-conf: Error renaming /etc/._cfg0000_filesystems to /etc/filesystems: [Errno 5] Input/output error; fatal
 +
 +
 +
 +
      image ~ # ls -l /etc/filesystems
 +
      lrwxrwxrwx 1 root root 19 Jun  6 17:44 /etc/filesystems -> ../proc/filesystems
 +
 +
 +
 +
 +
 +
2006-06-14 sporring:
 +
 +
* MAJOR PROBLEM:  I upgraded phpBB first by emerge and then webapp-config -U.
 +
  However, the config.php file was overwritten, hence lost!  Conclusion:  We
 +
  must save a copy of the previous installation to ensure that relevant files
 +
  may be retained.
 +
 +
2006-04-17 henrikd:
 +
 +
* Emerged unzip.
 +
 +
2006-04-17 henrikd:
 +
 +
* Installed EasyMOD to .../opentissuebb/admin/mods.
 +
  Interface for other MOD installations for phpBB.
 +
  See: http://easymod.sourceforge.net/readme/.
 +
  Password: ask kenny :-)
 +
  Usage:
 +
  1) Copy mod to .../admin/mods.
 +
  2) Go to admin page and select Install MODs
 +
  3) Follow the yellow brick road.
 +
  Issues: files and directories have to be apache:apache. Should we change this
 +
  in a config file or directly in the filesystem?
 +
 +
  Has been used to install Admin Userlist V2.0.2 MOD.
 +
  See: http://www.phpbb.com/phpBB/viewtopic.php?t=117359.
 +
 +
2006-04-05 sporring:
 +
 +
  * Updated /backup/doBackup to include /etc and new repositories in /home/image
 +
    and /home/opentissue
 +
  * Updated /var/www/localhost/htdocs/mediawiki/ to version 1.6.0 by direct
 +
    copying and running
 +
    /var/www/localhost/htdocs/mediawiki/maintenance/update.php.  However
 +
    update.php exited with a warning:
 +
 +
      ...
 +
      Making wl_notificationtimestamp nullable...
 +
      Warning: fopen(maintenance/archives/patch-watchlist-null.sql): failed to open stream: No such file or directory in /var/www/localhost/htdocs/mediawiki/includes/Database.php on line 1671
 +
      Could not open "".
 +
 +
    the wiki seems to work.  Nevertheless, I'll wait updating
 +
    /var/www/localhost/htdocs/wikitissue/ til I know, whether this is a serious
 +
    error.
 +
 +
2006-03-21 sporring:
 +
 +
  * ImageWeb post-commit hook script hangs sometimes at chgrp, hence I've
 +
    changed group ownership to users in /var/www/localhost/htdocs/image and
 +
    changed hook script in /home/image/svn/ImageWeb/hook/post-commit such that
 +
    group ownership is not changed to image.
 +
 +
2006-03-16 sporring:
 +
 +
  * Added more spam prevention in
 +
    /var/www/localhost/htdocs/wikitissue/LocalSettings.php
 +
    /var/www/localhost/htdocs/mediawiki/LocalSettings.php
 +
 +
2006-03-15 henrikd:
 +
 +
  * Trying to prevent spam:
 +
    /var/www/localhost/htdocs/wikitissue/LocalSettings.php
 +
 +
2006-02-27 sporring:
 +
 +
  * Changed logo image on image.diku.dk/opentissuebb
 +
 +
2006-02-12 sporring:
 +
 +
  * Added slam user egeskov for Anders Egeskov Petersen
 +
 +
2006-02-06 sporring:
 +
 +
  * Installed opentissue's logo in opentissuebb.
 +
 +
  * ran emerge -uDav world
 +
 +
2006-02-02 sporring:
 +
 +
  * Added virtual hosts to /etc/apache2/httpd.conf for opentissue.dk,
 +
    opentissue.org, physicsbasedanimation.org, and physicsbasedanimation.com,
 +
    last mentioned does not work yet for some unknown reason.
 +
 +
2006-02-01 sporring:
 +
 +
  * Allowed url file-access in php: /etc/apache2/conf/ sat allow_url_fopen = On
 +
 +
  * Created user and group image, started a repository on this account for the
 +
    image group's files.
 +
 +
2006-01-31 sporring:
 +
 +
  * removed /var/www/localhost/htdocs/pba, replaced it with pbabb, and made
 +
    symbolic link pbabb->pba
 +
 +
  * changed logo in pbabb,
 +
 +
      cd /var/www/localhost/htdocs/pba/templates/subSilver/images
 +
      convert ../../../../erleben_physics.gif -resize 25% logo_phpBB.gif
 +
 +
2006-01-12 sporring:
 +
 +
  * Disallowed anynmous edits in
 +
    /var/www/localhost/htdocs/wikitissue/LocalSettings.php
 +
 +
  * QUESTION: Should we do something about robots that crawl the web?
 +
 +
  * Updated mediawiki to v. 1.5.5.  I made a clean copy, which caused problems
 +
    with uploaded images, possible since the update1_5.php did not have read
 +
    access to LocalSettings.php.
 +
 +
  * Added suggestions to new logos for mediawiki and wikitissue.
 +
 +
  * Added tex and upload support for wikitissue.
 +
 +
  * Added /var/www/localhost/htdocs to the backupscript.
 +
 +
2006-01-11 sporring:
 +
 +
* Created a backup system for the subversion servers and mysql in
 +
  /home/backup/doBackup, such that these are hot-copied into /home/backup, and
 +
  added the script to the vixi-cron using cron -e. These will then be backuped
 +
  by DIKUs backupservice.
 +
 +
2006-01-06 sporring:
 +
 +
* Created user slam for the robot subversion
 +
 +
* Created the subversion repository slam under slam
 +
 +
* Added sporring and kenny to the slam group
 +
 +
* Updated /etc/apache2/modules.d/47_mod_dav_svn.conf to make slam subversion
 +
  repository browsable from the web
 +
 +
* Changed mediawiki setup to allow for new user registration in
 +
  /var/www/localhost/htdocs/mediawiki/LocalSettings.php
 +
 +
2006-01-05 sporring:
 +
 +
* Updated /var/www/localhost/htdocs/phpBB2 to new version 2.0.19
 +
 +
* Installed phpBB2 in /var/www/localhost/htdocs/DADIUBB
 +
 +
* Installed phpBB2 in /var/www/localhost/htdocs/opentissuebb
 +
 +
* Installed phpBB2 in /var/www/localhost/htdocs/pbabb
 +
 +
* Cleaned forum /var/www/localhost/htdocs/phpBB2 for general image group stuff
 +
 +
* Performed final steps in setup of /var/www/localhost/htdocs/bugzilla
 +
 +
2006-01-04 sporring:
 +
 +
* Installed Bugzilla and a s consequence,
 +
 +
* Installed cvs and
 +
 +
* Disabled networking in mysql
 +
  (http://www.bugzilla.org/docs/2.18/html/security-mysql.html) and
 +
 +
* Created a bugs user in mysql.
 +
 +
* Created a phpbb user in mysql and changed phpbb setup to use this instead of root.
 +
 +
2006-01-02 sporring:
 +
 +
* The machine had/was stopped 2005-12-28 for some unkown reason. At restart
 +
  apache2 did not start, since the configuration files had been renamed by
 +
  gentoo.org. Further to make php and svn work, I also reinstalled mod_php,
 +
  although it was probably enough to add "-D PHP4 -D DAV -D SVN" in
 +
  /etc/conf.d/apache
 +
 +
* Tried  "PermitRootLogin no" to /etc/ssh/sshd_config to refuse root logins via
 +
  ssh, but this may be to problematic for commonly administered machines, so I
 +
  removed it again.
 +
 +
* emerge -uDav world
 +
 +
2005-09-28 henrikd:
 +
* Added cvs2svn to /etc/portage/package.keywords and emerge the newest one.
 +
* Modified /etc/ssh/sshd_config to allow X11Forward.
 +
* Added closedtissue user and group.
 +
 +
2005-09-05 henrikd:
 +
* Updated enotice from http://www.fmp.com/enotice/.
 +
* Modified /etc/ntp.conf, /etc/conf.d/ntp* and restarted ntpd.
 +
 +
2005-07-13 henrikd: Installed keychain and gtk2-ssh-askpass.
 +
  See /home/henrikd/.bash_profile for example usage.
 +
  Suggest we secure ssh using "google securing ssh" and create a backup-user that
 +
  can sudo for backup-purpose.
 +
 +
2005-05-02 sporring: updateret profile til 2.6, ran emerge -uDav world, and
 +
dispatch-conf with use new on almost all possibilities except vixi-cron.
 +
Vixi-cron, I don't known what to do about.
 +
 +
2005-04-08 henrikd: modified /etc/crontab.DIKU.
 +
 +
2005-04-01 shotokan: Added RSA-key to /root/.ssh/authorized_keys to enable
 +
  access from DIKUs central backup server.
 +
 +
2005-03-17 henrikd: Added support for PHP to apache. See /etc/conf.d/apache2
 +
 +
2005-02-18 henrikd:
 +
* Added webaccess to our DataTissue repository. See /etc/apache2/conf/modules/47_...
 +
* Changed /etc/mail/aliases to spam sporring instead of henrikd.
 +
 +
2005-02-16 henrikd:
 +
* Installed a root crontab thingy. See /etc/crontab.DIKU.
 +
* Started ntpd. See /etc/ntp.conf.
 +
 +
2005-02-15 henrikd:
 +
* copied /usr/bin/[ to /bin. This made it possible to boot! See bug#
 +
* Switched to kernel 2.6.10-r6.
 +
  ISSUE: At boot we get "error unlinking "GLOBAL" from devfs. Cannot boot using udev.
 +
 +
2005-02-11 henrikd:
 +
* Installed trac, initialized it with
 +
  "trac-admin /home/opentissue/trac/OpenTissue initenv",
 +
  added 91-trac.conf to /etc/apache2/conf/modules.d,
 +
  added "-D TRAC" to /etc/conf.d/apache2.
 +
  Check localhost/cgi-bin/trac.cgi
 +
 +
2005-02-10 henrikd:
 +
* Installed postfix, modified /etc/mail/aliases, ran /usr/bin/newalias,
 +
  modified /etc/postfix, started the daemon manually.
 +
 +
2005-02-09 henrikd:
 +
* Added /usr/local/svn-bin with wrappers to svn,svnadmin,svnserve,svnlook that uses umask 002.
 +
  Modified /etc/profile to have /usr/local/svn-bin first in PATH.
 +
* Modified /etc/conf.d/apache2 to support svn.
 +
  Modified /etc/apache2/conf/apache2.conf to get a servername.
 +
* Made a .emacs file for root.
 +
  Backups are now placed in .backups-emacs instead of scattered all around!
 +
 +
2005-02-07 henrikd:
 +
* Use dispatch-conf instead of etc-update. Made an alias in .bashrc to remind people.
 +
* Installed enotice per instructions in gentoo forum "[HOWTO] ENOTICE:...".
 +
  Just type 'enotice' to see what you missed during an emerge -uDavt world.

Revision as of 07:44, 18 June 2009

Personal tools