Install shoutcast server

Download linux version from site http://www.shoutcast.com/download-files

Now edit sc_serv.conf

Find

Replace changeme with secure password. Other important options are

To start, run

To start in background, run

After you run, you will see

By default shoutcast run on port 8000. If you go to http://server28.hosthat.com:8000/ You will get […]

Read More…

error while loading shared libraries: libmysqlclient.so.16

On installing postfix from source, when running make install command i get error

This is because mysql library path is not in system library locations. To fix the error edit /etc/ld.so.conf

Add following line to end of the file

Now run ldconfig

[…]

Read More…

myisamchk: Argument list too long

When repairing a large database, i got following error

To fix the error, run SOLUTION 1

SOLUTION 2

See MySQL […]

Read More…

bind lighttpd to one ip address

I want to bind lighttpd on IP address 76.76.18.20, so i can use other IP’s for Apache, Apache have “Listen” option to bind apache to specific IP address.

Find

Replace with

See lighttpd […]

Read More…

configure: error: XML configuration could not be found

When i install php from source, i get the error

The problem is fixed by installing libxml2-devel

See Errors […]

Read More…

configure: error: Please reinstall the libcurl distribution

When compiling php from source for nginx web server, i get error

On checking, found curl-devel not installed

The problem is fixed by installing curl-devel

See Errors […]

Read More…

Auto restart lighttpd on crash

To restart lighttpd if it went down or crashed, create a file check_lighttpd.sh

With the following content

Make it executable

Create a file up.html on web root of your web site

Now set a cronjob to run every 5 minutes

Add following cronjob

See lighttpd […]

Read More…

install postfix from source code

Requirements

Create user

Download and Install Go to http://www.postfix.org/download.html and download latest version of postfix.

COMPILING

COMPILING WITH MYSQL SUPPORT

Now it ask many questions, just enter for every questions. See [[postfix make install questions]]

PRESS ENTER FOR ALL error while loading shared libraries: libmysqlclient.so.16

Show mails […]

Read More…

configure: error: No curses/termcap library found

On installing MySQL from source, i get error

SOLUTION Lets search for ncurses

To fix the problem, install ncurses-devel

On Debian/Ubuntu do

See Errors […]

Read More…

Lynx

lynx is a text based browser for Linux and FreeBSD http://lynx.isc.org Install lynx on CentOS/RHEL/Oracle Linux

Install lynx on Debian/Ubuntu

Install Lynx from Source

Install from ports on FreeBSD

On FreeBSD, to see if lynx is installed

See Linux Commands […]

Read More…