#v2.3 su cd /usr/local/src wget http://download.3uu.org/3uu-ROM/flvtool2-1.0.6.tgz wget http://download.3uu.org/3uu-ROM/httpd-2.2.20.tar.gz wget http://download.3uu.org/3uu-ROM/mod_auth_mysql-3.0.0-apr1x.patch wget http://download.3uu.org/3uu-ROM/mod_auth_mysql-3.0.0.tar.gz wget http://download.3uu.org/3uu-ROM/mod_evasive_1.10.1.tar.gz wget http://download.3uu.org/3uu-ROM/mod_flvx.c wget http://download.3uu.org/3uu-ROM/mysql-5.1.56.tar.gz wget http://download.3uu.org/3uu-ROM/php-5.2.17.tar.gz wget http://download.3uu.org/3uu-ROM/php.ini wget http://download.3uu.org/3uu-ROM/httpd.conf # Apache installieren (Achtung: OpenSSL muss installiert sein!) tar xfvz httpd-2.2.20.tar.gz cd /usr/local/src/httpd-2.2.20/ ./configure --prefix=/opt/3uu/apache2 --enable-modules=all --enable-ssl # --with-ssl=/usr/local/ssl/ make make install # FLV-Streaming cd /usr/local/src/ /opt/3uu/apache2/bin/apxs -i -a -c mod_flvx.c joe /opt/3uu/apache2/conf/vhosts.conf # AddHandler flv-stream .flv /etc/init.d/apachectl restart # Bruteforce-Schutz cd /usr/local/src/ tar xfvz mod_evasive_1.10.1.tar.gz cd /usr/local/src/mod_evasive/ /opt/3uu/apache2/bin/apxs -i -a -c mod_evasive20.c /etc/init.d/apachectl restart # MySQL cd /usr/local/src/ tar xfvz mysql-5.1.56.tar.gz cd /usr/local/src/mysql-5.1.56 ###rtz my.cnf ./configure --prefix=/opt/3uu/mysql --localstatedir=/vol/mysql \ --enable-thread-safe-client --enable-local-infile --with-charset=utf8 \ --with-plugins=partition,archive,federated,heap,myisammrg \ --with-extra-charsets=all --enable-static make make install (Bei einer Neuinstallation /opt/3uu/mysql/bin/mysql_install_db und ggf. vorher noch User mit "useradd mysql" anlegen. Ausserdem cd /usr/local/bin/ && ln -s ../../../opt/3uu/mysql/bin/* . nicht vergessen! Sonst klappt das configure von PHP nicht.) (ggf. mysql_upgrade ausfuehren) # Auth_MySQL cd /usr/local/src/ tar xfvz mod_auth_mysql-3.0.0.tar.gz ### http://oldtimeynerd.net/index.php/Error_Messages_and_Answers patch -p0 < mod_auth_mysql-3.0.0-apr1x.patch cd /usr/local/src/mod_auth_mysql-3.0.0/ /opt/3uu/apache2/bin/apxs -c -i -a -L/opt/3uu/mysql/lib/mysql \ -I/opt/3uu/mysql/include/mysql/ -lmysqlclient -lm -lz mod_auth_mysql.c /etc/init.d/apachectl configtest /etc/init.d/apachectl stop /etc/init.d/apachectl start # PHP cd /usr/local/src/ tar xfvz php-5.2.17.tar.gz cd /usr/local/src/php-5.2.17/ ./configure --with-apxs2=/opt/3uu/apache2/bin/apxs \ --prefix=/opt/3uu/php --with-mysql=/opt/3uu/mysql/ \ --with-config-file-path=/opt/3uu/ --with-zlib \ --with-gd --with-freetype-dir=/opt/3uu/freetype2 \ --enable-gd-native-ttf --enable-sysvsem \ --enable-sysvshm --disable-debug --enable-sockets \ --enable-soap --with-jpeg-dir=/usr \ --with-openssl --with-pdo-mysql --enable-mbstring \ --with-mcrypt --enable-exif --with-xsl --with-curl \ --with-gettext --enable-zip # --with-imap-ssl # Falls configur die libxml2 vermisst --with-libxml-dir=/opt/3uu/libxml2 # zuvor natuerlich installieren wget http://download.3uu.org/3uu-ROM/libxml2-2.6.20.tar.gz cd /usr/local/src/ tar xfvz libxml2-2.6.20.tar.gz cd /usr/local/src/libxml2-2.6.20 ./configure --prefix=/opt/3uu/libxml2 make make install joe /opt/3uu/apache2/conf/httpd.conf AddType application/x-httpd-php .php .php3 .inc .htm ################################## .htaccess umstellen ################################## !!! muss raus aus den alten vhosts ################################## flvtool2 -UP file.flv