Use case : install a specific version of capistrano to deploy stuff somewhere Let’s say you need to install capistrano 2.* to be able to use your deploy scripts. In this case, I’m running a fresh Yosemite install. Let’s say we’ll need to setup a specific ruby version with a specific gem version. To do …
Uncategorized
Redmine on Ubuntu 13.10 with Apache2 and Passenger
After a fresh Ubuntu 13.10 install, I encountered the following error [Fri Nov 01 20:06:50.239664 2013] [core:notice] [pid 59440] AH00094: Command line: ‘/usr/sbin/apache2’ [ pid=59448 thr=19153000 file=utils.rb:176 time=2013-11-01 20:06:51.996 ]: *** Exception LoadError in PhusionPassenger::ClassicRails::ApplicationSpawner (Please install the mysql adapter: `gem install activerecord-mysql-adapter` (cannot load such file — mysql)) (process 59448, thread #): I tried …
Set the number of reserved filesystem blocks of a disk
The default value of “Reserved block count” takes 5% of usable disk. On a large fs like 813G, it represents about 40G. These blocks are reserved to the super user to recover from situations where user processes fill up filesystems. It is absolutely safe to reduce this space to one hundred or so MB. check …
Use multiple memcached daemons on FreeBSD
As you may know, when using memcached on 32-bit servers, processes can only address 4GB of virtual memory making the memcached daemon handle only 2 or 3 Gb of memory. If you want to address more memory, you need to launch multiple memcached daemons. I wrote an rc script , mmemcached, for FreeBSD to manage …
How to know the maximum RAM supported by your server?
The dmidecode command gives you all informations available about your memory. With the special parameter “-t 16”, you can see the maximum (physical) memory that your server can have: $ dmidecode -t 16 # dmidecode 2.8 SMBIOS 2.4 present. Handle 0x1000, DMI type 16, 15 bytes Physical Memory Array Location: System Board Or Motherboard Use: …