Monday, March 8th, 2010 Wondering which CPU (processor) your linux server is running on?Run this command from your shell: cat /proc/cpuinfoYou will be presented with detailed information of your processor like this: (It's for a Dual Quad-Code XEON, a dedicated server from WebHosting.com.bd, which is powering this site now)[root@cheetah ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU ...
(read more) Friday, March 5th, 2010 vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as information source. This means that vnStat won't actually be sniffing any traffic and also ensures light use of system resources.You can download the latest version on vnStat here.How to install vnStat: wget http://humdi.net/vnstat/vnstat-1.10.tar.gz (replace vnstat-1.10.tar.gz with the latest version number)tar -zxvf vnstat-1.10.tar.gzcd vnstat-1.10makemake installCreate Database for vnStat: Every interface that should be monitored needs to be introduced to vnStat. For that you need to create a database for every interface ...
(read more) Thursday, August 27th, 2009 You are trying to use the cPanel File Manager and uploads never make it to your folder? But no error message is being shown?Try the Legacy File Manager. After hitting the upload button, does it give you this virus warning error at the top right (Upload Status) of the page? "Virus Detected; File not Uploaded! (No such file or directory)"The issue is most likely with the clamavconnector cPanel plugin. Simply uninstalling the plugin should solve the issue.To uninstall clamavconnector, go to "WHM > cPanel > Manage Plugins"Look for the "clamavconnector" and click on the "Uninstall clamavconnector" button.Let the process complete and ...
(read more) Thursday, December 11th, 2008 If you have access to SSH on a remote server (dedicated server, vps or shell account), you can browse the internet over the IP address hiding your original IP address.This can be useful for many scenarios like -IP based authentication over dynamic IP: In many cases for security reasons we use restrict access only to some selected IP addresses. For example, admin area of a blog, forum, billing system or help desk can be protected with IP based authentication. But what if you are on dynamic IP? You can allow your users (or yourself) first to ssh to a server ...
(read more) Tuesday, April 1st, 2008 Its being heard that the upcoming version of Microsoft Windows named Windows 7 (formerly known as Blackcomb and Vienna) is going to use a highly modified version of the Linux Kernel 2.6.24.4Leran more on Windows 7 and Linix Kernel here: Windows 7 Linux KernelNOTE: Its just another "April Fool Joke". Idea: Imtiaz
(read more) Tuesday, August 21st, 2007 If you are running a dedicated server or vps without control panel or a control panel which doesnt provide an interface to change time zones (like HSPComplete VPS), you can easily change your timezone from ssh command prompt.First browse to /usr/share/zoneinfo to find your city.You can use SFTP to easily browse your server files.Here we find time zone for Dhaka to be located at /usr/share/zoneinfo/Asia/DhakaNow you need to SSH into your server and link /etc/localtime to your desired time zone file.To set the server timezone to Dhaka we use the command: ln -sf /usr/share/zoneinfo/Asia/Dhaka /etc/localtimeWe can check if it got properly ...
(read more) Monday, September 25th, 2006 cPanel Proxy is a small PHP script which allows users to access cPanel, WHM and Web Mail on port 80 by acting like a proxy. Its very helpful for people who are behind firewall.This tutorial guides you on ow to make a server-wide installation of cPanel Proxy so all accounts created on your server gets access to cPanel Proxy (can access cpanel on port 80)Installing Connect to your server via SSH and login to your normal user account (for cPanel, this account needs to be a member of the wheel group), then 'su -' to root. At the prompt, type the ...
(read more) Saturday, September 2nd, 2006 I always had the idea Google runs on Apache. But today playing with my Web Server Detection Tool and HTTP Header Checker i noticed www.google.com to return the following HTTP Header:URL: http://www.google.com/ HTTP Header: Status: HTTP/1.0 200 OK Cache-Control: private Content-Type: text/html Set-Cookie: PREF=ID=90107988a9ae4a88:TM=1157210262:LM=1157210262:S=ltFJ-O9yIsDIPVaS; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com Server: GWS/2.1 Content-Length: 0 Date: Sat, 02 Sep 2006 15:17:42 GMT Connection: Keep-AliveSo.. the web server google is using is GWS/2.1. Which i guess to stand for "Google Web Server".I couldnt find any trace of it over Google Labs or elsewhere. So couldnt digg up much info on it other than a list of Google server types (from answers.com). ...
(read more) Thursday, August 31st, 2006 Over a post in Google Webmaster Central Blogs Vanessa Fox stated that when your site goes down for maintenance tou should configure your server to return a status of 503 (network unavailable) rather than 200 (successful). This lets Googlebot know to try the pages again later.Searching for how i can make my Apache webserver return the 503 - Service Unavailable status code for a particular site on a shared hosting environment i found the following solution over http://wiki.splitbrain.org/503.shTo return 503 (Service Unavailable) status on Apache Web Server:Step 1: Create the following shellscript named 503.sh:#!/bin/sh cat <<EOF Status: 503 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE html PUBLIC "-//W3C//DTD ...
(read more)