Linux linux.jivkobg.com

Linux linux.jivkobg.com Remove .svn directories from ... December 14th, 2006 find ./ -name ".svn" -type d -exec rm -rf \{} \; Posted by jivko Filed in 3 comments » Apache2 PHP 4.4.x December 14th, 2006 *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 --with-mysql-sock --with-iconv=/usr/localmakemak installcp -p .libs/libphp4.so /usr/local/apache/modules*Apac include /usr/local/apache2/conf/module 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 *.phpSetOutputFilter PHPSetInputFilter PHPLimitRequestBody 9524288/FilesAddType application/x-httpd-php .phpAddType application/x-httpd-php-source .phps## Add index.php to the list of files that will be served as directory# indexes.#DirectoryIndex index.php Posted by jivko Filed in 0 comments » Apache2-FastCGI, Subversion December 14th, 2006 *Apache-2.0.x./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --enable-cgi --enable-vhost-alias --enable-suexec --enable-davmakemake install*mod_fastcgi-2.4.2cp Makefile.AP2 Makefilemakemake install*Subversion 1.3.0./configure --with-apxs=/usr/local/apache2 /usr/local/lib/libsvn* -vmake clean && make && make installldconfigsvnadmin create /somedir/svn/repos/testApache config adds: DAV svn #SVNPath /somedir/svn/repos SVNParentPath /somedir/svn/repos Satisfy Any Posted by jivko Filed in 0 comments » Sqlite - Trac - Subversion - Slackware 10.2 December 14th, 2006 Install Trac with sqllite and subversion under slackware 10.2*Swigtar -xzvf swig-1.3.27.tar.gzcd swig-1.3.25./configure --with-python=/usr/bin/pythonm && make install*subversiontar -xzvf subversion-1.3.0.tar.gzcd subversion-1.3.0./configure --with-apxs=/usr/local/apache2 --with-swig=/usr/local/make && make installmake swig-py && make install-swig-pyldconfig*clears -xzvf clearsilver-0.10.1.tar.gzcd clearsilver-0.10.1./configurem && make installcd pythonpython setup.py install*mod_pythontar -xzvf mod_python-3.1.4.tgz.gz./confi --with-apxs=/usr/local/apache2 && make installmake install_dsomake install_py_libLoadModule python_module /usr/local/apache2/modules/mod mod_python.c/usr/local/apache2 stop/usr/local/apache2/bin/apa start*Sqlitetar -xzvf sqlite-3.2.8.tar.gzcd sqlite-3.2.8./configuremakemak install*pysqlitetar -xzvf pysqlite-2.0.5.tar.gzcd pysqlite-2.0.5python setup.py buildpython setup.py install*Tractar -xzvf trac-0.9.2.tar.gzpython ./setup.py installln -s /usr/local/lib/svn-python/svn/ /usr/lib/python2.4/site-packag -s /usr/local/lib/svn-python/libs /usr/lib/python2.4/site-packag -s /usr/local/lib/svn-python /usr/lib/python2.4/site-packag /somedir/trac/project_name initenvtracd --port 8000 /somedir/trac/project_namehttp confScriptAlias /trac /usr/share/trac/cgi-bin/trac.c SetEnv TRAC_ENV "/somedir/trac/project_name"ht links:wget -r -L -c -nd http://initd.org/pub/software/ -r -L -c -nd http://kent.dl.sourceforge.net -r -L -c -nd http://www.clearsilver.net/dow -r -L -c -nd http://pysvn.tigris.org/files/ -r -L -c -nd http://ftp.edgewall.com/pub/tr -r -L -c -nd http://www.sqlite.org/sqlite-3 -r -L -c -nd http://apache.online.bg/httpd/ Fun ! :) Posted by jivko Filed in slackware 0 comments » Cool settings for linksys wrt54g wireless router December 14th, 2006 RTS Threshold: 2304Beacon Interval: 200MTU Size: 1400 Posted by jivko Filed in 2 comments » Mysql replace content of field December 14th, 2006 update dbtable set field = replace(field,'search_string', '); Posted by jivko Filed in 4 comments » rsync December 14th, 2006 rsync -a ":/home/username/public" /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 on your account. Posted by jivko Filed in 0 comments » XLiquid GTK theme manual install ot Slackware December 14th, 2006 1.Download Xliquid_GTK-x.x.x.tar.gz ( http://themes.freshmeat.net/pr )2.Extract3.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.06. Put in .gtkrc-2.0 include "$HOME/.gtk_themes/XLiquid_GTK 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.sourcefor src install:./configure --prefix=`kde-config --prefix` --disable-debug --enable-finalmakemake install Posted by jivko Filed in slackware 0 comments » Slack - Manual useradd script December 14th, 2006 #!/bin/shuser=$1echo Adding user: $useruseradd -g users -s /dev/null -d /www/$user $userecho Create user dir: /www/$usermkdir /www/$userchdmod 755 -R /www/$userchown -R $user.users /www/$userecho Set password for $userpasswd $userecho User:$user UserHome: /www/$user Password is Set AddOn:`date` >>/tmp/adduser.log Posted by jivko Filed in 4 comments » Slackware, rsync, inetd December 14th, 2006 rsyncd configuration:/etc/rsyncd.conf - For configuration details see http://rsync.samba.org/rsync and inetd - add to /etc/inetd.conf#rsyncrsync stream tcp nowait root /usr/bin/rsync rsyncd --daemonkillall -HUP inetd - restart inetd Posted by jivko Filed in 0 comments » Mysql 4.1.x utf8 December 14th, 2006 my.cnf[client]port = 3306character-sets-dir=/usr/sh Here follows entries for some specific programs# The MySQL server[mysqld]port = 3306#init_connect='SET collation_connection = utf8_general_ci'#init_connect= NAMES utf8'default-character-set=utf = utf8_general_ci[mysql]default- --user=username --password=password --default_character-set=latin1 --skip-set-charset dbname > dump.sqlchgrep latin1 utf8 dump.sqlmysql --user=username --password=password --execute="DROP DATABASE dbname; CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci;"mysql --user=username --password=password --default-character-set=utf8 dbname < dump.sql Posted by jivko Filed in 1 comments » Postfix install mysql, sasl (todo: postfix conf files, clamav, pop-before-smtp) December 14th, 2006 Cyrus-sasl -> ftp://ftp.andrew.cmu.edu/pub/c Maildrop, Auth)-> http://www.courier-mta.org/htt http://kent.dl.sourceforge.net -> http://www.clamav.net/PopBefor -> http://popbsmtp.sourceforge.ne -> http://www.postfix.org/####### -xzvf postfix-*.tar.gzcd 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 -lsaslmakemv /usr/sbin/sendmail /usr/sbin/sendmail.OFFmv /usr/bin/newaliases /usr/bin/newaliases.OFFmv /usr/bin/mailq /usr/bin/mailq.OFFchmod 755 /usr/sbin/sendmail.OFF /usr/bin/newaliases.OFF /usr/bin/mailq.OFF#Adding postfix, postdrop user and groupsgroupadd postfixuseradd -g postfix -s /dev/null postfixgroupadd postdrop#Install Postfixmake install####################### AuthLib ver 0.57./configure --with-mysql-libs=/usr/lib/mys --with-mysql-includes=/usr/inc --with-authmysql --with-authmysql=yesmakemake installmake install-configure############# Imap#Options foc courier-imap#--enable-unicode# --enable-workarounds-for-imap- --with-authchangepwdir --enable-unicode --with-trashquota --disable-root-checkmakemake installmake install-configure############# case "$1" in start) echo "Starting POSTFIX..." /usr/sbin/postfix start ;; stop) echo "Stopping POSTFIX..." /usr/sbin/postfix stop ;; restart) echo "Restarting POSTFIX..." /usr/sbin/postfix stop sleep 1; /usr/sbin/postfix start ;; reload) echo "Restarting POSTFIX..." /usr/sbin/postfix reload ;; *) echo "usage [start] [stop] [restart] [reload]" ;; esac exit 0############################# Before Smtmp#Install requiered Perl modulesperl -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' Posted by jivko Filed in 4 comments » alpha ver dummy install script: ModSSL, Apache, Libiconv, Postgre, PHP December 14th, 2006 MOD SSLcd mod*./configure \ --with-apache=../apache_1.3.33 \ --prefix=/usr/local/apache#APA apache*./configure --prefix=/usr/local/apache --enable-module=so --enable-module=rewrite --enable-module=sslmakemake certificatemake install#LIBICONVcd libiconv-1.9.1./configuremakem install#POSTGREcd postgre*./configuregmakegmake 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/postmast -D /usr/local/pgsql/data >logfile 2>&1 & #/usr/local/pgsql/bin/createdb test #/usr/local/pgsql/bin/psql test#PHPcd php*./configure --prefix=/usr/local/php/ --with-gd --with-mysql --with-openssl --with-zlib --with-jpeg-dir --with-inifile --with-png-dir --disable-cgi --with-apxs=/usr/local/apache/ --with-mysql-sock --with-iconv=/usr/localmakemak install Posted by jivko Filed in 85 comments » Firefox JRE Manual December 14th, 2006 In Firefox plugin directory make link:ln -s /usr/java/jre1.5.0_03/plugin/i ./libjavaplugin_oji.so Posted by jivko Filed in 3 comments » user add script December 14th, 2006 ADD_USER:#!/bin/shuser=$1echo Adding user: $useruseradd -s /dev/null $userecho $user add on:`date` >>users Posted by jivko Filed in 4 comments » Search Search: Pages Categories Homeapachemysqlrubyonrailssend Linux is proudly using the Simpla theme originally designed by Phu. Powered by Mephisto
 
0 гласа
Адрес
http://linux.jivko.net
Бутон за гласуване
постави следния код на своята страница за да включиш бутон за гласуване

© 2008 Katalozi.eu | ТОП 100 | Включи сайта си | Обратна връзка
0.02024