text scrollt langsam => /etc/modprobe.d/blacklist-framebuffer.conf ---- zeile "blacklist vga16fb" hinzufügen
sources ändern: vi /etc/apt/sources.list
deb http://old-releases.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ lucid-security main restricted universe multiverse
get file from ftp server: wget –user=anonymous fpt://10.100.10.200/LAMP2010/…
|
mkdir /usr/src/mysql
|
Folder for installation
|
|
cp mysql-VERSION.tar.gz /usr/src/mysql
|
move zip to folder
|
|
gunzip < mysql-VERSION.tar.gz | tar -xvf -
|
unzip .tar.gz
|
|
groupadd mysql
|
create mysql group
|
|
useradd -g mysql mysql
|
create mysql user
|
|
./configure --prefix=/usr/local/mysql
|
configure installation
|
|
make -j 4
|
compile with 4 cores
|
|
make install
|
install
|
|
cp support-files/my-medium.cnf /etc/my.cnf
|
configure mysql...
|
|
cd /usr/local/mysql
|
|
|
bin/mysql_install_db --user=mysql
|
|
|
chown -R root .
|
|
|
chown -R mysql lib
|
|
|
chown -R mysql var
|
|
|
chgrp -R mysql .
|
|
|
bin/mysqld_safe --user=mysql &
|
start mysql
|
|
bin/mysql
|
connect to mysql
|
|
mkdir /usr/src/httpd
|
create folder for source
|
|
cp httpd-VERSION.tar.gz /usr/src/httpd
|
copy zip to new location
|
|
gunzip < httpd-VERSION.tar.gz | tar -xvf -
|
unzip .tar.gz
|
|
./configure --prefix=/usr/local/apache2 --enable-mime-magic --enable-expires --enable-headers --enable-ssl --enable-http --enable-info --enable-dir --enable-rewrite --enable-so
|
configure apache compilation
|
|
make
|
compile apache
|
|
make install
|
install apache
|
|
old line
|
new line
|
|
DocumentRoot "/usr/local/apache2/htdocs"
|
DocumentRoot "/var/www/htdocs"
|
|
<Directory "/usr/local/apache2/htdocs">
|
<Directory "/var/www/htdocs">
|
|
AllowOverride None
|
AllowOverride All
|
|
DirectoryIndex index.html index.html.var
|
DirectoryIndex index.php index.html index.html.var
|
|
AddHandler type-map var- addline:
|
old line + AddHandler php5-script php
|
|
AddType Section - addline :
|
AddType application/x-httpd-php .php
|
|
/usr/local/apache2/bin/apachectl start
|
start server
|
|
mkdir /usr/src/php5
|
create folder for source
|
|
cp php-VERSION.tar.bz2 /usr/src/php5
|
move zip to new folder
|
|
tar xjf php-VERSION.tar.bz2
|
unzip bz2 file
|
|
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=shared,/usr/local/mysql
|
configure php compilation
|
|
make
|
compile
|
|
make install
|
install
|
|
cp php.ini-development /usr/local/php5/lib
|
move the php.ini (development instead of dist)
|
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.