Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Sunday, August 11, 2013

Auto Backup Server Files & MySQL To FTP Server

Source: http://www.lifelinux.com/auto-backup-server-files-mysql-to-ftp-server/
This is a simple script take to daily backup server files and MySQL databases to FTP server. Make sure you have lftp client installed. Type the following command if you are using Centos/Fedora/RedHat

How to set the Time / Date and Timezone in CentOS

Source: http://www.fir3net.com/Redhat-/-Fedora/how-to-set-the-time-date-and-timezone-in-centos.html
In this article we will show you how to set the time, date and timezone within CentOS. Though I'm sure this method will remain the same through the various Linux distributions.

How To Flush The Entire Contents Of Memcache Server

source: http://www.lifelinux.com/how-to-flush-the-entire-contents-of-memcache-server/
If you use Memcached server to store application data, you may want to invalidate it once you deploy a new version to avoid corruption or weird results… In this article, I’ll show you How do I flush the entire contents of a Memcached server ?

How To use nginx proxy cache replace squid

 Source: http://www.goitworld.com/how-to-use-nginx-proxy-cache-replace-squid/
Nginx from the 0.7.48 release, support for Squid cache similar function. This cache is used as the URL and the relevant combination of Key, with the md5 hash code and saved on the hard drive, so it can support any URL link, also supports 404/301/302 such non-200 status code.

How to Install Telnet in CentOS / RHEL / Scientific Linux 6.4

Source: http://www.unixmen.com/how-to-install-telnet-in-centos-rhel-scientific-linux-6-4/
Telnet is a network protocol which is used to connect to remote computers over TCP/IP network. You can make a connection to a remote host using telnet. Once you establish a connection to the remote computer, it becomes a virtual terminal and will allow you to communicate with the remote host from your computer.

How To Optimize Nginx For Maximum Performance

Source: http://www.lifelinux.com/how-to-optimize-nginx-for-maximum-performance/
Nginx is an open-source Web Server. It is a high-performance HTTP server that uses very low server resources, is reliable and integrates beautifully with Linux. In this article, I’ll talk about optimizing your nginx server for maximum performance.

How to Multiple domains load banlance with nginx

Source: http://www.goitworld.com/how-to-multiple-domains-load-banlance-with-nginx/
Nignx is a very great web server and load banlancer. In my “Nginx Server” category have more about nginx.

Monday, July 29, 2013

nginx: Setup SSL Reverse Proxy (Load Balanced SSL Proxy)

Source: http://www.cyberciti.biz/faq/howto-linux-unix-setup-nginx-ssl-proxy/
A reverse proxy is a proxy server that is installed in a server network. Typically, reverse proxies are used in front of Web servers such as Apache, IIS, and Lighttpd. How do I setup nginx web server as SSL reverse proxy?

Sunday, July 28, 2013

Reverse proxy with Apache

Source: http://opentodo.net/2012/08/reverse-proxy-with-apache/
Reverse proxy is very useful when We need Load balancing web requests or ensure our web servers for possible attacks.

The Benefits of a Reverse Proxy

Source: http://mikehadlow.blogspot.com/2013/05/the-benefits-of-reverse-proxy.html
A typical ASP.NET public website hosted on IIS is usually configured in such a way that the server that IIS is installed on is visible to the public internet.

Nginx reverse proxy to a few back end web servers

Source: http://centminmod.idglabs.net/?p=152
A reverse proxy is a type of proxy server that retrieves resources on behalf of a client from one or more servers. These resources are then returned to the client as though it originated from the reverse proxy itself. Reverse proxies are a great way to reduce the load on any one machine as well as help secure the web cluster from external influences. Some advantages for using a reverse proxy (source wikipedia) are:

Reverse Proxy with Multiple Backend Web Servers

Source: http://wiki.squid-cache.org/ConfigExamples/Reverse/MultipleWebservers
Warning: Any example presented here is provided "as-is" with no support or guarantee of suitability. If you have any further questions about these examples please email the squid-users mailing list.
Contents

Wednesday, April 4, 2012

Tải tập tin bằng lệnh wget trong linux

Nguồn: http://khanh.com.vn/post/2011/04/11/Tai-tap-tin-bang-lenh-wget-trong-linux.aspx

1. Tại sao dùng wget?

Trong môi trường UNIX/Linux, chúng ta có thể di chuyển tới các thư mục một cách nhanh chóng bằng lệnh cd (change directory) trong cửa sổ lệnh Terminal.

Monday, December 5, 2011

How To Install memcached with memcache PHP Extension on CentOS 5.x

Nguồn: http://www.sohailriaz.com/how-to-install-memcached-with-memcache-php-extension-on-centos-5x/

In this how to i will describe how to install memcached on your server with PHP Extension. memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. My server is running CentOS 5.3 with CPanel.

Speeding up your nginx server with memcached

Nguồn: http://lserinol.blogspot.com/2009/03/speeding-up-your-nginx-server-with.html

Nginx is a high performance web and proxy (web and mail proxy) server. Generally, nginx is used as a front-end proxy server to Apache webserver.

Thursday, June 23, 2011

25 Most Frequently Used Linux IPTables Rules Examples

In all our examples below, we have two rules for each scenario, as we’ve set DROP as default policy for both INPUT and OUTPUT chain.

Tuesday, June 7, 2011

Using Nginx as reverse proxy

cat /proc/cpuinfo
yum install apt (cài gói apt-get )
yum install pcre-devel zlib-devel openssl-devel
rpm -qa|grep pcre

Friday, May 27, 2011

Tạo file liên kết tắt trên Linux

Về cách tạo file liên kết tắt này thì LK wa bên vnexperts viết hay nên lấy cho anh em coi luôn !!
Nếu trên Windows bạn đã quen với khái niệm Shortcut là các file chứa thông tin trỏ đến một file thực thi khác thì khái niệm này đã tồn tại trong thế giới UNIX từ rất lâu.

Router Packet Networking

Đây là video ngắn khá hay, mô tả đường đi của một gói tin trên Mạng Internet.