Blog
236 posts
Autodeploy you docker images to AWS (git push = deploy)
So I have a lot of small project and some large. To buil in quality into my code i need to run test in my code. And my code in a prod like env. I always uses do
WordPress multisite to wordpress singelsite (Easy linux)
So i hade to slip up my wordpress multisite to singel sites and it was not that hard when i found out how. First start with setting up the new wordpress and the
Roll you own Docker Registry with nginx (In Docker)
When yor private numbers of docker images grow is time to setup you own private repo. Do have you own docker repo you need 1. the docker registry 2. nginx to ha
Maxscale Sql scaling with mariadb Cluster on Centos in Docker
So scaling sql server has now bean easy with mariadb maxscale. Here i uses it to connect to my mariadb cluster and setup two new servers. One is a loadbalanser
MariaDB cluster with Dynamic Nodes on Centos 7 in Docker
So running sql in docker is a big qestion now. To make some test i have setup two mariadb cluster docker containers. The first one is the mariadb cluster master
Openldap with SQL Backend (Mariadb Centos 7 ) in Docker
We use Ldap for handling our users and I have spent time setting up Openldap and tryng to configur it. But now i have given up my ldap skills and setup my openl
Mesos cluster with Marathon running Docker
Hi So for hosting docker in large scale i have tested mesos cluster. Here is a guide for setting up 3 nodes in mesos running Centos 7. And the adding Marathon
Elasticsearch controller
So we uses alot of easticsearch. And here is i small script to get status and do some simple task with es server. You can get cluster status and cron for index
Python DOS protection (iptables,dos)
here are a small script I use to have some sort of dos protection on my webservers. import subprocess whitelist=[ 192.168.1.2 ] blockvalue=2 alertvalue=1 proc
Move an Megento site to new url
So I hade to move en megent site from topunder.se to test.topunder.se this is so that you can test and try new stuff on a site that is not you primary site. Mov
Foreman provision to bare and libvirtd (Centos7, foreman, libvirtd, KVM)
So I have started to play around with foreman and to get it to provision my diffrent servers. I started by starting up some local virtual servers on my laptop a
Build Openvpn centos 7
Here is how i build and setup openvpn on my centos 7 box. 1. Download and install openvpn latest Some yum packages yum install openssl-devel lzo-devel pam-dev