AWS news analysis and DevOps guides.

AWS news analysis and DevOps guides from the engineers who run production AWS for regulated teams. The Linux and sysadmin archive goes back to 2009.

SysAdmin

Mysql TRIGGER command denied to user

15 March 2012·1 min readArchive

Today i got a new mysql issue from one of my colleague. – Issue In MySQL TRIGGER command denied to user ‘username’@’192.168.0.112′ for table ‘abcd_table’ What you normally do ? As usual, I checked...

Read article →
SysAdmin

Ubuntu – System hangs on shutdown/reboot, how to troubleshoot?

13 March 2012·1 min readArchive

The problem is with the wireless adapter. To fix it you need to do this: Open a terminal and type: “` sudo modprobe -rf rt2860sta sudo modprobe rt2860sta“` Then you need to blacklist the wrong...

Read article →
SysAdmin

Add multiple IP’s to a Linux Box

10 March 2012·1 min readArchive

I will try to explain in here an easy way to add a lot of IP’s to a server without having to add every one of them manually but of course this works if IP’s are part of same classes. For example if...

Read article →
SysAdmin

How to change MTA on Centos5.6 – RHEL based server

5 March 2012·1 min readArchive

Here you can see, how to change MTA qmail to any other you can set as simple sendmail or postfix, exim or qmail. `[root@JobNix~]#ll /etc/alternatives/mta` lrwxrwxrwx 1 root root 23 Aug 31 03:39...

Read article →
SysAdmin

AWS – How to setup an IAM user to access only one s3 Bucket

5 March 2012·1 min readArchive

Hi, This will explain how you can create an IAM user in AWS, so that you can grant access to only one S3 bucket. – Create an S3 bucket in AWS account. – Switch to AWS IAM tab – Click Group >> Create...

Read article →
SysAdmin

MySQL Optimization

29 February 2012·3 min readArchive

Find max connection using the formula:- memory = keybuffer + (readbuffer + sort buffer ) max connections Open /etc/my.cnf file in your favorite editor (eg: vi, pico etc) max_connections=400...

Read article →
SysAdmin

Apache Optimization

29 February 2012·5 min readArchive

All the important configuration options are stored by Apache in a config file called httpd.conf that is located at /usr/local/apache/conf/httpd.conf. We will start by opening this file in your...

Read article →
SysAdmin

Drop Sync/DDOS Attack

29 February 2012·3 min readArchive

1. Find.. to which IP address in the server is targeted by the ddos attack netstat -plan | grep :80 | awk ‘{print $4}’ | cut -d: -f1 |sort |uniq -c 2. Find… from which IPs, the attack is coming...

Read article →
SysAdmin

MySQL – can’t get hostname for your address

29 February 2012·1 min readArchive

I recently had an issue with mysql, One of our developer complained that he is not able to login to mysql via SqlYog, a MySql client. The Error Message was, Can’t get hostname for your address...

Read article →
SysAdmin

Sample Page

19 February 2012·1 min readArchive

This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that...

Read article →
SysAdmin

WordPress on OpenShift Express

16 February 2012·2 min readArchive

This git repository helps you get up and running quickly w/ a WordPress installation on OpenShift Express. The backend database is MySQL and the database name is the same as your application name...

Read article →
SysAdmin

Ubuntu – Fix Internal microphone issue on Lenovo G570

28 January 2012·1 min readArchive

Some times the internal microphone doesn’t work on brand new Lenovo G570 with Ubutnu 11.04 You can fix it with these steps. #sudo gedit /etc/modprobe.d/sound.conf Then add these lines and save the...

Read article →

Reading this because your AWS bill or uptime is a problem?

30 minutes, direct with the founder, no sales pitch: one specific recommendation for your AWS workload.

Book a free 30-minute review
30 min Free Consultation →