Tuesday, June 3, 2014

Timezone restore in Linux

We got problem in Centos 6 server with plesk panel,

Timezone got reset frequently on one that server, I've found the issue on update of tzdata package, Working on it to find permanent solution, But in mean time I've used following script for reset timezone.

# /bin/sh
TZ=`date '+%Z'`
CTIME=` date '+%Y/%m/%d'-'%T'`
if [[ "$TZ" != IST ]] ; then
touch /var/log/timezone-script.log
echo "["$CTIME"]" "Current time-zone is" $TZ "and Needs to change" >> /var/log/timezone-script.log
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
else
echo "["$CTIME"]" "Current time-zone is" $TZ "and Working fine" >> /var/log/timezone-script.log
fi
Change your timezone what you need, I'm using IST and using log file to know status. Even we can use mail function on it.
 Default location of timezone is /usr/share/zoneinfo/ 

Wednesday, March 5, 2014

Skype Full Installer for Windows Desktop

You can download latest version of Skype full installer (Offline Installer) from following link,

Official Skype offline installer http://www.skype.com/go/getskype-full

Saturday, January 11, 2014

STEPPED IN TO 5th YEAR OF MY CAREER LIFE

I have successfully stepped in to 5th Year of My Career Life

As


System Administrator

Friday, December 27, 2013

Change Host-Name in Linux

Display Hostname

To display the current hostname, we can use hostname command.

#hostname
server1.adminnote.com

Change Hostname

We've to update two files:

/etc/hosts
/etc/sysconfig/network  or /etc/hostname

To add/remove hosts on Redhat / CentOS / Fedora / Debian / Ubuntu

#vim /etc/hosts
123.123.123.123 server2.adminnote.com
save and close :wq
Note: add all required hosts with IP

To add/remove hostname on Redhat / CentOS / Fedora

#vim /etc/sysconfig/network
HOSTNAME=server2.adminnote.com

save and close :wq

#hostname server2.adminnote.com
#hostname
server2.adminnote.com

To add/remove hostname on Debian / Ubuntu

#vim /etc/hostname

server2.adminnote.com

save and close :wq

#hostname server2.adminnote.com
#hostname
server2.adminnote.com

Tuesday, December 24, 2013

Software - AVG Internet Security 1 Year Trial


AVG providing 1 Year free trial for huawei dongle users, We can get these trial by following links,

Have a secured PC with AVG Internet Security.

AVG Internet Security 2014 Free 1 Year Trial Version: 32 Bit;

AVG Internet Security 2014 Free 1 Year Trial Version: 64 Bit;

Note: Links available for download till AVG allowing this offer.

Monday, December 23, 2013

Enable / Disable Webmail options on WHM panel

Currently we can choose Horde Webmail, RoundCube webmail, SquirrelMail webmail.

We can Enable or Disable, what all are should be available to client by WHM. For select this use bellow steps for it,

1. Login to WHM panel
2. From left site pane, select Server Configuration -> Tweak Settings
3. Click Mail tab, and there we can see lot of mail settings,
4. Find Enable Horde Webmail, Enable RoundCube webmail, Enable SquirrelMail webmail
5. Using On,Off radio selection, we can Enable or Disable webmail options.
6. Select option and click save.