AI creativity and demystification
Click here to access the essay at academia.edu »
Click here to access the essay at academia.edu »
Setting up Python CGI scripts with Apache2 is simple. It is great to add HTTP support to any script easily. First of all, make sure Apache »
Introduction Django (https://www.djangoproject.com/) is an amazing and simple Python MVC framework. Here is how you get started with newer version of MySQL and »
This was kind of a mystery to me, but it turned out to be really easy. Note: For Windows it is best to Sysprep before cloning. »
After setting up port channeling at a enclosure switch, on a port for a new machine, i had to create a bonded network interface with LACP, »
Great Apache 2.4 VirtualHost template for good performance setup. Standard configuration, logging, headers, compression, deflate, caching, and other stuff: <VirtualHost *:80> ServerAdmin administrator@ »
First of all (prerequisite) extend volume on virtualization platform, or add a new disk. Login to the machine with the extended disk. To get an overview »
Facets allow you to specify a field to get N most frequent terms. This is great for debugging the ELK stack, but also Elasticsearch in general. »
Socket Secure (SOCKS) is an Internet protocol that routes network packets between a client and server through a proxy server. SOCKS5 additionally provides authentication so only »
Stop the MySQL daemon: $ /etc/init.d/mysqld stop Create a file in your home dir called init, with your prefered shell editor (mine is vim) »
GitHub link: https://github.com/adionditsak/blacklist-check-unix-linux-utility blacklist-check-unix-linux-utility Blacklist check UNIX/Linux utility. I was just a bit tired of web interfaces. Introduction Check blacklisting for »
Gist https://gist.github.com/adionditsak/975764eba35273856be1 One-liner $ curl -kL https://gist.githubusercontent.com/adionditsak/975764eba35273856be1/raw/2f9b31e39c22c03d6ef2152f8128165ef7c1aa27/check_ghost.sh | bash An one-liner for the »
Introduction Learning Juniper SRX at the moment. This cheatsheet was a part of my learning. About Juniper SRX https://www.juniper.net/us/en/products-services/security/ »
Bash/echo color codes No color 0 Black 0;30 Dark Gray 1;30 Blue 0;34 Light Blue 1;34 Green 0;32 Light Green »
Introduction This is a script to pinpoint what site is causing high activity on a server by reading appended lines to logs the last 10 seconds »
This is article is based on a RHEL/CentOS box. BandwidthD BandwidthD is a tiny 200Kb bandwidth monitoring service. So if you only need bandwidth statistics »
Introduction If your Linux machine is slow resolving DNS via cURL, wget or a similar URL transfer util, it may be because of conflicting ipv4/ipv6 »
This may become handy, if you are logged in to a machine, which you do not know much about, but where you can see that the »
Introduction Varnish is an amazing reverse proxy to accelerate your website, and to reduce the pressure on your server. Take a look at Varnish official website »
Master slave replication will automatically copy data from a master MySQL server to a slave MySQL server, and is very useful for a lot of things. »
This is tested on CentOS 6.5, where logrotate is native. Can be installed on Debian-based distros aswell with: $ apt-get install logrotate Introduction Logrotate is a »
I am new to Zimbra, and i had no chance to find a solution by using Google or any other way, because there simply was nothing »
This will work both for CentOS, Debian, and Ubuntu. Just use a different package manger depending on distro. Find your mirror (http://php.net/downloads.php) »
Monit is a simple and lightweight, and really useful tool. I discovered this program some time ago, with the question: "How to monitor a process, and »
You need OpenSSH 4.3p2+ to achieve this. Add the following lines to the very bottom of your /etc/ssh/sshd_config file: # use internal-sftp for »
cv - Coreutils Viewer With cv you can monitor what coreutils you got running on your machine, and display what state they are in. This is »
In some cases, it could be nice to look back for previous executed MySQL commands from the CLI. I recently had a customer who needed this, »
I did a simple find/replace with sed in my Puppet exec-block, but ran into a problem with escaping the /-character. You can't escape characters with »
I have been doing a bit of log messages cleanup, in relation to a new Puppet setup i have done. After a bit of deprecation fixing, »
If you want a service to restart on some kind of action, you can use the notify parameter in Puppet. This example is with ssh, and »
A little while back i had a problem with a customers server which were consuming all memory within a short time. I was wondering how i »
Why would you change A lot of people experience problems with innodb and MySQL, if they do not set the tablespace to use a file per »
A few days ago, i needed to analyze the MySQL processes of a server, as it was very important that nothing heavy was running. So here »
I am very fond of the history command, and I like to grep old commands from it. Saves me a lot of time. I was wondering »
Vagrant is great, because it makes it easy to share 100% identical development enviroments, and in general makes everything really consistent for your workflow with VM's. »
The nc (or netcat) utility is used for just about anything under the sun involving TCP or UDP - manpage Netcat is like a more powerful »
Edit - i have created a script for CentOS 6.5 for complete installation: https://github.com/adionditsak/RELK.sh/blob/master/RELK.sh What is »
Match'n'grow Introduction A matchup platform for people and startup companies. This project was initiated by Copenhagen Business School (Copenhagen School of entrepreneurship). I had worked for »
This is only for reference. Debian This is a copy/paste from my Gist for Debian 5+ static IP configuration, separated: Ethernet interface # eth0 $ vim /etc/ »
Introduction When you work with computers i think it is essential to experiment. You need to have a natural curiousity to learn. Yesterday i borrowed a »
This is a follow-up post on my previous post "Four Linux server moniting tools" which ended up on the frontpage of Hacker News for a pretty »
The idea behind this post is to inform readers what is possible with SSH, and how to use it. If you have anything to correct or »
Some people are using Fail2ban, and some are using DenyHosts - i like Fail2ban because the configuration is simpler, and it can be used for more »
Currently i am learning Python. I have been trying out a lot of programming languages the last couple of years, but i think Python is something »
Today at work i made a VNC server setup on a computer with OS X (working as a status screen), which led me to create this »
Swap memory is basically parts/pages of memory from the RAM (your high-speed primary memory) which is switching to use a file (or partition) dedicated on »
Netstat is a tool to get an overview of network connections and interfaces. You can get a detailed list of ports being used of what connections »
Here is four strong monitoring tools i would like to present for you. htop - interactive process viewer You may know the standard tool for watching »
Here is the define Nagios command you need to use to monitor the expiration of your SSL certificates: define command{ command_name check_http command_line »
If you do not know bash (most used Unix shell), check out the TLDP guide for Bash, i find it really good: http://www.tldp.org/ »
I like the Ghost blogging platform. It is beautiful, have a great and ultra simple UI, is Open Source, and is created with Node.js. On »
Apache is the most popular httpd/web server. It is Open Source and known for its easy-to-configure core. Apache is originally created for UNIX/Linux systems, »
#1 way of getting node There is a few ways of doing this. The easiest way is definitely to just install it through the apt-get package »