Archive for the ‘Administration’ Category
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/
Posted in Administration | No Comments »
Tuesday, August 26th, 2008
How to check if files containt "this" and "that"
grep -i 'for nut in self._foundNuts:' `grep -ril "loop(1):" *`
Posted in Administration | No Comments »
Tuesday, August 19th, 2008
downloaded from here
documentation here
If you want to try different solution check it haproxy (more...)
Posted in Administration, Rails | No Comments »
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
Posted in Administration, linux | 1 Comment »
Tuesday, July 15th, 2008
Trac startup script.
(more...)
Posted in Administration, Fun, Uncategorized | No Comments »
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 ...
Posted in Administration | 1 Comment »
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/
Posted in Administration, Uncategorized | No Comments »