$ PKG_CONFIG_PATH=/home/youruser/lib/pkgconfig ./configure --disable-nls --prefix=/home/youruser $ make $ make installThen I use this shellscript to start it:
export TRANSMISSION_WEB_HOME=/home/youruser/share/transmission/web nice -n 19 transmission-daemon -w ~/torrents -c ~/torrents -L 20 -M sleep 10 transmission-remote -GSR -u 700 -D -gpr 20 --encryption-toleratedWhen running it, be sure to set your maximum upload / download bandwidths based on your vhost pricing package. For a 200GB/month transfer, I limit to 50KB/sec. For 2TB/month, I use 700KB/sec. This leaves some headroom for other applications.
$ ./configure --prefix=/usr/local --with-included-popt $ make $ make installIf you need to run rsync as a daemon, I did so from xinetd. Note however, that you cannot make it listen on the default rsync port 873/tcp, because WestHost's own system backup tools running in the hosts (not the VPSs) bind to 873/tcp on all IP addresses, including those inside the VPSs. From WestHost support 2005-Dec-01:
rsync is used in the backup process for our servers. I am afraid that the setup of this process cannot be modified, as this would entail changing the configuration of our backup utilities system wide. I am sorry about the inconvenience, but you will need to configure rsync to run on a different port.
$ ./configure --with-username=myusername --with-groupname=vuser \ --prefix=/home/myusername/mailman --with-mail-gid=vuser \ --with-python=/usr/local/bin/python --with-mailhost=mydomain.com \ --with-urlhost=mydomain.com --with-cgi-gid=vuser $ make $ make installYou must also add a line:
SMTPHOST = 'mydomain.com'to mailman/Mailman/mm_cfg.py because sendmail listens on this, not on localhost.
$ ./configure --prefix=/usr/local --with-x=no \ --without-toolkit-scroll-bars --without-xim $ make $ make installRemove -g flag to gcc in Makefile before running make, else the binaries will segfault. I don't know why.
Daniel P Faigin also reports:
Actually, -g wasn't all that critical. What I ended up need to do was to edit configure, and change the default setting of doug_lea_malloc to no (the default is yes). Then it compile and ran just fine (this is emacs 21.3).
$ ./configure --with-shared --with-normal --without-debug \ --enable-overwrite --prefix=/home/myusername $ make $ make install
$ ./configure --with-included-gettext --prefix=/usr/local \ --enable-imap --enable-pop --with-curses=/home/myusername \ --with-ssl --without-gss $ make $ make install
$ ./configure --prefix=/usr/local $ make $ make install
$ ./configure --prefix=/usr/local $ make $ make installHere's my /etc/xinetd.conf file which provides rsync and IMAP services, and my /etc/rc.d/init.d/xinetd startup script.
$ ./configure --prefix=/usr/local $ make $ make install $ rm -rf /usr/local/man/*I also added this line to my .mailcap file so mutt calls elinks to display text/html messages:
text/html; elinks -dump -dump-charset iso-8859-15 -default-mime-type text/html %s; needsterminal; copiousoutput;
From: "Daniel P Faigin" In order for me to compile the tcsh shell, I had to edit the makefile to use -lncurses.
$ ./configure --prefix=/home/myusername $ make $ make install $ ldconfig
But of course, starting with the source from lftp-2.4.9-3.src.rpm on Red Hat's site, I was able to make this version work. Here's the source as extracted from the rpm. You need to specify --prefix, as it installs files in $prefix/lib/lftp, and /usr/local/lib isn't writeable by mortals. Since it packages its own libs too, you need to run ldconfig afterwards. You do have /home/myusername/lib in your /etc/ld.so.conf file, right?
$ ./configure --with-modules --disable-static \ --with-ssl=/usr/include/ssl --with-debug \ --with-included-readline --prefix=/home/myusername $ make $ make install $ ldconfig
WestHost 2.0 makes Perl 5.6.0 available in the Site Applications. That's great, but newer SpamAssassin (3.0.2) needs at least Perl 5.6.1. And I get a lot of spam (~200/day) which newer SA blocks better than older SA. So, to installer new SA, I need to build a newer Perl too. This is pretty simple. And to keep it clean, I install the new Perl in its own location, rather than the default.
$ cd /home/myusername $ mkdir perl586 $ cd perl-5.8.6 $ ./configure --prefix=/home/myusername/perl586 $ make $ make test (here a couple tests failed, related to localhost sockets, which because we're on a VPS aren't working quite as Perl expects. Ignore it.) $ make installThen if you use CPAN, install (using your new /home/myusername/perl586/bin/perl always!) the stuff it needs. Be sure to set makepl_arg to use your new location for PREFIX:
cpan> o conf makepl_arg "/home/myusername/perl586/bin/perl PREFIX=/home/myusername/perl586"Then CPAN can install Mail::SpamAssassin and its dependencies for you. If you don't set makepl_arg, then CPAN may automatically put stuff in /perl586, which isn't right, and won't work.
php_flag register_globals off
--- prefs.php.dist Sun Feb 23 12:10:04 2003 +++ prefs.php Sat Jan 22 21:31:26 2005 @@ -514,7 +514,7 @@ // user preferred sorting direction $_prefs['sortdir'] = array( - 'value' => 0, + 'value' => 1, 'locked' => false, 'shared' => false, 'type' => 'enum',
--- horde.php.dist Sun Feb 23 12:09:37 2003 +++ horde.php Sat Jan 22 22:54:08 2005 @@ -145,7 +145,7 @@ // (meaning use system defaults and don't save any user preferences), // 'session' (preferences only persist during the login), 'ldap', // and 'sql'. -$conf['prefs']['driver'] = 'none'; +$conf['prefs']['driver'] = 'sql'; // Any parameters that the preferences driver needs. This includes // database or ldap server, username/password to connect with, etc. @@ -154,12 +154,13 @@ // This is an example configuration for a MySQL preference backend. // The SQL script to setup the preference database is placed in // horde/scripts/db/prefs.sql. -// $conf['prefs']['params']['phptype'] = 'mysql'; -// $conf['prefs']['params']['hostspec'] = 'localhost'; -// $conf['prefs']['params']['username'] = 'horde'; -// $conf['prefs']['params']['password'] = '*****'; -// $conf['prefs']['params']['database'] = 'horde'; -// $conf['prefs']['params']['table'] = 'horde_prefs'; +$conf['prefs']['params']['phptype'] = 'mysql'; +$conf['prefs']['params']['hostspec'] = 'localhost'; +$conf['prefs']['params']['protocol'] = 'unix'; +$conf['prefs']['params']['username'] = 'horde'; +$conf['prefs']['params']['password'] = 'mynewpassword'; +$conf['prefs']['params']['database'] = 'horde'; +$conf['prefs']['params']['table'] = 'horde_prefs'; // This is an example configuration for an LDAP preference backend. // The schemas needed for ldap are in horde/scripts/ldap. For more
<VirtualHost *> ServerAlias www.mydomain.com </VirtualHost>