Automation with Cron

In every linux cron service we found and it is most familiar command to every system administrator. I am proud to be one of them.CRON - Introduction :The cron is a daemon and we can manage it with service names crond. Cron is the best solution in all sort of Linux Operating systems to run scritps,commands at a determined or specified time. So as I did mentioned it is a service it will start with system...

How to remove Shutdown,restart options from startmenu in windows server 2008.

1. Open run 2.Type gpedit.msc3.choose User Configuration -> Administrative Templates -> Start menu & Task BarChoose Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commandsand open it and select enabled.Thensee whether it is updated or not. If its not updated then open run and type asgpupdate /forceand now shutdown,restart removed from start me...

Basic MySQL Administration

1. How to create a user and along with his privileges automatically ?GRANT ALL PRIVILEGES ON database.* To 'username'@'hosr or IP ' IDENTIFIED BY 'password';flush privileges;2. How to give only specific privileges to users ?GRANT select,lock tables ON *.* To 'user'@'host or IP ' IDENTIFIED BY 'password';flush privileges;3. How to see permissions of a user ?show grants for 'username'@'hostanme';4....

Reset root password in CentOS 6

In CentOS base version , I mean v6 there is a bug and you cant reset the password in the usual way. I am going to mention both the ways.To reset root password of CentOS machine, Start your PC. You will get GRUB screen and there choose " e" to edit booting kernel. After that It will open in a new window with current configuration.If you observe there you can find a line with two last words like  "...

CentOS 7 Repositories

table.curvedEdges { border:10px solid RoyalBlue;-webkit-border-radius:13px;-moz-border-radius:13px;-ms-border-radius:13px;-o-border-radius:13px;border-radius:13px; } table.curvedEdges td, table.curvedEdges th { border-bottom:1px dotted black;padding:5px; } !-- Be sure to place the above styles (i.e. everything between the tags) into the document 'head' (i.e. between the tags. Everything below...

Explanation of /etc/fstab

What is fstab file?fstab is a configuration file that contains information of all the partitions and storage devices in your computer. The file is located under /etc, so the full path to this file is /etc/fstab./etc/fstab contains information of where your partitions and storage devices should...