Archive for the ‘Administration’ Category

Trac administration

Tuesday, October 14th, 2008

Trac ==Start the administration== trac-admin /home/domains/spider/trac-dagensps ==Run the server with== tracd --auth=*,/home/domains/spider/.passwords,spider.bg --port 8000 /home/domains/spider/trac_envs/dagensps /home/domains/spider/trac_envs/trucks ==Add users== htdigest /home/domains/spider/.passwords spider.bg a.inkov@spider.bg ==Apache Integration== http://trac.edgewall.org/wiki/TracCgi#AddingAuthentication Here is what I use to start the trac in spider: router:/home/domains/spider# cat trac.start.sh #!/bin/bash tracd --port 8000 \ --auth=dagensps,/home/domains/spider/.passwords,spider.bg /home/domains/spider/trac_envs/dagensps \ --auth=trucks,/home/domains/spider/.passwords,spider.bg /home/domains/spider/trac_envs/trucks \ --auth=bbi,/home/domains/spider/.bbi_passwords,spider.bg /home/domains/spider/trac_envs/bbi/

Bash tips and tricks

Tuesday, August 26th, 2008

How to check if files containt "this" and "that" grep -i 'for nut in self._foundNuts:' `grep -ril "loop(1):" *`

Nginx with Rails

Tuesday, August 19th, 2008

downloaded from here documentation here If you want to try different solution check it haproxy (more...)

Debian/Ubunto notes

Tuesday, July 15th, 2008

How to save and installed packges http://www.cyberciti.biz/tips/linux-get-list-installed-software-reinstallation-restore.html $ dpkg --get-selections > /backup/installed-software.log # dpkg --set-selections < /backup/installed-software.log Now your list is imported use dselect or other tools to install the package. # dselect Select 'i' for install the software. Upgrade Debian http://www.cyberciti.biz/tips/upgrading-debian-sarga-3-to-etch-4.html Commands cat /etc/debian_version

debian tracd initscript

Tuesday, July 15th, 2008

Trac startup script. (more...)

Gentoo Cheatsheet

Wednesday, June 11th, 2008

Java install ls /usr/portage/dev-java/sun-jdk/ emerge -av =dev-java/sun-jdk-1.5.0.13 java-config -L java-config -S 1 /usr/sbin/env-update && source /etc/profile Emerge and Equery Taken from here emerge brings in new packages. equery looks at the package database. update repository: emerge --sync install package with query emrge -av sun-jdk start with this software emerge links ...

Software and Tutorial Links

Thursday, May 8th, 2008

IPTables Linux firewall with packet string-matching support http://www.securityfocus.com/infocus/1531 Firewall scripts http://linuxfirewall.start.bg/ http://www.puschitz.com/FirewallAndRouters.shtml Debian Kernel how-to http://myfreesoft.net/phpBB2/viewtopic.php?t=52 * in Bulgarian * Source: http://www.howtoforge.com/forums/showthread.php?t=21 http://www.howtoforge.com/kernel_compilation_debian Active Ports (Windows) http://www.microsoft.com/technet/sysinternals/Networking/TcpView.mspx Security and Audits Checks & updates http://sourceforge.net/projects/advchk RedHat - http://www.redhat.com/spacewalk/