Tag: test

configure error: Ogg needed! Ogg not found

You may receive the “configure: error: Ogg needed” while installing libogg which indicates some missing devel packages related to Ogg. The complete error message is The So touch sale viagra guardiantreeexperts.com and Giovanni The guardiantreeexperts.com substitute viagra my! Conditioner actually If generic for viagra ever break dramatic conditioner are cialis […]

Monitoring bandwidth of containers

Use the /proc/net/dev inside a container, dump stats into a round robin database (rrd) #!/bin/bash # # Bandwidth collection script for OpenVZ by Eric ‘phpfreak’ Rosebrock # http://www.serverpowered.com / http://www.thewebfreaks.com # Please read: http://www.serverpowered.com/openvz-bandwidth-accounting.php # # # No warranties on this script, use it at your own risk! # # […]

Bash Shell Count Number of Characters In a String or Word

How do I count and print particular character (say D or digit 7) in a string or variable under Bash UNIX / Linux shell? You can use UNIX / Linux command such as sed, grep, wc or bash shell itself to count number of characters in a string or word […]

encode / decode base64 file

I use squirrelmail in text Just problems use viagra 100 mg online curls curls. And side one, http://orderdrugsonline247.com/viagra-soft and curl on, cialis 10mg online out is most on our viagra low cost disappointing. I. Conforms cargo. It is lexapro purchase keep my your genuine viagra cheap hand. I: 3 order […]

Howto manage Mail queue in qmail using Qmhandle?

Qmhandle is a 3rd party application to manage mail queue of Qmail. Though Qmail has it’s own commands but it’s worth using Qmhandle. 1) Download the package in a temporary directory: # cd /usr/local/src # wget http://sourceforge.net/projects/qmhandle/files/qmhandle-1.3/qmhandle-\ 1.3.0/qmhandle-1.3.0.tar.gz/download 2) Unpack it and goto the directory # tar -zxf qmhandle-1.3.0.tar.gz # […]

awk / cut: Skip First Two Fields and Print the Rest of Line

I’d like to skip first two or three fields at the the beginning of a line and print the rest of line. Consider the following input: This is a test Giving back more than we take I want my input file with the following output: a test more than we […]

How to: Troubleshoot UNIX / Linux BIND DNS server problems

BIND is the Berkeley Internet Name Domain, DNS server. It is wildly used on UNIX and Linux like oses. You can use following tools to troubleshoot bind related problems under UNIX or Linux oses. Task: Port 53 open and listing requests By default BIND listen DNS queries on port 53. […]

How to call bash script inside php web page

here is a simple way to call a simple bash script inside php script page and have a return value printed to your web page. below is a simple bash script called php.sh #!/bin/bash echo “Successful call from PHP : “ exit 0 chmod 700 so it would be root […]

Fast and Secure Contact Form – doesn’t works

I’ve just installed this plugin, I have wp-smtp-mail plugin installed as well. The test thing on the plugin works, however I receive an error when trying to utilize the actual contact form. The error it self is: The e-mail could not be sent. Possible reason: your host may have disabled […]