notes on building a webserver using Mandrake

this is not the most secure way to build a webserver, but it is extremly easy and quick and reasonably secure.

and yeah I install X on the server and use vnc occasionally في حاجة؟!!!

installing a mandrake server

  • minimal install
  • if not minimal clean rpm-leaves
  • define sources
  • upgrade
  • install ssh-server ssh-clients
  • install rsync
  • install bash completion
  • install dtach
  • install mc
  • install emacs
  • install drakwizard drakconf
  • install xinetd
  • install shorewall
  • fix hosts.allow
  • make useraccount, add user to adm, wheel, rpm, xgrp, ntools, ctools
  • msec 4
  • override msec
  • set up shorewall
  • make ssh keys
  • fix ssh config
  • switch to ssh-xinetd
  • install drakwizard
  • install tightvnc-server, xauth, xorg-x11-75dpi-fonts, rxvt
  • install pekwm
  • pekwm menu file
  • run vncserver
  • edit ~/.pekwm/menu
  • install mysql
  • copy mysql config file
  • change mysql root password
  • install phpMyAdmin
  • apache wizard
  • install php, php-cli, php-imap, php-apc, php-mysql, php-ldap, php-mbstring, ph p-pear
  • install imagemagick, exif
  • install cvs
  • drakauth
  • ldap wizard
  • intsall postfix, cyrus-sasl,libsasl2-plug-plain, libsasl2-plug-login
  • install and configure postfix
  • install and configure dovecot
  • tweak apache config
  • set apache virtual hosts
  • set http file permissions
  • configure drakbackup
  • install rdate
  • time sync cron job
  • drupal cron job
  • drakxservices
  • rpm-leaves again