≡ Menu

wget command

Use wget with Squid Proxy Server

How do I make wget work with Squid under UNIX or Linux operating systems?
[click to continue…]

CentOS / Redhat Linux: Install OpenNTPD To Synchronize The Local Clock

OpenNTPD is a Unix system daemon implementing the Network Time Protocol to synchronize the local clock of a computer system with remote NTP servers. How do I install OpenNTPD under CentOS / RHEL / Fedora Linux instead of default NTPD client / server?
[click to continue…]

PHP Add Captcha Protection To Web Forms

I own a small business website. However, bots started to abusing my forms such as contact.php. How do I stop bad bots from abusing my site? How do I tell if PHP form is submitted by a person or a script?
[click to continue…]

Freebsd: Install wget Utility To Download Files From The Internet

How do I install wget the non-interactive network downloader under FreeBSD operating systems? How do I install wget on FreeBSD 8.x?
[click to continue…]

I'm behind a squid proxy server. How do I access internet via proxy server when I use wget, lynx and other utilities from a shell prompt on a Linux or Unix-like systems?
[click to continue…]

OpenBSD Install Ports Tree Collection

I have installed OpenBSD operating system but ports collection is missing at /usr/ports directory. How do I install ports from ftp / http site under OpenBSD?
[click to continue…]

How To Use wget With Username and Password for FTP / HTTP File Retrieval

Q. How do I use wget ftp / http client tool to download files from password protected web page?
[click to continue…]

Redhat / CentOS / Fedora Linux Install XCache for PHP 5

How do I install Xcache opcode cacher for PHP 5 under RHEL / CentOS version 5.0 server?
[click to continue…]

How to compile program under Linux / UNIX / FreeBSD

Q. I've downloaded tar ball software but I don't know how to compile the same? Can you provide the instructions for compiling a program?

A. Many new users find it difficult to compiling programs in Linux. Usually following steps are involved:

a] Download tar ball using wget

b] Untar tar ball using tar command

c] Compile program using make or configure command

d] Install software

Task: compiling program

Step # 1: Download program tar ball:
$ wget http://url-com/prog.tar.gz
Step # 2: Untar tar ball :
$ tar -zxvf prog.tar.gz
$ cd prog

Step # 3: Untar tar ball:
Configure program:
$ ./configure
Compile program:
$ make
Install program (must be run as the root, login using su or use sudo):
$ sudo make install
$ su -
$ make install

Install Multimedia Codecs For Ubuntu Linux

Q. How do I install Multimedia Codecs for Ubuntu Linux? Can you suggest Multimedia Player for Ubuntu Linux?

A. The best way to install Multimedia Codecs under Ubuntu Linux is use Automatix2 software. Please see previous FAQ Howto: Install Mplayer under Ubuntu Linux

Quick installation: Automatix2

Open terminal and type the following command:
$ wget http://www.getautomatix.com/apt/dists/feisty/main/binary-i386/automatix2_1.1-4.12-7.04feisty_i386.deb
$ sudo dpkg -i automatix2_1.1-4.12-7.04feisty_i386.deb

Now Automatix2 can be run from terminal by typing the command:
$ automatix2

Now install all required multimedia codecs and software.

Multimedia player for Ubuntu Linux

  • Beep Media Player - Plays mp3 and other format
  • Rhythmbox - An integrated music management application
  • VLC Media Player

You can install above players and codecs using Automatix2 and Package manager which is located at System > Administrator > Synaptic Package Manager