Categories
CentOS CentOS 5.2 Tutorials CentOS 5.3 Tutorials CentOS 5.4 Tutorials CentOS 5.5 Tutorials CentOS 5.6 Tutorials CentOS 5.7 Tutorials CentOS 5.8 Tutorials CentOS 6.0 Tutorials CentOS 6.1 Tutorials CentOS 6.2 Tutorials CentOS 6.3 Tutorials CentOS 6.4 Tutorials Fedora MISC

Transferring Files using Netcat

Netcat is a great cross platform tool, it can be used for just about all things related to or involving TCP or UDP. Its most practical use is transferring files using Netcat from one machine to another via a network. Where non *nix people usually don’t have SSH installed or set-up, it is much faster to transfer files using Netcat than setup SSH. Netcat is just a single executable, and works across all platforms (Windows,Mac OSX, Linux).

On the Netcat receiving end

# nc -l 1234 > out.file

This will start Netcat listening on port 1234.

On the Netcat sending end

# nc -w 3 [destination] 1234 < out.file

This will connect to the receiver and begin transferring files using Netcat.

If you’d like to transfer files quicker (*nix only I am afraid), you can compress the file during sending process

On the Netcat receiving end

# nc -l -p 1234 | uncompress -c | tar xvfp -

On the Netcat sending end

# tar cfp - /some/dir | compress -c | nc -w 3 [destination] 1234
Categories
CentOS CentOS 6.0 Tutorials CentOS 6.1 Tutorials CentOS 6.2 Tutorials CentOS 6.3 Tutorials CentOS 6.4 Tutorials

Install Nginx with PHP-FPM on CentOS 6

What is Nginx?

Nginx (pronounced “engine x”) is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption.

What is PHP-FPM?

PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

Install the EPEL x86_64 YUM Repository

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Install Nginx

# yum install nginx

Install PHP and PHP-FPM

# yum install php php-mysql php-fpm php-common
Categories
CentOS 6.3 Tutorials

CentOS 6.3 Released

CentOS 6.3 has been released.

CentOS-6.3 is based on the upstream release EL 6.3 and includes packages from all variants. All upstream repositories have been combined into one, to make it easier for end users to work with.

CentOS 6.3 Downloads

You can download CentOS 6.3 via the web/ftp server or via BitTorrent (recommended) client.

CentOS 6.3 DVD ISO downloads

Choose a CentOS mirror close to you :

CentOS 6.3 Mirrors

CentOS 6.3 DVD ISO Torrents

Torrent files for the DVD’s are available at the following location:

Upgrading from CentOS-6.0 / 6.1 or 6.2

Unless you have edited your yum configs, a ‘yum update’ should move your
machine seamlessly from any previous CentOS-6.x release to CentOS-6.3