Menu
Menu

Converting charset of the filenames from one to another with rsync

Posted in linux, server, srvbox on 2014/03/07
Tags: , , , ,

Today a short tip about the --iconv option to rsync, which show how powerful rsync is. With this option it can convert the character set of the filenames from one to another. The syntax is very simple. The --iconv option takes two arguments: the local and the remote character set. For example --iconv=iso88591,utf8 converts filenames Read More »

mysql-bin logs filling up diskspace

Posted in linux, server, srvbox on 2013/11/21
Tags: , , , , , , , ,

In my last article I've documented howto to setup a master-master mysql replication. Though I've configured mysql to clean up the old binlogs, I've realized that such setup will not only consume a lot of diskspace, but also does not guarantee that only the unused binlogs will be removed. Mysql allows you to configure binlogs Read More »

mysql master-master replication

Posted in linux, server, srvbox on 2013/10/24
Tags: , , , , , , ,

This is a short note on howto quickly deploy a master-master mysql replication on 2 servers. After installing mysql on both of them, the important changes to configurations (/etc/mysql/my.cnf) are: bind-address = 0.0.0.0 # required for replication over vpn, make sure you block 3306 port on external IP in your firewall # it could also Read More »

nsd3 eating up memory after update to wheezy (version 3.2.12-3)

Posted in linux, server, srvbox on 2013/08/20
Tags: , , , , , , , ,

Recently I've updated the nsd3 server to wheezy version. I was surprised about its quite big memory usage. Before: 306 ? Ss 0:00 0 181 4034 268 0.2 /usr/sbin/nsd -c /etc/nsd3/nsd.conf 308 ? S 0:00 0 181 10694 196 0.1 /usr/sbin/nsd -c /etc/nsd3/nsd.conf 309 ? S 0:02 0 181 4238 304 0.2 /usr/sbin/nsd -c /etc/nsd3/nsd.conf Read More »

aptitude dist-upgrade or howto resolve dpkg: warning: files list file for package

Posted in linux, server, srvbox on 2013/08/11
Tags: , , , , , , , ,

Today I was doing dist-upgrade on one of my servers and end up with warnings for several packages like the samples below: dpkg: warning: files list file for package 'libc6:i386' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'libslang2:i386' missing; assuming package has no files currently installed I've Read More »

mailgraph statistics for postfix running on nginx

Posted in linux, server, srvbox on 2013/07/20
Tags: , , , , , , , ,

I'm using postfix as my mail server. In order to get nice graphical overview about the server activity I'm using mailgraph. Mailgraph is a cgi script written in perl. It uses rrdtool to produce daily, weekly, monthly and yearly graphs of received/sent and bounced/rejected mail. Installing mailgraph on debian is as easy as running: aptitude Read More »

Server Availability with nagios and bootstrap

Posted in linux, server, srvbox on 2013/06/06
Tags: , , , , , , , ,

Nagios is one of the most known monitoring systems. It is powerful and thanks to the modular plugin architecture you can easily monitor just anything with it. I'm mainly using it to monitor my vps machines and services as web, dns, imap, smtp, mysql. Nagios offers web gui, where you can see everything, starting from Read More »

pptp vpn on opevz vps server

Posted in linux, server, srvbox on 2013/04/15
Tags: , , , , , , ,

If you are in the need for a vpn server for you iphone, android phone or just notebook or home pc, here is how to do it quickly on a vps server. What you need is a tiny vps server having ppp device enabled. To check if it is enabled run (with sudo or as Read More »

Uptimed - keep the history of your uptimes

Posted in linux, srvbox on 2013/01/12
Tags: , , ,

Uptime is a very useful information about the stability of your server. It shows you how long the machine has been running without a break. uptime 22:49:16 up 16:02, 1 user, load average: 0.00, 0.00, 0.00 Whenever the server is restarted the uptime is being resetted. If you would like to know the history of Read More »

Hello world!

Posted in srvbox on 2011/09/20
Tags:

Everyone must start at some time, so here it is. The first hello world call from the srvbox blog. Enjoy it.