Compile of LightTPD version 1.4.33 on linux UBUNTU Server
$10-30 USD
Cancelled
Posted about 10 years ago
$10-30 USD
Paid on delivery
I need someone to compile LIGHTTPD 1.4.33 so that it works properly on my UBUNTU 13.10 Server
I've done this before on 13.04, and I've already pre-installed all the source code, compilers, headers EVERYTHING onto the 13.10 Server
It compiles OK (MAKE INSTALL) works without error - but the Server will not actually start once its done.
Perhaps its something to do with the LIB PATH or whenever - I have no idea.
I've written out the step by step instructions below as to what I've done.
I have successfully reached the bottom of Step 8 - except the damn LIGHTTPD server won't actually start.
First reply from someone who knows what they're doing gets the job. This IS URGENT, so please only bid if you can start ASAP.
PS - The job is to ACTUALLY make it work - not to TRY to make it work - I won't pay if the server doesn't work when you're done.
Thanks
STEPS USED!
Prerequisites:
========================================================
[login to view URL] distribution of lighttpd. Here we used version, "1.4.33".
[login to view URL]
[login to view URL] you need mariadb headers and mariadb database.
Procedure:
========================================================
*** STEP 0 *** : Please decompress the lighttpd source and get into the directory.
tar -xzf [login to view URL]
cd lighttpd-1.4.33
*** STEP 1 *** : Open the [login to view URL] , look for the 'plugins=mod_mysql_vhost' section (somewhere around line 668).
Now put the following code in a new para at around line 681, like the others.
# DJT - Added the facility to directly write the access log out to the database. This allows the tracking of pixel downloads
plugins="mod_mysql_accesslog"
if test ! "x$MYSQL_LIBS" = x; then
do_build="$do_build $plugins"
else
no_build="$no_build $plugins"
fi
*** STEP 2 ***. Open in file src/Makefile.am.
Add the following lines somewhere near the other module definitions (like, lib_LTLIBRARIES += [login to view URL]) - AROUND LINE 138
# DJT - Added the facility to directly write the access log out to the database. This allows the tracking of pixel downloads
lib_LTLIBRARIES += [login to view URL]
mod_mysql_accesslog_la_SOURCES = mod_mysql_accesslog.c
mod_mysql_accesslog_la_LDFLAGS = -module -export-dynamic -avoid-version -no-undefined
mod_mysql_accesslog_la_LIBADD = $(MYSQL_LIBS) $(common_libadd)
mod_mysql_accesslog_la_CPPFLAGS = $(MYSQL_INCLUDE)
*** STEP 3 ***. I am not sure it is needed, but you can edit the src/SConscript file at around LINE 79,
'mod_mysql_vhost' : { 'src' : [ 'mod_mysql_vhost.c' ], 'lib' : [ env['LIBMYSQL'] ] },
'mod_mysql_accesslog' : { 'src' : [ 'mod_mysql_accesslog.c' ], 'lib' : [ env['LIBMYSQL'] ] },
*** STEP 4 ***. Copy mod_mysql_accesslog.c into the src directory.
*** STEP 5 *** ....Make sure that libtool and gcc are installed as well as the mariaDB headers, i.e.
sudo apt-get install libtool"
"sudo apt-get install automake"
"sudo apt-get install libmariadbclient-dev" (MariaDB Headers)
"sudo apt-get install libpcre3-dev" (PERL development regex functions)
"sudo apt-get install libbz2-dev" (BZ2 Ziplib)
"sudo apt-get install make"
"sudo apt-get install pkg-config" should get everything required.....
From the base directory of lighttpd (lighttpd-1.4.33) execute the following:
a) sh ./[login to view URL]
b) ./configure --with-mysql
*** STEP 6 ***. Make sure that you see the following lines ,
Plugins:
enabled:
mod_mysql_accesslog
*** STEP 7 ***. Now run the following commands.
sudo make clean
sudo make
sudo make install
*** STEP 8 - USE THE CREATED DLL FILE ***
*** The ".SO" FILE HAS BEEN CREATED AT /src/.libs/ - filename is "[login to view URL]"
cd /lighttpd-1.4.33/src/.libs/
sudo cp mod_mysql_accesslog.* /usr/lib/lighttpd/
sudo service lighttpd restart (then check the [login to view URL] at "/var/log/lighttpd/")
/*SERVER WON'T START*/
Bonjour,
je peux t'aider pour fixer ton probleme ..
je suis disponible sur skype ou gtalk pour commencer maintenant.
mon pseudo skype : mohsensehili1
Merci
Hi, I'm Thai Nguyen from Vietnam. Currently, i am working for one of the most biggest outsource software companies in Vietnam as Senior System Administrator.
I have 6+ years experience on Linux System Administrator. So i am confident to get this job done with best quality.
let compile it now. let compile it now. let compile it now. let compile it now. let compile it now. let compile it now. let compile it now. let compile it now.
Linux expert, that is so easy, please let me do this, if you look into my review, you will know i am your best choice, please let expert do that, thanks!
Hi,
I have some experience with Linux and webservers. I can have a look at it. If I don't succeed, you don't have to pay.
Pls let me know if you are interested.
Cheers,
J.V.