Install Trac with sqllite and subversion under slackware 10.2 *Swig tar -xzvf swig-1.3.27.tar.gz cd swig-1.3.25 ./configure --with-python=/usr/bin/python make && make install *subversion tar -xzvf subversion-1.3.0.tar.gz cd subversion-1.3.0 ./configure --with-apxs=/usr/local/apache2/bin/apxs --with-swig=/usr/local/ make && make install make swig-py && make install-swig-py ldconfig *clearsilver tar -xzvf clearsilver-0.10.1.tar.gz cd clearsilver-0.10.1 ./configure make && make install cd python python setup.py install *mod_python tar -xzvf mod_python-3.1.4.tgz.gz ./configure --with-apxs=/usr/local/apache2/bin/apxs make && make install make install_dso make install_py_lib LoadModule python_module /usr/local/apache2/modules/mod_python.so AddModule mod_python.c /usr/local/apache2/bin/apachectl stop /usr/local/apache2/bin/apachectl start *Sqlite tar -xzvf sqlite-3.2.8.tar.gz cd sqlite-3.2.8 ./configure make make install *pysqlite tar -xzvf pysqlite-2.0.5.tar.gz cd pysqlite-2.0.5 python setup.py build python setup.py install *Trac tar -xzvf trac-0.9.2.tar.gz python ./setup.py install ln -s /usr/local/lib/svn-python/svn/ /usr/lib/python2.4/site-packages/svn ln -s /usr/local/lib/svn-python/libsvn/ /usr/lib/python2.4/site-packages/libsvn ln -s /usr/local/lib/svn-python /usr/lib/python2.4/site-packages/svn-python trac-admin /somedir/trac/project_name initenv tracd --port 8000 /somedir/trac/project_name http://localhost:8000/project_name *Apache conf ScriptAlias /trac /usr/share/trac/cgi-bin/trac.cgi SetEnv TRAC_ENV "/somedir/trac/project_name" http://localhost/trac/ Software links: wget -r -L -c -nd http://initd.org/pub/software/pysqlite/releases/2.0/2.0.5/pysqlite-2.0.5.tar.gz wget -r -L -c -nd http://kent.dl.sourceforge.net/sourceforge/swig/swig-1.3.27.tar.gz wget -r -L -c -nd http://www.clearsilver.net/downloads/clearsilver-0.9.14.tar.gz wget -r -L -c -nd http://pysvn.tigris.org/files/documents/1233/26687/pysvn-1.3.1.tar.gz wget -r -L -c -nd http://ftp.edgewall.com/pub/trac/trac-0.9.2.tar.gz wget -r -L -c -nd http://www.sqlite.org/sqlite-3.2.8.tar.gz wget -r -L -c -nd http://apache.online.bg/httpd/modpython/mod_python-3.1.4.tgz Have Fun ! :)
1.Download Xliquid_GTK-x.x.x.tar.gz ( http://themes.freshmeat.net/projects/xliquid_gtk/ ) 2.Extract 3.Make directory "$HOME/.gtk_themes/" 4.Move extracted Xliquid_GTK-x.x.x dir to "$HOME/.gtk_themes/" 5.make in your $HOME directory file .gtkrc-2.0 6. Put in .gtkrc-2.0 include "$HOME/.gtk_themes/XLiquid_GTK-1.0.3/gtk-2.0/gtkrc" 7.From KDE->Control Center->Appearance & Themes->Colors - uncheck "Apply colors too non-KDE applications" 8. Restart your GTK Application and check the result :) I think this work with manual instalation of other GTK themes too. Other Links: http://baghira.sourceforge.net/download.shtml Baghira src install: ./configure --prefix=`kde-config --prefix` --disable-debug --enable-final make make install

Install PostgreSQL - Slackware

December 14th, 2006

cd postgresql-VER ./configure gmake su gmake install adduser postgres mkdir /usr/local/pgsql/data chown postgres /usr/local/pgsql/data su - postgres /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 & /usr/local/pgsql/bin/createdb test /usr/local/pgsql/bin/psql test

Options for clamav compile: add user and group clamav ./configure—enable-milter make make install ###############Configurations clamd.conf #############Start clamd.conf LogFile /var/log/clamav/clamd.log LogTime LogSyslog LogFacility LOG_MAIL PidFile /var/clamav/clamd.pid TemporaryDirectory /var/tmp DatabaseDirectory /var/lib/clamav LocalSocket /var/clamav/clamd.sock FixStaleSocket MaxConnectionQueueLength 30 ReadTimeout 300 MaxDirectoryRecursion 20 User root AllowSupplementaryGroups ScanOLE2 ScanMail ScanArchive ArchiveMaxFileSize 15M ArchiveBlockEncrypted ClamukoScanOnOpen ClamukoScanOnClose ClamukoScanOnExec ClamukoIncludePath /home #############Stop clamd.conf #############Start freshclam.conf DatabaseDirectory /var/lib/clamav UpdateLogFile /var/log/clamav/freshclam.log LogVerbose LogSyslog PidFile /var/clamav/freshclam.pid DatabaseOwner clamav DatabaseMirror database.clamav.net #############Stop freshclam.conf Add FreshClamAV to Crontab: #FreshClamAV 0 0 * * * /usr/local/bin/freshclam—quiet

rc scripts:

rc.clamd: #############Start rc.clamd #!/bin/sh
  1. Start/stop/restart clamd.
  1. Start clamd: clamd_start() { if [ -x /usr/local/sbin/clamd ]; then echo -n “Starting Clam AntiVirus Daemon: ” /usr/local/sbin/clamd fi }
  1. Stop clamd: clamd_stop() { killall clamd }
  1. Restart clamd: clamd_restart() { clamd_stop sleep 1 clamd_start }
case ”$1” in ‘start’) clamd_start ;; ‘stop’) clamd_stop ;; ‘restart’) clamd_restart ;; *) echo “usage $0 start|stop|restart” esac #############Start rc.clamd rc.clamav-milter #############Start rc.clamav-milter #!/bin/sh
  1. Start/stop/restart clamav-milter.
  2. Local clamav-milter config CLAMAV_FLAGS=” -config-file=/usr/local/etc/clamd.conf—max-children=50—force-scan—dont-log-clean—noreject—bounce—local—outgoing—quarantine dir=/var/mail/quarantine /var/clamav/clmilter.sock”
  1. Start clamav-milter: clamav_milter_start() { if [ -x /usr/local/sbin/clamav-milter ]; then echo -n “Starting Clamav Milter Daemon: ” rm -rf /var/clamav/clmilter.sock /usr/local/sbin/clamav-milter ${CLAMAV_FLAGS} fi }
  1. Stop clamav-milter: clamav_milter_stop() { echo -n “Stopping Clamav Milter Daemon: ” killall clamav-milter rm -rf /var/clamav/clmilter.sock }
  1. Restart clamav-milter: clamav_milter_restart() { clamav-milter_stop sleep 1 clamav-milter_start }
case ”$1” in ‘start’) clamav_milter_start ;; ‘stop’) clamav_milter_stop ;; ‘restart’) clamav_milter_restart ;; *) echo “usage $0 start|stop|restart” esac #############Stop rc.clamav-milter rc.M: add: Add start clamd and clamav-milter before start Sendmail
  1. Start the clamav daemon: if [ -x /etc/rc.d/rc.clamd ]; then . /etc/rc.d/rc.clamd start fi
  1. Start the clamav-milter daemon: if [ -x /etc/rc.d/rc.clamav-milter ]; then . /etc/rc.d/rc.clamav-milter start fi
  1. Start the sendmail daemon: if [ -x /etc/rc.d/rc.sendmail ]; then . /etc/rc.d/rc.sendmail start fi Senmail.cf add:
  2. Input mail filters O InputMailFilters=clmilter
  1. Milter options #O Milter.LogLevel O Milter.macros.connect=j, _, {daemon_name}, {if_name}, {if_addr} O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer} O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr} O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr} ###################################################################### ###################################################################### #####
    1. MAIL FILTER DEFINITIONS ##### ###################################################################### ###################################################################### Xclmilter, S=local:/var/clamav/clmilter.sock,F=, T=S:4m;R:4m