Posts Tagged ‘Debian’

Ubuntu/Debian & Postfix: Increase attachment size limit

By default postfix limits the attachment size to about 10 MB. You can determine the current limit with the following command: # sudo postconf | grep message_size_limit message_size_limit = 10240000# sudo postconf | grep message_size_limit message_size_limit = 10240000 To increase the limit add (or change) the following setting in the file /etc/postfix/main.cf: # 20MB message_size_limit […]

Read more…

XenServer 5.6 & Debian Lenny: Fix apt-get/aptitude GPG error

If you follow the instructions in the Citrix Developer Network to set up a (paravirtualized) Debian Lenny guest system apt-get or aptitude will show the following error W: GPG error: http://updates.vmd.citrix.com lenny Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 841D6D8DFE3F8BB2 W: You may want to run apt-get […]

Read more…

Debian/Ubuntu: Basic Apache 2 security

Update 2010-10-25: I’ve added “TraceEnable Off” to the configuration (which is not the default on Debian). If you run an Apache 2 web server on a production system, it is always a good idea to make some easy configuration changes in /etc/apache2/conf.d/security to increase the server’s security: # Disable access, directory indexing and .htaccess files […]

Read more…

Debian/Ubuntu: Multi network/gateway ip routing setup

If you would like to connect your Debian or Ubuntu system to more than one network (e.g. with more than one physical or virtual network device) you could use the following ip routing setup to use a specific gateway for each network. Create a configuration file in /etc/network/if-up.d/ (like /etc/network/if-up.d/routing) and add one section for […]

Read more…