Menu
Menu

Configuring guest WLAN/Wifi access on the openwrt router

Posted in linux, server on 2014/05/04
Tags: , , , , , , , , , ,

Every now and then I was being asked by family and/or friends visiting me if they can use my wifi @home. As I trust them I don't see a problem with that, but there are few issues with it: I don't want to give them my password My password is really long and thus hard Read More »

Reducing the size of the mp4 files taken with my mobile phone

Posted in linux, server on 2014/04/13
Tags: , , , , , ,

My mobile phone creates a good quality movies, but they are pretty big in size. In order to save some disk space but still keep a good quality I'm using the following small script to reduce the size of the file but do not sacrifice the quality of the movie. Usually I'm using CRF value Read More »

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 »

skipIP.com - new DDNS service free of charge with no hassle

Posted in linux, server on 2014/01/04
Tags: , ,

Why skipIP.com. I've been using dyndns service since ages. It is not uncommon, that the ISPs are giving out dynamic IP addresses and it is very nice if you always know what address is your router at home having right now, when you want access it. However since longer time dyndns has worse and worse. Read More »

Ramnode - great vps company

Posted in linux, server on 2013/11/29
Tags: , , ,

EDIT12: Some time ago ramnode decided to stop offering coupon codes reducing the price of their product. Together with this announcement their upgraded all the plans to new specs. Since October 28, 2014 their running a new promo where while buying a new VPS you can get $5 credit to your account. Just use the 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 »