How to setup PPTP VPN server in Debian and Ubuntu

Update 2016-04-06: It's been tested on Ubuntu 14.04 and it works just fine. Update 2016-10-03: It works even on Ubuntu 16.04 but the service for some reason fails to start on boot, if that's your case run: sudo systemctl enable pptpd I've tried several dozen's how-tos before I tried this and I can confirm it's working. First of all make sure that the virtualization you're using will work with VPN - it doesn't work with Linux vServer virtualization but it does work with KVM virtualization. To Read more [...]

Create 1GB File With Random Data Using Debian’s Terminal

The first question is obvious - Why would anyone want to do that? Apart from reason because he can 😀 there is a really good one - when you need to test speed of your network or hard drives - you just create a file of needed size and copy it to other place (or wget it). So how to do it? It's fairly easy: dd if=/dev/random of=1GB_file.bin bs=1024 count=1073741824 so what it does? dd  is disk manipulation utility if=/dev/random where to read from (so it reads random data) of=1GB_file.bin where Read more [...]

How-to fix WordPress running at ISPConfig 3 giving Error 500 – Internal Server Error

Ok so I ran into this problem - I have WordPress installed at Ubuntu machine running ISPConfig 3 and as I tried to upload images it just gave plenty of errors and in the end: ERROR 500 - Internal Server Error! I think it is somehow related to my upload_max_filesize variable set in /etc/php5/apache2/php.ini Anyway here is how to fix it:  nano /etc/apache2/mods-available/fcgid.conf and add there (below FcgidConnectTimeout): MaxRequestLen 15728640 So now there it set request limit to 15 Read more [...]

Useful Debian Commands Part 1

As I still consider myself as Linux beginner I thought some of might also make use of it. This mini how-to works for Debian and derivatives (Ubuntu, Xubuntu etc..). I guess there will be plenty of useful stuff I didn't mention it so I marked it "part 1" 🙂 So here we go: As you install your distribution you should do: apt-get update This download updates from repositories as specified in: /etc/apt/sources.list Think of it as "refresh" button for Windows update apt-get upgrade This Read more [...]