Writing
The archive
253 posts on Kubernetes, security, Linux and the odd drone. Page 7 of 9.
2013
Mailsystem Centos 6 (Postfix,Mysql,Dovecot) with TLS and SSL Part 2
So now I have en working Postfix that receive email i need something so that I can read me emails. So we will setup dovecot to use our mysql for users. and use…
Mailsystem Centos 6 (Postfix,Mysql,Dovecot) with TLS and SSL
So for my virtual machines I have set up an mail system with Postfix that will look up users and domain in a Mysql server. Then store the emails in one mailbox…
Mysql InnoDB: Error: checksum mismatch
So efter I had publish mw post i got some mysql error. The checksum did was not correct. So for solving this i had to. Control the checksum ibdata is you innodb…
Mining Litecoins and Feathercoin
Start mining some coins right now. First you need to sign up to some mining pools. I use for Litecoins http://pool-x.eu and for Feathercoin https://ftc.d2.cc…
Apache performance config
Now on all my Apache i always load this Apache config. It enabled some apache standard performance config for Apache as a good standard. KeepAlive. Gzip all…
Fail2Ban on Centos
Fail2Ban is a small service to block unwanted traffic to you server. I use it to block ssh,and postfix loggins in to my virtual hosts. Fail2Ban scans the…
Install Diaspora one Centos 6.4 with Apache
So Im going to test diaspora on one of my virtual server with run centos 6.4. Setup Centos Setup Repos wget…
Custom nagios plugins in python
For monitoring different service and function you may need to build some custom monitoring plugins. I have some build for nrpe and will work with both nagios…
Rolling back Andrioid on your Nexus 4 after Ubuntu
So i had to roll back to andriod. ubunut is not realy ready for my phone. So this is how you do. 1. download you andriod images from here…
Ubuntu Phone First Week
So my first week has gone since i rooted my Nexus 4 and installed the new Ubuntu phone. It was realy easy to root and install the phone the hole process was…
Private GIT server on centos 6
So i need to have an private git server. The plan is to fill the git server with my backups so I can see changes done to my git server. Set up the local GIT…
Owncloud 5 on Centos 6.4 apache-mysql
How to install owncloud 5 on you centos 6.4 server with mysql and apache to serve it. First install packages and service needed. yum -y install mysql-server…
Securing Apache – TRACE TRACK XSS
So i will tryi to updated with some tips on securing apache as I stumbel over them. This will be the first one in not so many I hope (Apache will be secure ) I…
Glassfish Monitoring with VisualVM
For monitoring Glassfish performance i use VisualVM. I have visual installed on my laptop and the connects using jmx to my glassfish servers to get server…
Glassfish Asadmin commandon to remeber
here are som glassfish 4 asadmin commandon to remeber asadmin –host 127.0.0.1 –port 4848 enable-secure-admin Enabel so that you can use 4848 from external…
Set Glassfish4 to production state
Ot work we are using Glassfish 4 for our applications. And to set glassfish for production there are some setting you need to set. We are scripting our…
Install Crashplan on Raspberry Pi
For syncing my data to my raspberry i use bitsync but its even better to have the data on two locations as well. So for having my stuff safer i will try using…
Install Bitsync on Raspberry Pi
So today im using dropbox to sync all my stuff between devices. But now there are so much there so my free space is almost full. So now its time for me to move…
Centos What files are open to that PID
Find out what files are open by that pid file. 1. Find the pid for you service ps aux | grep httpd apache 24179 0.0 0.0 251316 15528 ? S 08:58 0:00…
Mysql Commands to Remember
This is an reminder for mw some mysql commands that i use often and my mind not always bring with me. Optimize table When i table that has many writes and…
Kernel updated don´t update grub on Centos 6.4
So you have updated the kernel on you centos but you server is still running on the old kernel. Whenan kernel is updated yum updates the file /etc/grub.conf and…
Remove old kernel in Centos
So you try to update you server and it says that you /boot pertision is full and cant update kernel. Will this is how you remove some old kernels so you can…
Python ConfigParser using you own config files in python
Storing settings in config files and then let python read the configfiles and to good stuff . Read the file #Reading config file config =…
How the HELL is oncall ? (the oncall reminder script)
When you have oncall often sometimes is easy to forget hows oncall and when you are not. So for the last time wonder how is oncall and ask some python for some…
restrict sms in nagios / icinga
Im using nagios as primary monitoring tool. And to get alerts we use an sms gateway. The problem is that sometimes when we work we bring down and server and we…
NTP Server and client setup
Time is critical when having many server and using different clusters. So i made this guide to save all my notes when working with time. Setting local time I…
LVS cluster for Centos
An other cluster solution for Linux is LVS. I im testing to use LVS cluster for some cloud server. My cloudserver has one external ip and i want all traffic to…
Install HA-Proxy for load-balansing on Centos
For load balasing my weebtraffic im setting up HA-proxy. The proxy recives reqest on one ip and then even loads the reqest between my web server nodes. First…
Install Heartbeat HA cluster on Centos
So the backbone of my webcluster i use Heartbeat to monitor the server performance. Heartbeat is setup to monitor the servers and to take actions if anything…
Install puppet clinet on Centos 6
Setting up my puppet clinet in centos and then connect it to my puppetmaster. Enbling the puppet lab repository rpm -ivh…