Archive for January 2012

Clone software installed from a Debian server to another

Nessun commento » Debian , Beginner , Tips & Tricks No Comments »

Minimalist response to a question minimalist: How do I clone a Debian server replicating the software completely installed?

1) to clone the server exports the list of installed packages:

dpkg --get-selections > installed-software

2) pass it on the server clone

scp installed-software pippo@nomeserver.test123.com:~

3) clone on the server imports the list of packages to install:

dpkg --set-selections < installed-software

4) on the clone server starts the installation of selected packages:

apt-get dselect-upgrade

That's all folks!

Preparing the nest 2.0 (codename: In the jungle!)

Nessun commento » Logbook No Comments »

Everybody Knows That The Dice are loaded

Nessun commento » Not classified No Comments »

Everybody Knows That The Dice are loaded
Everybody rolls With Their Fingers crossed
Everybody knows That the war is over
Everybody knows the good guys lost
Everybody knows the fight was fixed
The poor stay poor, the rich get rich
That's how it goes
Everybody Knows
Everybody knows That the boat is leaking
Everybody Knows That the Captain Lied
Everybody got this broken feeling
Their father or like their dog just died

Read the rest »

Coming soon ...

Nessun commento » Logbook , Photography No Comments »

RoundCube: increase the size of attachments

Nessun commento » Open Source , PHP , Beginner , Tips & Tricks No Comments »

Those who use RoundCube as a webmail application - we will use our own version with some interesting improvements - you will notice that the attachment handling is done in a rather unusual way. For unexplainable reasons, the application has been designed completely ignoring some important settings of the php.ini and Postfix allegabili on the size of the files to an email message:

  • are completely ignored the values ​​of upload_max_filesize (= maximum allowed size for uploaded files), post_max_size (= maximum size of POST data PHP will accept That) and memory_limit (= maximum amount of memory a script may consume) specified in php.ini
  • is completely ignored in the value of message_size_limit main.cf file of Postfix

Remedy this lack, however, is very simple, it is sufficient to edit the file / usr / share / roundcube / .htaccess and change at will the values ​​of their parameters:

php_value upload_max_filesize 20M
php_value post_max_size 21M
php_value memory_limit 64M

That's it.