Menu

Skip to content
  • Home
Miro Metsänheimo
Twitter Email LinkedIn GitHub Stack Overflow

Miro Metsänheimo

Freelance technical architect with cryptocurrency projects on the side.

Linux

March 5, 2021 by Miro Metsänheimo on Linux

Using Jattach to get dumps from a JVM running inside Docker with JRE base image

Using a JDK as the runtime image is simply a waste of resources, but it makes it a bit more difficult to get memory- and thread dumps out of the JVM at runtime. Jattach to the rescue. Let’s imagine a situation where we have an image running your Java application using the JRE and you More…

 
March 31, 2016 by Miro Metsänheimo on Linux

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…

 
October 13, 2015 by Miro Metsänheimo on Linux

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…

 
October 8, 2015 by Miro Metsänheimo on Linux, Wordpress

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…

 
September 30, 2015 by Miro Metsänheimo on Linux, Networking

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…

 
September 22, 2015 by Miro Metsänheimo on Linux

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…

 
September 22, 2015 by Miro Metsänheimo on Linux

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…

 
September 17, 2015 by Miro Metsänheimo on Linux, Networking

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…

 
September 16, 2015 by Miro Metsänheimo on Linux

Solving Honeynet scan of the month 15

In this post I’m doing an assignment given by Tero Karvinen on his Linux server course about computer forensics by solving one of the honeynet scan of the month. I’m going to do this on my desktop computer. The computer is i5-3570k (4X, 3,8GHz, 6M) 16GB RAM, 2x Asus GeForce GTX 560 TI in SLI mode. Using More…

 
September 9, 2015 by Miro Metsänheimo on Linux

Analyzing and stressing Ubuntu 14.04 with munin and stress

Hello! In this post I’m doing an assignment for my Linux course in my school held by Tero Karvinen using Xubuntu 14.04.3 LTS. I will be using the same installation I used in the previous post on VirtualBox. To get started, I needed to install munin. It requires Apache to work, which I had already. Installing Munin sudo apt-get update More…

 
Older Posts →
Page 1 of 2

Archives

  • March 2021
  • October 2019
  • July 2019
  • August 2016
  • March 2016
  • January 2016
  • October 2015
  • September 2015
  • August 2015

Categories

  • Java (1)
  • Javascript (2)
  • Job search (1)
  • Linux (12)
  • Networking (3)
  • PHP (1)
  • Wordpress (1)
 
Subscribe!
Copyright © Miro Metsänheimo
Powered by Metsänheimo - Secured with SSL/TLS
Contact me