Tag Archives: Debian

Set up your own Mumble server for speaking with your friends while gaming

Rate this post

Sometimes I game with some friends. For the time we are playing Payday2 which requires a lot of teamwork. Chatting using the ingame chat system is not the best or fastest way, there is simply no time for it. That’s why I decided to make a Mumble server.

What is Mumble?

Mumble is like teamspeak, ventrilo or skype. It is a online “chat room” but with microphones instead of keyboards (VoIP, Voice Over IP), It’s like a conference call on the phone, but over the internet so it’s free. This makes it good for gaming, since you can speak about what to do in-game without having to use time typing and reading.

Why Mumble and not the other softwares

Some say, Mumble is the best.. But actually they are all great, exept Skype (It uses up all your internet connection so there is nothing left for the game).
I choose mumble personally because it’s open source, and the server can run on Linux.

Continue reading

How to configure a distributed file system with replication using GlusterFS

How to configure a distributed file system with replication using GlusterFS
3.67 (73.33%) 3 votes

Distributed file system between multiple servers is a thing I have planned for a long time, but I never got around to it because I first had to find the right filesystem for it.
After a lot of research, I found that GlusterFS was the right file system for me.

My plan was to use a distributed filesystem to share the content of my webservers to make sure all my webservers had the same content on their pages at all time and using some sort of high availability to make sure the content was always there.
To this I used a tool in Linux called Lsyncd before I set up my GlusterFS cluster, this worked well and did live syncing of all the servers using rsync. But there was one problem with it.
If I uploaded a lot of files (20+) to one webserver, and it started to sync to the other webserver before I was finished copying, the result would be that some of the files ended up corrupt, and this was a problem for me!

My distributed file system overview

Here is the overview of the setup I am making, it’s not pretty but I’m sure it’s a lot more easy to explain the setup using a simple mspaint drawing than with text!

GlusterFS distributed file system overview

As you can see in the picture above, I have build this with high availability in mind, since I want my websites to always be up and running!
Continue reading

Upgrading Debian Squeeze server to Debian Wheezy server

Upgrading Debian Squeeze server to Debian Wheezy server
3 (60%) 2 votes

My web and others servers was set up on Debian Squeeze about a year ago. and they have been working great. But it thought it was about time to upgrade all my Debian servers to Wheezy instead so I could get some newer updates for packages and in general be up-to-date.

Here is the simple, fast and trouble free way I did it.

Continue reading

Convert multiple JPG or PNG to PDF in Linux

Convert multiple JPG or PNG to PDF in Linux
3.33 (66.67%) 3 votes

I think we all have been in the situation before, you have some scanned documents in JPG or PNG format that you need to convert into a PDF file.
There are many solutions for this on the internet, including free sites that just does it for you if you upload your images, but they almost always put some kind of watermark on the pages if you don’t pay them.
There are also a bunch of Windows applications that do this, but they are often complicated or full of ads.
This guide show you a free solution on Linux, that just works, is fast, and does not add any crap to the PDF.
Continue reading

Temperature measuring using Linux and Raspberry Pi

Temperature measuring using Linux and Raspberry Pi
3.65 (73%) 20 votes

The story

I have a small server room, with some rack servers, NAS’s, VMware ESXi’s and other fun stuff, but I had one problems.. in the summer it got really hot, and I had to open the window to let fresh air in, and the old out to lower the temperature again, but I never knew when it was too hot, so i had to drive by the server room once or twice a day to manually feel if it was too hot..

This was a problem, because sometimes I was not home, or sometimes I forgot, or just had no time to drive by to check the temp.
Having a temperature sensor in the room, from a freezer or something like that didn’t help me much, since I still had to drive by to check it manually.

So I had to make something I was able to get the room temperature from, over the internet/lan, and thats when I decided to make my network thermometer.

I looked for weeks on the internet for a good guide about this, but none of them worked. so I decided to write my own to help others with the same problem out.

This post will be about

How to make your own network thermometer, using open source software and a cheap USB temperature sensor!

Continue reading

MySQL data on secondary hard disk

MySQL data on secondary hard disk
3.88 (77.5%) 8 votes

Having your MySQL data on a separate partition is important, why?

Having your MySQL data on a separate partition is important because when your root partition fills up and no space is left, your system won’t be able to boot and might crash when running, you then have to boot from a recovery disk to remove files before you can boot on your normal system again.
This is critical for servers that you can’t allow to be down for an hour or two!

The solution

The solution is easy, you just move your MySQL data to a separate partition, and this problem won’t occur any longer, the only thing that happens when you run out of space, is that the MySQL can’t write any new data to the database, which is better than the entire system crashing and being unable to boot.
In this guide i will show you how to make the changes needed to get this problem resolved.

Continue reading

Debian Linux server (wheezy 7.1) installation

Debian Linux server (wheezy 7.1) installation
3.67 (73.33%) 6 votes

Debian Linux (Wheezy) server is easy to install. It takes about half an hour, or two depending on what you need it for and how “special” your installation has to be. A standard installation with only one hard drive will take about 0,5-2 hours depending on your knowledge on Linux servers.

On this page I will guide you through how to do it, with screenshots and explanations on every single one.

I have choosen Debian Linux as my favorite Linux server distribution for the following reasons:

  1. It’s light. It only got the stuff you need and nothing more, which gives you a really small footprint (Debian can run on a computer with less than 200 Megabytes of memory easily!
  2. It’s reliable
  3. Updates are stable, no crossing fingers when updating the system hoping it will not break
  4. If you ever have problems with Debian, it’s really easy to find a solutions just by Googling the problem.
  5. It’s easy to use
  6. It’s fast.

I will in this guide install Debian server without any Desktop environment (no icons, no mouse. only a keyboard and a console screen) since this saves a LOT of resources (about 100-200 megabytes of memory) and the time it takes for the server to boot/startup.
Continue reading