|
rm -rf /etc/apt/sources.conf
|
sources entfernen
|
|
echo "deb http:/ /ol d-r ele ase s.u bun tu.c om /ub untu/ lucid main restricted universe multiverse deb http:/ /ol d-r ele ase s.u bun tu.c om /ub untu/ lucid- ‐updates main restricted universe multiverse deb http:/ /ol d-r ele ase s.u bun tu.c om /ub untu/ lucid- ‐sec urity main restricted universe multiverse" > /etc/apt/source.conf
|
neue sources hinzufügen
|
|
echo "blacklist vga16fb" >> /etc/modprobe.d/blacklist-framebuffer.conf
|
gegen langsames scrollen
|
|
shutdown -fr now
|
neustarten
|
|
apt-get update && apt-get install gcc g++ make libncurses-dev
|
compiletools laden
|
|
wget –user=anonymous ftp://FTP_SERVER/
|
files from ftp laden
|
|
mkdir /usr/src/mysql
|
directory erstellen
|
|
cp mysql-VERSION.tar.gz /usr/src/mysql
|
archive hinkopieren
|
|
cd /usr/src/mysql
|
directory changen
|
|
groupadd mysql
|
usergroup adden
|
|
gunzip < mysql-VERSION.tar.gz | tar -xvf -
|
archive entpacken
|
|
cd mysql-VERSION
|
directory changen
|
|
useradd -g mysql mysql
|
user adden
|
|
./configure --prefix=/usr/local/mysql
|
mysql compile configurieren
|
|
make -j4 (WICHTIG!)
|
builden
|
|
make install
|
installieren
|
|
cp support-files/my-medium.cnf /etc/my.cnf
|
config kopieren
|
|
cd /usr/local/mysql
|
directory changen
|
|
chown -R mysql lib
|
mysql zum ordnerinhaber machen
|
|
chown -R mysql var
|
mysql zum ordnerinhaber machen
|
|
chown -R root .
|
root zum ordnerinhaber machen
|
|
chown -R mysql lib
|
mysql zum ordnerinhaber machen
|
|
bin/mysql_install_db --user=mysql
|
mysql installieren
|
|
bin/mysqld_safe --user=mysql &
|
mysql starten
|
|
mkdir /usr/src/httpd
|
directory erstellen
|
|
cp httpd-VERSION.tar.gz /usr/src/httpd
|
archive kopieren
|
|
cd /usr/src/httpd
|
directory changen
|
|
gunzip < httpd-VERSION.tar.gz | tar -xvf -
|
archive entpacken
|
|
cd httpd-VERSION
|
directory changen
|
|
./configure --prefix=/usr/local/apache2 --enable-mime-magic --enable-expires \ --enable-headers --enable-ssl --enable-http --enable-info --enable-dir \ --enable-rewrite --enable-so
|
build konfigurieren
|
|
make -j4
|
builden
|
|
make install
|
installieren
|
|
mkdir /usr/src/php5
|
dir erstellen
|
|
cp php-VERSION.tar.gz /usr/src/php5
|
archiv kopieren
|
|
cd /usr/src/php5
|
directory changen
|
|
gunzip < php-VERSION.tar.gz | tar -xvjf
|
archive entpacken
|
|
cd php-VERSION
|
directory changen
|
|
apt-get install libxml2-dev
|
dependencies installieren
|
|
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql=shared,/usr/local/mysql --with-zlib --with-gettext --with-gdbm --with-sqlite
|
build konfigurieren
|
|
make -j4
|
builden
|
|
make install
|
installieren
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.