<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Linux - Home</title>
  <id>tag:linux.jivko.net,2007:mephisto/</id>
  <generator version="0.7.3" uri="http://mephistoblog.com">Mephisto Noh-Varr</generator>
  <link href="http://linux.jivko.net/feed/atom.xml" rel="self" type="application/atom+xml"/>
  <link href="http://linux.jivko.net/" rel="alternate" type="text/html"/>
  <updated>2006-12-14T20:32:42Z</updated>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:25</id>
    <published>2006-12-14T20:30:00Z</published>
    <updated>2006-12-14T20:32:42Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/remove-svn-directories-from" rel="alternate" type="text/html"/>
    <title>Remove .svn  directories from ...</title>
<content type="html">
            find ./ -name &quot;.svn&quot; -type d -exec rm -rf \{} \;
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:24</id>
    <published>2006-12-14T20:29:00Z</published>
    <updated>2006-12-14T20:30:28Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/apache2-php-4-4-x" rel="alternate" type="text/html"/>
    <title>Apache2 PHP 4.4.x</title>
<content type="html">
            *PHP

./configure --prefix=/usr/local/php/ --with-gd  --with-mysql=/usr  --with-openssl  --with-zlib --with-jpeg-dir --with-inifile --with-png-dir --disable-cgi
--with-apxs2=/usr/local/apache2/bin/apxs --with-mysql-sock --with-iconv=/usr/local
make
make install
cp -p .libs/libphp4.so /usr/local/apache/modules

