Internet Explorer’s problems with asynchronous calls and their fixes

Today I stumbled again – as every single developer eventually will – with Internet Explorer’s brilliant and different way of handling things. I implemented a socket listener thread to a port on the server side and a simple HTTP GET request from the client side. The main objective here was to make the server do More…

 

Installing Lets Encrypt’s SSL certificate to mail server with Postfix and Dovecot

Hi! I’ve been getting notifications from StartSSL for a month saying that my SSL certificate is expiring. I decided to try out the new Let’s Encrypt free SSL. In this post I will be installing the certificate on a mail server. To start off, you will need Git on your server apt-get install git Next up, More…

 

How to build a strong profile and get found on LinkedIn

Over the past year I’ve been actively looking for new opportunities and sent dozens of applications to several companies, many times I’ve got through to the interview and maybe even to a second one, but still didn’t get the position. Today, professionals are being headhunted online, mostly through LinkedIn. If you are a professional in More…

 

Installing Varnish cache on Ubuntu 14.04 and measuring performance with ApacheBench

Today I’m doing an assignment for my school’s linux servers class held by Tero Karvinen. The assignment is to install Varnish cache and edit the settings of it, to measure site speed with ‘ab’ (ApacheBench) included in ‘apache2-utils’ package and to analyze and speed up a site with Firebug. I will do this assignment with More…

 

Installing WordPress along with plugins, themes and images

In this post, I’m doing an assignment for the linux server course held by Tero Karvinen. I’m going to install wordpress to my virtual private server on Amazon EC2, which I created earlier. I will be using a MacBook Pro (late 2013) as a terminal and the Amazon EC2 virtual server as the server. The server More…

 

Setting up a free virtual server with Amazon EC2 and a .tk domain

In this post I’m doing an assignment for Tero Karvinen’s course on linux servers. The assignment is to create a name based virtual server with a domain pointing to it. I decided to use Amazon’s EC2, since it has a free tier and I have already used it once before. Setting up Once I already More…

 

An extremely simple commented PDO example

I made a fast and extremely simple example of PHP’s own PDO class to handle a MySQL database for my class example. We will need a database table called ‘task’ in a MySQL server running on localhost for this to work. The table contains two fields: id INT(6) NOT NULL AUTO_INCREMENT PRIMARY KEY name VARCHAR(64) More…

 

Building and installing a ‘.deb’ package that adds an executable script to all users

This is a part two (link to part one) for my home assignment for Tero Karvinen’s course on linux servers. On this part I will build and install a package that will add an executable shell script and an alias for it for all users. Now to create a new package with a shell script More…

 

Building a metapackage and a local package repository

In this post I’m doing a home assignment for Tero Karvinen’s course of linux servers. The assignment is to build a metapackage that installs a bunch of software in a single package, to create a local package repository and to package a script so it installs a new command to all users. I’m going to do this More…

 

Protecting your SSH server from brute force attacks

If your server is online and out there, it’s probably being already attacked by someone with brute force. This means that someone is running a script trying to guess your root password so it can use your hardware for benefit. I ran into this problem recently after just weeks of publishing my website. You can More…