Browsing: Featured

How to Create Bandwidth Usage Script on Linux

Using a tool called iftop we can monitor bandwidth usage via command line on Linux. But here we will create our own shell script to monitor bandwidth usage. The idea is to read rx_bytes and tx_bytes files inside /sys/class/net/[interface]/statistics/ folder. Create netspeed script in /usr/local/bin/ and copy and paste below script. Script content: Exit nano…

How to Check System Uptime on Windows

On Linux operating system, we can use command top to show system statistic, running processes, and uptime. How can we do it on Windows environment? Using Windows operating system, the similar to top command is net statistics server. Execute this command in command prompt will show summary of  Windows system statistic including when the system…

How to Update Twitter Timeline Using PHP

Guide on this article can be used to post Twitter using PHP. First of all, download source code from http://phpfashion.com/twitter-for-php. Extract downloaded file to your folder. Example: /public_html/twitter-php/. Then we create index.php file with the following code: The first line is to setup variables: username, password, and message. And the next part is to setup…

How to Fix phpFox Error: “Unable to write to temporary folder: /tmp/”

phpFox is social network web-based application which can be used to build online community. I found this error message when installing phpFox: To fix this problem, edit install/include/installer.class.php Find this line: and modify to this: After that, create new folder: Change the folder permission to 777: After that redo phpFox installation http://domain.com/install/index.php And problem will…

How to Install Virtualbox 4.1 on Linux Mint

Virtualbox Open Source Edition can be installed using Software Manager in Linux Mint. But if you want to use USB feature in Virtualbox, you have to install the non-free version of Virtualbox. Below is step by step guide how to install Virtualbox 4.1 non-free version on Linux Mint: 1. Edit /etc/apt/sources.list 2. Add this repository…

1 2 3 8