Activities

March 2008
M T W T F S S
    May »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Debian-Package Installations

######### How to install java on debian######################
Add the follwing repository into /etc/apt/sources.list
#Local Mirror
deb ftp://gulus.usherbrooke.ca/debian/ etch main contrib non-free
#deb-src ftp://gulus.usherbrooke.ca/debian/ etch main contrib non-free
#Security
deb http://security.debian.org/ etch/updates main contrib non-free
#deb-src http://security.debian.org/ etch/updates main contrib non-free

#Multimedia, from local mirror
deb ftp://gulus.usherbrooke.ca/debian-multimedia/ etch main
#deb-src ftp://gulus.usherbrooke.ca/debian-multimedia/ etch main

#Beryl
deb http://debian.beryl-project.org etch main
#deb-src http://debian.beryl-project.org etch main

then exicute the follwing commands

sudo apt-get install sun-java5-jre
sudo apt-get install sun-java5-plugin

################ How to install Subversion on Debian ###################

#apt-get install libapache2-svn subversion subversion-tools

##################### How to install VNCsever on Debian ##############
#apt-get install vnc4server

configaration file /etc/vnc.conf
Installing VNC Client is very simple:

#apt-get install xvnc4viewer

Once it’s installed you can connect to a running server by using:

Xvnc4viewer hostname

If invoked with no arguments you’ll be prompted for the host you wish to connect to, and if necessary a password.

################ apache_mod_python installation ##############
download http://mirrors.24-7-solutions.net/pub/apache/httpd/modpython/mod_python-3.3.1.tgz
then install apache extension tool
#apt-get install apache2-threaded-dev
untar and configure it with
# ./configure –with-apxs=/usr/bin/apxs2
######################### Installing Postgressql on debain #######
#apt-get install postgresql postgresql-dev postgresql-client postgresql-doc
enabling php-pgsql

######## Enabling Pgsql module on apache-php module ##########
#apt get install php5-pgsql
################ Debain installation of apache 1.3.34 ################

apt-get install apache
apt-get install apache-common
apt-get install apache-dbg
apt-get install apache-dev
apt-get install apache-doc
apt-get install apache-perl
apt-get install apache-ssl
apt-get install libapache-mod-perl
apt-get install libapache-mod-ssl
apt-get install libapache-mod-php5

######## Ruby on Rails installation on Debian server ######################
apt-get install ruby libzlib-ruby rdoc irb rubygems rails eruby
apt-get install libapache2-mod-fcgid libfcgi-ruby1.8 ruby1.8-dev

Afterwards, we enable a few Apache modules:
a2enmod ssl
a2enmod rewrite
a2enmod suexec

a2enmod include
#/etc/init.d/apache2 force-reload this may help u reload the entire processes
apt-get install libmysql-ruby
apt-get install libpgsql-ruby

######## Optional Libraries ##########
apt-get install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8 libreadline-ruby1.8 libruby1.8
# ln -s /usr/bin/ruby1.8 /usr/local/bin/ruby
# ln -s /usr/bin/ri1.8 /usr/local/bin/ri
# ln -s /usr/bin/rdoc1.8 /usr/local/bin/rdoc
# ln -s /usr/bin/irb1.8 /usr/local/bin/irb
# apt-get install gcc-3.4-doc gcc-3.4 g++-3.4
#apt-get install libfcgi-dev
Now lets install the ruby-fcgi bindings from source so we no we have the good ones:
wget http://sugi.nemui.org/pub/ruby/fcgi/ruby-fcgi-0.8.6.tar.gz
tar xzvf ruby-fcgi*
cd ruby-fcgi-0.8.6
ruby install.rb config
ruby install.rb setup
sudo ruby install.rb install
Now lets make sure it works:
root@example:~/ruby-fcgi-0.8.6# irb
irb(main):001:0> require ‘fcgi’
=> true
irb(main):002:0>
http://brainspl.at/pages/perfect_vps/
apt-get install esvn
apt-get install libmysql-ruby
apt-get install libmysql-ruby1.8
apt-get install libmysqlclient14-dev
gem install mysql
################## Reconfigure X server in Debain ###################
#dpkg-reconfigure xserver-xorg
################# installing MySQL on Debian ################
Install MySQL
#apt-get install mysql-server mysql-client libmysqlclient12-dev
Set your mysql root password
# mysqladmin -u root password yourrootsqlpassword
####### MySQL trouble shooing #######
Symptoms: After installing mysql on Debian using Debain binaries. It won’t allow anyone connect it from remotely even though we have given privileges to the user from MySQL console.
Solution is listed below
a, When you run $netstat -tap you should now see a line like this:

tcp 0 0 localhost.localdo:mysql *:*
which means that MySQL is accessible on 127.0.0.1 on port 3306.
b, If you do not see this line, edit /etc/mysql/my.cnf and comment out skip-networking or remove the file from there
# skip-networking
If you want MySQL to listen on all available IP addresses, edit /etc/mysql/my.cnf and comment out bind-address = 127.0.0.1:
# bind-address = 127.0.0.1:
If you had to edit /etc/mysql/my.cnf you have to restart MySQL:
#/etc/init.d/mysql restart
############### Debian Default fonts location ######################
/usr/share/fonts/truetype
############### Debian SQLite Installation ################3
* Use apt-get install python-sqlite to install pysqlite 1.0.
* Use apt-get install python-pysqlite1.1 to install pysqlite 1.1.
* Use apt-get install python-pysqlite2 to install pysqlite 2.x.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>