Using NTP to Sync Time

Keeping your system’s date and time accurate is easy to do using NTP. Having an accurate clock on your server ensures that time stamps in emails sent from your machine are correct. An accurate clock is especially helpful when you need to look at the logs from a particular time of day. If you don’t […]

Ruby Enterprise Edition /opt/ree/bin/gem update –system 1.5.2 delete all gems in ree: /opt/ree/bin/gem list –no-version | xargs /opt/ree/bin/gem uninstall -aIx /etc/environment: PATH=”/opt/ree/bin ….” sudo passenger-memory-stats sudo passenger-status apache2 -V (verifica prefork sau itk) apache2ctl -M (verifica modulele)

Install ruby 1.8.7 on debian lenny

sudo aptitude update sudo aptitude install build-essential sudo aptitude install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8 libreadline-ruby1.8 libruby1.8 libopenssl-ruby sudo aptitude install libssl-dev libreadline5-dev zlib1g-dev sudo ln -s /usr/bin/ruby1.8 /usr/local/bin/ruby sudo ln -s /usr/bin/ri1.8 /usr/local/bin/ri sudo ln -s /usr/bin/rdoc1.8 /usr/local/bin/rdoc sudo ln -s /usr/bin/irb1.8 /usr/local/bin/irb tar xzvf ruby-1.8.7-p249.tar.gz cd ruby-1.8.7-p249 ./configure make sudo make install […]