Nerd-Site “Beter to have 10 wireless access point in the air then one in your hand.”
www.nerd-site.com

Linux Quick Install Reference




Apache 2

1.tar -zxvf httpd-2.0.50-i686-pc-linux-gnu.tar.gz
2.cd httpd-2.0.5.0
3../configure --prefix=/usr/local/apache2
4.make
5.make install
6.cd /etc
7.edit file rc.local and insert the following line : /usr/local/apache2/bin/apachectl start to autostart apache on startup
8.Reboot or enter in a terminal the following line to start apache : /usr/local/apache2/bin/apachectl start
9.Open a browser and go to 127.0.0.1 and a apache screen will be displayed if the installation is done correctly.

Macromedia Flash Player 7

1.tar -zxvf install_flash_player_7_linux.tar.gz
2.cd install_flash_player_7_linux
3.Close all open browsers
4../flashplayer-installer
5.Follow the instruction in the terminal
6.Mozilla sometimes can be found in /usr/lib/mozilla-1.6
7.Preform another installation for every browser you have on you're system that needs to have flash
8.Open mozilla to check if the installation did his work go to Help->About Plugins

Ndiswrapper

1.tar -zxvf ndiswrapper-0.8.tar.gz
2.cd ndiswrapper-0.8
3.You need a recent kernel (2.6.0/2.4.20 or greater) with source + make sure there is a link to the source from the modules directory.
4.make install
5.Download the needed Windows XP drivers and unpack them an locate the .inf file for your card
6.ndiswrapper -i /path/to/inf/file
7.ndiswrapper -l
8.If you're driver is correctly installed and you have you're wlan adapter in you're system you will get a message like when entering the command line in nr 7. :
Installed ndis drivers:
drivername present
8.modprobe ndiswrapper
9.iwconfig
10.nr 9.Will print a list of installed wlan adapter remember the wlanX (where X is a number like 0) to set it up
11.iwconfig wlan0 mode Managed
12.iwconfig wlan0 essid ESSID-NAME-OF-AP
13.ifconfig wlan0 up
14.number 13 is iFconfig not iWconfig
15.ndiswrapper -m
16.After this i rebooted the system and rerun nr 8 trough 15
17.After that i went to System configuration (Systeeminstelling in dutch) and then i double clicked at network(netwerk in dutch)
18.A screen with network adapters is in front of you or not if none are installed.
19.Click on new (nieuw in dutch)
20.Select Wireless Connection (draadloze verbinding in dutch) and click on next (volgende in dutch)
21.Select the wireless adapter (draadloze kaart in dutch) and click on next (volgende in dutch)
22.Configure the adapter and click on next.
23.After ip configuration click on Finish(Toepassen in dutch) and you will go to the first screen before you clicked new now there is a wireless adapter installed.
24.Select the wireless adapter and click on activate. This will take a minute and if everything is correct you're adapter must now be working correctly. Try to ping somebody/something

MySQL from source files

1.groupadd mysql
2.useradd -g mysql mysql
3.tar -zxvf mysql-4.0.20.tar.gz
4.cd mysql-4.0.20
5../configure --prefix=/usr/local/mysql
6.make
7.make install
8.cp support-files/my-medium.cnf /etc/my.cnf
9.cd /usr/local/mysql
Before you continue make sure you have made a user mysql
10.bin/mysql_install_db --user=mysql
11.chown -R root .
12.chown -R mysql var
13.chgrp -R mysql .
14.!!! Very important do numbers 11 to 13 after number 10 !!!
15.To start mysql enter the following line : bin/mysqld_safe --user=mysql &
16.edit file rc.local and insert the following line : /usr/local/mysql/bin/mysqld_safe --user=mysql & to autostart mysql on startup
17.If you get any errors look with a text editor to all the files in : mysql/var

Mozilla Thunderbird

1.tar -zxvf thunderbird-0.7.1-686-linux-gtk2+xft.tar.gz
2.cd thunderbird
3../thunderbird

Nvidia Driver

1.init 3
2.sh NVIDIA-Linux-x86-1.0-6106-pkg1.run
3.Accept license
4.init 5
4.cd /etc/X11
5.edit the following file : xorg.conf
6.Change the following in section "Device" : Driver "nv" to Driver "nvidia"
7.Add the following in section "Module" : Load "glx"
8.remove the following in section "Module" : Load "dri" and Load "GLcore"
9.The document with extra options can be found : /usr/share/doc/NVIDIA_GLX-1.0/README

PHP

1.tar -zxvf php-5.0.0.tar.gz
2.cd php-5.0.0
3../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
4.make
4.make install
5.cp php.ini-dist /usr/local/lib/php.ini
6.cd /usr/local/apache2/conf
7.Check if the file : httpd.conf has the following line LoadModule php5_module modules/libphp.so
8.Add the following line to the file httpd.conf where all the other AddType are AddType application/x-httpd-php .php
9.Restart linux or apache
10.test if php works bij writing the following (remove the underscore) <_?phpinfo();?_>

MP3 support for xmms

1.rpm -i xmms-mpg123-1.2.7-.21.i386.rpm
2.start xmms and try to play a mp3 if it fails you need to try install the package again.most likely there was an error.