*Apache2
httpd.conf
   include /usr/local/apache2/conf/modules/*.conf

php.conf
# PHP Configuration for Apache
#
# Load the apache module
#
LoadModule php4_module modules/libphp4.so
#
# Cause the PHP interpreter handle files with a .php extension.
#
Files *.php
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 9524288
/Files
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:22</id>
    <published>2006-12-14T20:27:00Z</published>
    <updated>2006-12-14T20:27:15Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/apache2-fastcgi-subversion" rel="alternate" type="text/html"/>
    <title>Apache2-FastCGI, Subversion</title>
<content type="html">
            *Apache-2.0.x
./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --enable-cgi --enable-vhost-alias --enable-suexec --enable-dav
make
make install

*mod_fastcgi-2.4.2

cp Makefile.AP2 Makefile
make
make install

*Subversion 1.3.0

./configure --with-apxs=/usr/local/apache2/bin/apxs
rm /usr/local/lib/libsvn* -v
make clean &amp;&amp; make &amp;&amp; make install
ldconfig

svnadmin create /somedir/svn/repos/test

Apache config adds:

&amp;lt;location /&gt;
          DAV svn
          #SVNPath /somedir/svn/repos
          SVNParentPath /somedir/svn/repos
          Satisfy Any
&amp;lt;/location&gt;
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:23</id>
    <published>2006-12-14T20:27:00Z</published>
    <updated>2006-12-14T20:27:58Z</updated>
    <category term="slackware"/>
    <link href="http://linux.jivko.net/2006/12/14/sqlite-trac-subversion-slackware-10-2" rel="alternate" type="text/html"/>
    <title>Sqlite - Trac - Subversion - Slackware 10.2</title>
<content type="html">
            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 &amp;&amp; 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 &amp;&amp; make install
make swig-py &amp;&amp; make install-swig-py
ldconfig

*clearsilver
tar -xzvf clearsilver-0.10.1.tar.gz
cd clearsilver-0.10.1
./configure
make &amp;&amp; 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 &amp;&amp; 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
&amp;lt;location&gt;
  SetEnv TRAC_ENV &quot;/somedir/trac/project_name&quot;
&amp;lt;/location&gt;

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 ! 
:)
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:20</id>
    <published>2006-12-14T20:25:00Z</published>
    <updated>2006-12-14T20:25:32Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/cool-settings-for-linksys-wrt54g-wireless-router" rel="alternate" type="text/html"/>
    <title>Cool settings for linksys wrt54g wireless router</title>
<content type="html">
            RTS Threshold: 2304
Beacon Interval: 200
MTU Size: 1400
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:21</id>
    <published>2006-12-14T20:25:00Z</published>
    <updated>2006-12-14T20:26:11Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/mysql-replace-content-of-field" rel="alternate" type="text/html"/>
    <title>Mysql replace content of field</title>
<content type="html">
            update dbtable set field = replace(field,'search_string','replace_with ');
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:19</id>
    <published>2006-12-14T20:23:00Z</published>
    <updated>2006-12-14T20:24:47Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/rsync" rel="alternate" type="text/html"/>
    <title>rsync</title>
<content type="html">
            rsync -a &quot;username@yourdomain.tld:/home/username/public&quot; /path/to/local/backupdir/ --times --links --recursive --hard-links -e ssh --progress --delete


# Type ssh-keygen -d to generate your ssh keys
# Copy the contents of your public key ~/.ssh/id_dsa.pub in you local directory to the file /home/username/.ssh/authorized_keys on your account.
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:18</id>
    <published>2006-12-14T20:20:00Z</published>
    <updated>2006-12-14T20:20:25Z</updated>
    <category term="slackware"/>
    <link href="http://linux.jivko.net/2006/12/14/xliquid-gtk-theme-manual-install-ot-slackware" rel="alternate" type="text/html"/>
    <title>XLiquid GTK theme manual install ot Slackware</title>
<content type="html">
            1.Download Xliquid_GTK-x.x.x.tar.gz ( http://themes.freshmeat.net/projects/xliquid_gtk/ )
2.Extract
3.Make directory  &quot;$HOME/.gtk_themes/&quot;
4.Move extracted Xliquid_GTK-x.x.x dir to &quot;$HOME/.gtk_themes/&quot;
5.make in your $HOME directory file .gtkrc-2.0
6. Put in .gtkrc-2.0 
include &quot;$HOME/.gtk_themes/XLiquid_GTK-1.0.3/gtk-2.0/gtkrc&quot; 
7.From KDE-&gt;Control Center-&gt;Appearance &amp; Themes-&gt;Colors - uncheck &quot;Apply colors too non-KDE applications&quot;
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
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:16</id>
    <published>2006-12-14T20:18:00Z</published>
    <updated>2006-12-14T20:18:48Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/slack-manual-useradd-script" rel="alternate" type="text/html"/>
    <title>Slack - Manual useradd script</title>
<content type="html">
            #!/bin/sh
user=$1

echo Adding user: $user
useradd -g users -s /dev/null -d /www/$user $user
echo Create user dir: /www/$user
mkdir /www/$user
chdmod 755 -R /www/$user
chown -R $user.users /www/$user
echo Set password for $user
passwd $user
echo User:$user UserHome: /www/$user Password is Set AddOn:`date` &gt;&gt;/tmp/adduser.log
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:17</id>
    <published>2006-12-14T20:18:00Z</published>
    <updated>2006-12-14T20:19:13Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/slackware-rsync-inetd" rel="alternate" type="text/html"/>
    <title>Slackware, rsync, inetd</title>
<content type="html">
            rsyncd configuration:
/etc/rsyncd.conf - For configuration details see http://rsync.samba.org/

rsync and inetd - add to /etc/inetd.conf
#rsync
rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon
killall -HUP inetd - restart inetd
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:15</id>
    <published>2006-12-14T20:16:00Z</published>
    <updated>2006-12-14T20:18:09Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/mysql-4-1-x-utf8" rel="alternate" type="text/html"/>
    <title>Mysql 4.1.x utf8</title>
<content type="html">
            my.cnf
[client]
port = 3306
character-sets-dir=/usr/share/mysql/charsets/
default-character-set=utf8


# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port = 3306

#init_connect='SET collation_connection = utf8_general_ci'
#init_connect='SET NAMES utf8'
default-character-set=utf8
character-set-server=latin1
#collation-server = utf8_general_ci

[mysql]
default-character-set=utf8


mysqldump --user=username --password=password --default_character-set=latin1 --skip-set-charset dbname &gt; dump.sql
chgrep latin1 utf8 dump.sql
mysql --user=username --password=password --execute=&quot;DROP DATABASE dbname; CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci;&quot;
mysql --user=username --password=password --default-character-set=utf8 dbname &amp;lt; dump.sql
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:14</id>
    <published>2006-12-14T20:15:00Z</published>
    <updated>2006-12-14T20:15:42Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/postfix-install-mysql-sasl-todo-postfix-conf-files-clamav-pop-before-smtp" rel="alternate" type="text/html"/>
    <title>Postfix install mysql, sasl (todo: postfix conf files, clamav, pop-before-smtp)</title>
<content type="html">
            Cyrus-sasl -&gt; ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
Couirier(Imap. Maildrop, Auth)-&gt; http://www.courier-mta.org/
http://kent.dl.sourceforge.net/sourceforge/courier/courier-imap-4.0.6.tar.bz2
AuthLib-&gt; http://kent.dl.sourceforge.net/sourceforge/courier/courier-authlib-0.57.tar.bz2

Clamav -&gt; http://www.clamav.net/
PopBeforeSmtp -&gt; http://popbsmtp.sourceforge.net/
Postfix -&gt; http://www.postfix.org/


#######################################################################
###Postfix

tar -xzvf postfix-*.tar.gz
cd postfix-*
make makefiles CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -I/usr/local/include/sasl AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm -L/usr/local
/lib -lsasl
make

mv /usr/sbin/sendmail /usr/sbin/sendmail.OFF
mv /usr/bin/newaliases /usr/bin/newaliases.OFF
mv /usr/bin/mailq /usr/bin/mailq.OFF
chmod 755 /usr/sbin/sendmail.OFF /usr/bin/newaliases.OFF /usr/bin/mailq.OFF
#Adding postfix, postdrop user and groups
groupadd postfix
useradd -g postfix -s /dev/null postfix
groupadd postdrop
#Install Postfix
make install

#######################################################################
###Courier AuthLib ver 0.57

./configure --with-mysql-libs=/usr/lib/mysql/ --with-mysql-includes=/usr/include/mysql/ --with-authmysql --with-authmysql=yes
make
make install
make install-configure

#######################################################################
###Courier Imap
#Options foc courier-imap
#--enable-unicode
#--with-trashquota
#--disable-root-check

./configure --enable-workarounds-for-imap-client-bugs --with-authchangepwdir --enable-unicode --with-trashquota --disable-root-check
make
make install
make install-configure
#######################################################################
###postfix.sh
#!/bin/sh

        case &quot;$1&quot; in
                start)
                        echo &quot;Starting POSTFIX...&quot;
                        /usr/sbin/postfix start
                        ;;
                stop)
                        echo &quot;Stopping POSTFIX...&quot;
                        /usr/sbin/postfix stop
                        ;;
                restart)
                        echo &quot;Restarting POSTFIX...&quot;
                        /usr/sbin/postfix stop
                        sleep 1;
                        /usr/sbin/postfix start
                        ;;
                reload)
                        echo &quot;Restarting POSTFIX...&quot;
                        /usr/sbin/postfix reload
                        ;;
                *)
                        echo &quot;usage [start] [stop] [restart] [reload]&quot;
                        ;;
                esac
        exit 0
#######################################################################

###Pop Before Smtmp
#Install requiered Perl modules
perl -MCPAN -e 'install Time::HiRes'
perl -MCPAN -e 'install File::Tail'
perl -MCPAN -e 'install Date::Parse'
perl -MCPAN -e 'install Net::Netmask'
perl -MCPAN -e 'install DB_File'
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:12</id>
    <published>2006-12-14T20:13:00Z</published>
    <updated>2006-12-14T20:13:43Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/alpha-ver-dummy-install-script-modssl-apache-libiconv-postgre-php" rel="alternate" type="text/html"/>
    <title>alpha ver dummy install script: ModSSL, Apache, Libiconv, Postgre, PHP</title>
<content type="html">
            MOD SSL
cd mod*
./configure \
    --with-apache=../apache_1.3.33 \
    --prefix=/usr/local/apache

#APACHE
cd apache*
./configure --prefix=/usr/local/apache --enable-module=so --enable-module=rewrite --enable-module=ssl
make
make certificate
make install

#LIBICONV
cd libiconv-1.9.1
./configure
make
make install

#POSTGRE
cd postgre*
./configure
gmake
gmake install
        #Manual steps:
        #useradd 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 &gt;logfile 2&gt;&amp;1 &amp;
        #/usr/local/pgsql/bin/createdb test
        #/usr/local/pgsql/bin/psql test

#PHP
cd php*
./configure --prefix=/usr/local/php/ --with-gd  --with-mysql  --with-openssl  --with-zlib --with-jpeg-dir --with-inifile --with-png-dir --disable-cgi --wit
h-apxs=/usr/local/apache/bin/apxs --with-mysql-sock --with-iconv=/usr/local
make
make install
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:13</id>
    <published>2006-12-14T20:13:00Z</published>
    <updated>2006-12-14T20:15:07Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/firefox-jre-manual" rel="alternate" type="text/html"/>
    <title>Firefox JRE Manual</title>
<content type="html">
            In Firefox plugin directory make link:
ln -s /usr/java/jre1.5.0_03/plugin/i386/ns7/libjavaplugin_oji.so ./libjavaplugin_oji.so
          </content>  </entry>
  <entry xml:base="http://linux.jivko.net/">
    <author>
      <name>jivko</name>
    </author>
    <id>tag:linux.jivko.net,2006-12-14:10</id>
    <published>2006-12-14T20:11:00Z</published>
    <updated>2006-12-14T20:11:36Z</updated>
    <link href="http://linux.jivko.net/2006/12/14/user-add-script" rel="alternate" type="text/html"/>
    <title>user add script</title>
<content type="html">
            ADD_USER:

#!/bin/sh
user=$1
echo Adding user: $user
useradd -s /dev/null $user
echo $user add on:`date` &gt;&gt;users
          </content>  </entry>
</feed>
