Archives Posts
August 19th, 2008 by elizar
When we say or mention the word Web Server, the first thing that comes to our mind is Apache, right? (if you don’t then what are you doing here reading this? :-))
Apache is the most well known open source web server there is! Open source?? Make that the most wildly used webserver on the internet, period!
It is believed (and i know they made a survey or study about it) that Apache takes 90% of all web servers in the internet. Most web hosting company, and I’ve once worked in one, use Apache.
This post will talk about how to setup Apache for Virtual Hosting
Read the rest of this entry »
Archives Posts
April 5th, 2008 by elizar
First things first, check to see what available ftp server are there for Debian
atp-cache search ftp-server
This will suppose to to list all available ftp server . As you can see there are a few available server you can choose. Popular one is proftp.
To install the service do:
apt-get install proftp
This will start installing .. you know, displaying all those letters and words and stuff..
webserver:~# apt-get install proftpd
Reading package lists… Done
Building dependency tree… Done
The following extra packages will be installed:
libmysqlclient15off libpq4 mysql-common perl perl-modules ucf
Suggested packages:
libterm-readline-gnu-perl libterm-readline-perl-perl proftpd-doc
Recommended packages:
perl-doc debconf-utils
The following NEW packages will be installed:
libmysqlclient15off libpq4 mysql-common perl perl-modules proftpd ucf
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 9623kB of archives.
After unpacking 39.1MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Run proftpd from inetd or standalone?
inetd
standalone
Initially selected standalone here.
And you’re done!
To start up the FTP service:
/etc/init.d/proftpd start
Archives Posts
March 9th, 2008 by elizar
I bought my very first laptop last week which comes pre-installed with Windows Vista Home Basic.
My original plan was to erase the whole thing and put Ubuntu on it. Tried it couple of days ago but didn’t work out.
After the boot up from the CD (requested a copy of Ubuntu 7.10) it displayed the little cross hair, then nothing…
I thought it’s probably the Vista… So I put in XP.. coz I tried installing Ubuntu over XP before, but the same thing happened!
So I wonder if this is a hardware issue on my laptop? It’s a NEO Empriva 540SVBe.
Will do a search later.
Archives Posts
September 2nd, 2007 by elizar
After installing the required prerequisite for OpenLDAP installation, I ran into my first error in running the configure script:
…
checking db.h usability… no
checking db.h presence… no
checking for db.h… no
configure: error: BDB/HDB: BerkeleyDB not available
At first, I thought this was just a case of $PATH not set up properly (since /usr/local) in not in the path by default). After setting up the path:
# echo $PATH
/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/BerkeleyDB.3.3:/usr/local/BerkeleyDB.3.3/bin:/usr/local/BerkeleyDB.3.3/include/
#
I still have the error.
I then added the path for the include files in the env
env CPPFLAGS=-I/usr/local/Berkeley/include
Did the configure and…
checking for db.h… yes
That fixed…
Next error… 
Archives Posts
August 31st, 2007 by elizar
We’re trying to install OpenLDAP ver 2.3.38 on a Sun-Blade-100 (UltraSPARC-IIe) but the stupid workstation’s OS installation is so bare that it doesn’t even have packages for CC or GCC (I’m sure there’s a lot more).
So, before we could do the OpenLDAP compilation, we need to install first GCC and other prerequisite apps.
Here’s what I need to install on the box:
Need to install the following:
Donwload all packages on Sunfreeware and install.
change to the directory where the packages are located
# pkgadd -d <package name>
answer promp question (usually change of permission)
If all has been installed, we can proceed and compile OpenLDAP. Of course if that don’t work out, we could always installed it’s packaged version on Sunfreeware! 
Archives Posts
August 29th, 2007 by elizar
This is an OpenLDAP installation on the following system:
System Configuration: Sun Microsystems sun4u
Memory size: 1024 Megabytes
Sun-Blade-100 (UltraSPARC-IIe)
Prerequisites:
Depending on the requirements, there may be a need to install some third party softwares:
- OpenSSl
- Kerberos
- SASL
- Berkeley DB
- TCP Wrappers
- and others
Need to make sure the following variables is set:
| Variable |
Description |
| CC |
Specify alternative C Compiler |
| CFLAGS |
Specify additional compiler flags |
| CPPFLAGS |
Specify C Preprocessor flags |
| LDFLAGS |
Specify linker flags |
| LIBS |
Specify additional libraries |
(additional: Need to install gcc, ar (binutils) libiconv libintl-3.4.0-sol8-sparc-l as well as Berkeley DB on server)
With the initial installation I will set it up using
# ./configure
# make depend
# make
# make test
Finally,
# su root -c ‘make install’
That’s it, hopefully all will go well.. If it doesn’t, we’ll post the error (and hopefully solution).
Cheers!