Advertisement
Home arrow Linux Shell commands
Linux Shell commands
Wanna get more info on your CPU ?
Friday, 13 January 2006
If you need more info on your CPU performance just simply run this shell command:
cat /proc/cpuinfo
 
Basic Linux Commands
Friday, 16 December 2005
The following are a list of basic Linux commands that will help you in running your dedicated webserver. While these commands are not "required" to run the server they will help you run your dedicated server more efficiently. The commands below will be used once you SSH into your server. You will be SSHing using Putty.exe or your favorite SSH Utility.
Read more...
 
New cPanel Install on Opteron Dual
Thursday, 29 September 2005
dual opteronAh,Finally :)
Got our new Dual Opteron Box with 2x 248 Opterons , 4 gigs of registered ECC Ram 6 Sata 200gig in Raid5 and an 8port 3ware Raidcard (hotswap).

After long fiddling we got centOS 4.1 the 64bit version installed on it. This took some time as there where some issues with the Tyan Thunder Board , the 3ware and the riser card. But what is live without headaches for sysadmins :)
According to Luke aka cyberBOB he got rid of most of his hair (he is only 25) but after waiving his magic wand, this HotRod woke up to live !

Just sitting here mesmerised and watching the fresh install of cPanel onto this monster
 
How can i view maillog for one domain?
Monday, 26 September 2005
in ssh, as root, type:

cat /var/log/exim_mainlog | grep "domain.com" > logfile.txt

this should create a file called logfile.txt with the desired mail log for domain.com
 
List of Commands for vi - An Unix Editor
Friday, 23 September 2005
The vi editor is a common editor for unix systems in that it makes use of a regular keyboard with an escape key. On the DECstation, the escape key is the F11 key. It therefore works on all unix computers. Complete documentation is available by typing man vi at the unix prompt.
Read more...
 
Alphabetical Directory of Linux Commands
Thursday, 22 September 2005
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

http://www.oreillynet.com/linux/cmd/
 
Enable html files to process SSI directive
Tuesday, 20 September 2005
What is SSI ?
SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. They let you add dynamically generated content to an existing HTML page, without having to serve the entire page via a CGI program, or other dynamic technology.To permit SSI on your server, you must have mod_include installed and enabled. Additionally, you must have the above directive either in your httpd.conf file, or in a .htaccess file.
Read more...
 
Taking backup of mysql database using cron
Tuesday, 20 September 2005
Taking backup of mysql database using cron

Create a file called database_backup.sh and also an empty directory called mysql_backup.
Read more...
 
Cron - Explanation
Tuesday, 20 September 2005
Cron allows users to automate repetitive system administration tasks such as tape backups, database reorganization, and general file cleanups (such as emptying log files and queues).

The Crontab File's Syntax
To tell cron what you want it to run, and how often you want it to run it, you need to create a crontab file. A crontab file is just a text file with the following syntax:

Read more...
 
Moving mySQL DBs between servers
Saturday, 17 September 2005
This is one of those things that I found when perusing the Textpattern forums. It seems like a useful thing to know.

This was in answer to the question about moving a Textpattern weblog (which is stored in a mySQL database) from one server to another:

mysqldump -uUSER -pPASSWORD txp_database > txp_database.sql

puts the entire thing in one nicely portable text file.

on a new server it takes

mysql -uUSER -pPASSWORD txp_database < txp_database.sql

to import it.

 
<< Start < Prev 1 2 3 4 Next > End >>

Results 21 - 40 of 74