This is an old blog
Hello,
I will not write anything here anymore, I have another blog where I write in Romanian.
http://vitalie.webng.md
Another blog about ruby, rails, debian and system administration. Other useful staff for developers and system administrators.
Hello,
* Download development version of Chrome
sudo aptitude -t testing install ia32-libs-gtk lib32nss-mdns
dpkg -i google-chrome-unstable_current_amd64.deb
Yesterday while I tried once again to download photos from my camera with digikam, it gave me a SIGABRT crash, I'm using kde 4.1.3, so I tried to build new deb package for digikam 0.10.beta6 and I did not succeed, many kde dependencies and I could not want to break my installation.
rake ph:get # Get photos from camera to current folder
rake ph:delete # Delete all photos from camera
rake ph:arrange # Arrange photos in folders by date
rake ph:rotate # Rotate photos from exif info
rake ph:list # Show photos info
Today I released a new version of Assembla.
Today I had a task to setup continuous integration for grails on EC2 server. I asked Google for a solution and it returns no results, so I want to share my experience., maybe it will be helpful for other system administrators.
sv start grails
#!/bin/sh
#
apt-get install runit
sv_dir=/etc/sv/grails
mkdir -p $sv_dir/log
cat - > $sv_dir/run <<EOF
#!/bin/sh
export JAVA_HOME='/opt/jdk1.6.0_10'
export PATH=${JAVA_HOME}/bin:$PATH
export JIBX_HOME='/opt/jibx'
export PATH=${JIBX_HOME}/bin:$PATH
cd /opt/apps/my_project
exec grails -Dserver.port=80 run-app
EOF
cat - > $sv_dir/log/run <<EOF
#!/bin/sh
set -e
# use /mnt, because on EC2 a bigger disk is mounted to /mnt
LOG=/mnt/log/grails
test -d "$LOG" || mkdir -p -m2750 "$LOG" && chown nobody:adm "$LOG"
exec chpst -unobody svlogd -tt "$LOG"
EOF
chmod 755 $sv_dir/run $sv_dir/log/run
# add service
update-service --add $sv_dir
I have a heavy loaded website with 12req/second and I use apache 2.2.6 with mpm_event_module, because threaded and prefork modules suck already. Apache server with 5 mongrels in cluster: 3 on the same server and 2 remote. MYSQL is also remote. Memcached runs on the same server. NFSD also running. Below is apache tuning for mpm_event module:
Assembla offers FREE Trac and svn hosting for a long time, here is a quick way how to setup your project with tools provided by assembla.com services:
Assembla offers FREE Trac and svn hosting for a long time, here is a quick way how to setup your project with tools provided by assembla.com services:
Labels: assembla, hosting, subversion, svn
Today Assembla launched new tool: Trac&Mercurial. Every developer can create a mercurial repository for development with few clicks.
I use python 2.4 with trac, mod_python, but when i updated ports collection, it started to install new software with python2.5 as dependency.