linux
This tutorial goes over the techniques used to remotely access systems via SSH and or VNC.
Grep is a powerful utility that can be used to parse out and or query files for data.
Linux input-output redirection is a powerful yet useful tool that can be used to save data for later viewing as well as automating particular tasks.
Linux Video Tutorials - November 15, 2011
This video will teach you how to use the Linux Batch and At Utilities also known as one time schedulers.
Linux Video Tutorials - November 15, 2011
This video is on Linux CronTabs also known as Job Schedulers, Task Schedulers, and Cron Jobs. Let me know if
Although CronTabs are useful, sometimes you just want to run a command at a given time once and not have it reoccurring. The commands `at` and `batch` can do just that. The `at` command can be used to run a command based on a specific time. Lets say you wanted to run a command 1 day in advance or even 1 hour from your current time, `at` would be the tool to use. `batch` on the other […]
Setting up linux crontabs is alot easier then it appears. In order to setup linux crontabs successfully you need to understand how the units of time work. Here is a table in the order of priority from top to bottom with a break down of the values you can use. minute (0 – 59) hour (0 – 23) day of the month (1 – 31) month (1 – 12) OR jan, feb, mar, apr… day of the […]
Disabling direct root ssh access to your GNU/Linux Box is great for security, but sometimes you just want to be able to directly login via root without that restriction. You can disable or enable it by doing the following: First open your /etc/ssh/sshd_config in a editor. vi /etc/ssh/sshd_config Next you will find a line that has permitrootlogin and it is either set to yes or no. To enable direct root access set the value to yes like […]
In order to enable slow query logs for MySQL on your system you would need to do the following. 1st Step is to edit your my.cnf file which is located in your /etc directory. vi /etc/my.cnf Once you have your my.cnf file open, then add the following 4 lines then save and exit the file. [mysqld] log-slow-queries log-slow-queries=/var/log/mysql/slow-queries.log long_query_time=1 Then create the file slow-queries.log. You can have the file in any spot you wish, as long as […]
Below are the steps needed in order to successfully install the PHP APC optimizer module on Red Hat based systems such as CentOS. Before installing PHP APC, we need to start by installing the php pear module, php-devel, httpd-devel, and pcre-devel modules. yum install php-pear php-devel httpd-devel pcre-devel After you install the required packages, then we can go ahead and install PHP APC. In the command line type the following: pecl install apc PHP APC will now […]
Follow DevBlog.co on Twitter
follow us on Twitter
Join DevBlog.co is on Facebook!
DevBlog.co on Facebook
Follow DevBlog.co on Digg!
DevBlog.co on Digg
Design Tutorials
Programming Tutorials