OSDev Wiki:Setup
This page is a work in progress. It documents the configuration of this server.
Contents |
Hosted With
Hosted with: http://www.180servers.com/ At this datacenter: http://www.colo4dallas.com/
Hardware
Dual AMD Opteron 246 2GB DDR Ram 2 x 80GB SATA Hard Drives (software mirror)
Network
14 ip addresses Default GW: 174.136.63.241 First Usable: 174.136.63.242/255.255.255.240 174.136.63.242 ssh only 174.136.63.243 174.136.63.244 174.136.63.245 174.136.63.246 osdev.org
Software
CentOS 5.3 Installed
Install RPMForge as outlined here: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge/
yum install php graphviz-php php-eaccelerator php-gd phpmyadmin php-mcrypt php-mbstring php-mysql php-pdo php-pear php-xml php-xmlrpc php-pecl-memcache memcached webalizer wine wine-devel gcc-c++ yum install denyhosts ntp screen mysql-server postfix system-switch-mail mod_ssl ImageMagick
Install, configure, and enable APF (firewall) http://www.rfxn.com/projects/advanced-policy-firewall/
Configure and enable denyhosts
Configure and enable ntp
Configure and enable mysql-server
Configure and enable memcached (was for mediawiki, changed to disabled and use eAccelerator)
Edit php.ini
max_execution_time = 120 ; Maximum execution time of each script, in seconds memory_limit = 32M ; Maximum amount of memory a script may consume upload_max_filesize = 20M
Comment out the entries in /etc/httpd/conf.d/{phpmyadmin.conf,proxy_ajp.conf,webalizer.conf,welcome.conf}
Run system-switch-mail and switch to postfix. Configure postfix and enable.
Restore Databases
mysqladmin -u USER -p create phpBB3 mysql -u USER -p phpBB3 < phpBB3-database-Mon.sql mysqladmin -u USER -p create wikidb mysql -u USER -p wikidb < wikidb-database-Mon.sql
phpBB has NV_advanced_last_topic_titles and AntiBotQuestion mods installed
mediawiki has Auth_phpBB and DumpHTML mods installed