Note: Software listed is available on the MAP Support repository on Trogdor.mit.edu.
cd /root scp root@trogdor:/opt/software-repository-tmp/ZEND_Core/ZendCore-2.5.0-linux-glibc21-i386.tar.gz \ root@trogdor:/opt/software-repository-tmp/Java/jdk-6-linux-i586.bin \ root@trogdor:/opt/software-repository-tmp/Java/java_home.sh \ root@trogdor:/opt/software-repository-tmp/MySQL/MySQL-client-community-5.0.45-0.rhel5.i386.rpm \ root@trogdor:/opt/software-repository-tmp/MySQL/MySQL-server-community-5.0.45-0.rhel5.i386.rpm \ root@trogdor:/opt/software-repository-tmp/MySQL/MySQL-shared-community-5.0.45-0.rhel5.i386.rpm \ root@trogdor:/opt/software-repository-tmp/MySQL/MySQL-test-community-5.0.45-0.rhel5.i386.rpm \ root@trogdor:/opt/software-repository-tmp/MySQL/my.cnf \ root@trogdor:/opt/software-repository-tmp/common-init/web /root |
chmod u+x /root/jdk-6-linux-i586.bin cd /usr/local /root/jdk-6-linux-i586.bin |
cd /root cp /root/java_home.sh /etc/profile.d chmod a+rx,a-w /etc/profile.d/java_home.sh |
/etc/init.d/mysqld stop grep mysql /var/log/rpmpkgs rpm -e [relevant packages] |
rpm -ivh MySQL-shared-community-5.0.45-0.rhel5.i386.rpm rpm -ivh MySQL-server-community-5.0.45-0.rhel5.i386.rpm rpm -ivh MySQL-client-community-5.0.45-0.rhel5.i386.rpm rpm -ivh MySQL-test-community-5.0.45-0.rhel5.i386.rpm |
cd /root vi my.cnf cp /root/my.cnf /etc/my.cnf |
chown -R db:db /home/db |
/etc/init.d/mysqld start |
cd /home/www mkdir tmp cd /home/www/tmp tar -xzvf /root/ZendCore-2.5.0-linux-glibc21-i386.tar.gz cd ZendCore-2.5.0-linux-glibc21-i386/ ./install -y |
Do you accept the terms of this license? Yes Enter the destination path for the Zend Core Installation.: /home/www/zendcore Please enter a GUI Password: [some password - will need it later, put it in a secure location] Please select which components to install / configure: 2 [enter][enter] # To add PHP Select an Apache package to install.: 3 [enter] # Install the bundled Apache 2.2.4 Choose Apache Port [80]: [enter] # Keep default port Select an Apache Installation Method: 0 [enter] |
Select one of the following actions: 2 [enter] |
/etc/init.d/httpd stop cd /usr/local/Zend mv apache2 /home/www/zendcore/ ln -s /home/www/zendcore/apache2 apache2 mkdir /home/www/zendcore/apache2/etc mv /etc/httpd /home/www/zendcore/apache2/etc ln -s /home/www/zendcore/apache2/etc/httpd httpd mkdir /home/www/html cd /home/www/zendcore/apache2/etc/httpd/conf sed -i s:/etc/httpd:/home/www/zendcore/apache2: httpd.conf sed -i s:/var/www/html:/home/www/html: httpd.conf sed -i s:"User apache":"User www": httpd.conf sed -i s:"Group apache":"Group www": httpd.conf sed -i s:/var/www:/home/www/zendcore/apache2: httpd.conf cd /home/www/zendcore/apache2/etc/httpd rm -f logs modules run chown -R www:www /home/www/ /etc/init.d/httpd start |