SysAdmin articles

135 posts

SysAdmin

How to show the web server’s IP in browser

17 April 2012·1 min readArchive

When you are migrating a website form one server to another or doing a production release, You often need to set an IP to your /etc/hosts (in windows c:windowssystem32driversetchost) file so that you...

Read article →
SysAdmin

Screen Off widget for Android

26 March 2012·1 min readArchive

Hey, Today, I was looking at Screen Lock button of my android mobile. Since i use this key frequently, It almost turned in to white colour from Silver. So i just searched in Play store and found an...

Read article →
SysAdmin

Tomdroid Notes for Android

19 March 2012·1 min readArchive

If you are an Ubuntu + Android user, This post is for you !!! Most of all Ubuntu users uses “Tomboy Notes” – A simple and easy to use desktop note-taking application. Ever thought, How to sync those...

Read article →
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 →

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 →