Posts Tagged ‘Ubuntu’

Ubuntu: Fix slow ssh logins

Slow SSH logins could be caused by DNS lookup on the server side. If it takes (too) long time to be prompted for a password the option UseDNS could by a solution (as suggested in the OpenSSH FAQ). On Ubuntu edit the file /etc/ssh/sshd_config and add the following line: UseDNS no Restart the SSH daemon [...]

Read more…

Ubuntu 9.10: Setup APC for PHP5 and Apache2

Update 2010-09-25: There is a new blog post (“Ubuntu 10.04: Setup APC for PHP 5.3 and Apache2″) for Ubuntu 10.04. To set up the Alternative PHP Cache (APC) just follow the instructions below: Install the required packages: # sudo apt-get install php-pear php5-dev apache2-threaded-dev Install APC: # sudo pecl install apc Create file /etc/php5/conf.d/apc.ini with [...]

Read more…