Xine dvd-player + Grafical User Interface

1.tar -zxvf xine-lib-1-rc5.tar.gz
2.cd xine-lib-1-rc5.tar.gz
3../configure
4.make
4.make check
5.make install
6.ldconfig
7.This part is about installing the GUI you need to have libpng installed
8.edit the file /etc/ld.so.conf and add the following line : /usr/local/lib
9.tar -zxvf xine-ui-099.2.tar.gz
10.cd xine-ui-099.2
11../configure
12.make
13.make check
14.make install

Libpng

1.tar -zxvf libpng-1.2.6.tar.gz
2.cd libpng-1.2.6
3.cp scripts/makefile.linux makefile
4.make
4.make install

DVD playback support for Xine if not supported

1.Type the following to see where you're dvd player is located ls -l /dev/cdrom must say something like /dev/cdrom -> /dev/hdb
2.type the following line to make a symbolic link ln -s /dev/placeofcdrom /dev/dvd

Divx codec

1.tar -zxvf divx4linux-std-20030428.tar.gz
2.cd divx4linux-20030428
3.sh install.sh

MPG123

1.tar -zxvf mpg123-0.59r.tar.gz
2.cd mpg123-0.59r
3.make linux
4.make install


Achievo (time registration)

1.You must have installed : Apache 2,PHP 4, mysql
2.cd /usr/local/apache2/htdocs
3.tar -zxvf achievo-stable-1.0.4.tar.gz
4.cd /usr/local/mysql/bin
I created a mysql where the password is empty.
4../mysql -u root --password= mysql
You are now at mysql level and you will see the following mysql>
5.create database achievo_1_0;
I left the password empty at identified by ''
6.grant create,alter,select,insert,update,delete on achievo_1_0.* to achievo@localhost identified by '';
7.quit;
Now you must be back at the normal prompt
8.cd /usr/local/apache2/htdocs/achievo-1.0.4
9.edit config.inc.php and change the following lines
$config_database = "mysql";
$config_databasehost = "localhost";
$config_databasename = "achievo_1_0";
$config_databaseuser = "root";
$config_databasepassword = "";
$config_administratorpassword = "password";
10.open a internet browser and go to http://localhost/achievo-1.0.4/setup.php and enter administrator and the correct password and follow the directions on the screen



Setting up Achievo

1.Login at http://localhost/achievo-1.0.4/setup.php and enter administrator and the password.
2.Click on employees followed by security profiles.
3.Enter the name manager and click on save after this you will get an option menu select everything that is applicable and click on save and close.
4.Click on employees out of the menu.
4.Click on employee add and enter data in the fields and save after this you will get an extra screen where you can add extra information but most important select a profile.
5.Login under you're new account.
6.Click setup followed by activitities and add some activities like : learning , etc.
7.Click roles and enter a project role like team leader and click on save.
8.Click schedule and enter appointments like external meeting and click on save.
9.Re-enter with admin. go to projects followed by projects and enter a project name a new page appears coordinator.
10.Add in the following tab planning one or more employees also correct the time for the project and add a phase like Main click on save and close
11.Not done yet ... Hint for webmaster

Upgrading kernel

1.tar -zxvf linux-2.6.8.tar.gz
2.cd linux-2.6.8
3.lspci (write the output down or print it)
4.cat /proc/cpuinfo (write the output down or print it)
4.make mrproper
5.make menuconfig
6.select everything you need if you are not sure click on help
7.exit the menu config
8.make
9.make bzImage
10.make modules
11.make modules_install
12.mkinitrd /boot/initrd-2.6.8.img 2.6.8
13.cp arch/i386/boot/bzImage /boot/bzImage-2.6.8
14.cp System.map /boot/System.map-2.6.8
15.ln -s /boot/System.map-2.6.8 /boot/System.map
15.Editing grub file
title New Kernel (2.6.8)
root (hd0,0)
kernel /boot/bzImage-2.6.8 ro root=LABEL=/
initrd /boot/initrd-2.6.8.img


GD library

1.tar -zxvf gd-2.0.28.tar.gz
2.cd gd-2.0.28
3../configure
4.make
4.make install

Webalizer

1.before you continue you must have installed the following : pnglib en GD library
2.tar -zxvf webalizer-2.01-10-src.tgz
3.cd webalizer-2.01-10
4../configure
4.make
5.make install
6.ldconfig -v /usr/local/lib
7.edit /etc/webalizer.cnf
8.crontab -e
9.place the following line to update every 3 minutes : 3 * * * * /usr/local/bin/webalizer


New

1.
2.
3.
4.
4.
5.
6.
7.
8.
9.
10.


New

1.
2.
3.
4.
4.
5.
6.
7.
8.
9.
10.


New

1.
2.
3.
4.
4.
5.
6.
7.
8.
9.
10.




Disclamer:
The following is written on my own situation "Linux Fedora Core 2 on a laptop".
If the installation didn't go as planned then read the INSTALL or README files included in most packages or go to the website for support.
Please do not e-mail me with any questions about how to install something because im not a Linux guru like Linus Torvalds and many others.
Last Update10-05-2008