Monday, August 24, 2015

Accessing database from JSP

Nguồn: http://www.roseindia.net/jsp/Accessingdatabase-fromJSP.shtml
Introduction
In This article I am going to discuss the connectivity from MYSQL database with JSP.we take a example of Books database. This database contains a table named books_details. This table contains three fields- id, book_name& author. we starts from very beginning. First we learn how to create tables in MySQl database after that we write a html page for inserting the values in 'books_details' table in database. After submitting values a table will be showed that contains the book name and author name.

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?

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.