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.
Monday, August 24, 2015
Thursday, January 2, 2014
How to reset your password in Ubuntu
Source: http://www.blogger.com/blogger.g?blogID=9205796291897929439#editor/target=post;postID=4028775311480482704
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
There are many reasons you might want to reset a password:
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
There are many reasons you might want to reset a password:
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
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.
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 ?
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.
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.
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.
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.
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?
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.
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.
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:
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
Tuesday, October 2, 2012
Adding custom columns/fields to Joomla article, section and user
Run:
ALTER TABLE `jos_content` ADD `article_image` VARCHAR( 255 ) NOT NULL
in for instance phpMyAdmin.
ALTER TABLE `jos_content` ADD `article_image` VARCHAR( 255 ) NOT NULL
in for instance phpMyAdmin.
Tuesday, September 18, 2012
25 Excellent Ajax Techniques and Examples
Source: http://sixrevisions.com/ajax/ajax_techniques/
Ajax allows for rich-internet applications that mimic the responsiveness and complex user interfaces typically associated with desktop applications.
Ajax allows for rich-internet applications that mimic the responsiveness and complex user interfaces typically associated with desktop applications.
Thursday, August 2, 2012
Hide Joomla Subdirectory (Subfolder)
Source: http://joomlawebhosting.ca/joomla-15-tips/57-hide-joomla-subdirectory-subfolder.html
Instead of installing Joomla in the web root (public_html), some like to put
the Joomla files in a subfolder for better housekeeping.
Instead of installing Joomla in the web root (public_html), some like to put
the Joomla files in a subfolder for better housekeeping.
Thursday, April 12, 2012
Tạo vị trí mới trong template joomla 1.5 và 2.5
Mở file chứa template của bạn, chẳng hạn "\templates\thuvientapchi\index.php", xác định chỗ mà bạn muốn thêm một vị trí module mới và đặt vào đoạn mã sau:
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.
Tuesday, April 3, 2012
Backing up And Restoring MySQL Innodb Database
Source: http://blog.ijun.org/2010/02/backing-up-and-restoring-mysql-innodb.html
Backing up And Restoring MySQL Innodb Database
MySQL backups are performed using the common mysqldump tool. This is a command line utility that ships with MySQL and you use at as follows:
% mysqldump --user=user --password=pass --opt DBNAME > dumpfile.sql
Backing up And Restoring MySQL Innodb Database
MySQL backups are performed using the common mysqldump tool. This is a command line utility that ships with MySQL and you use at as follows:
% mysqldump --user=user --password=pass --opt DBNAME > dumpfile.sql
Subscribe to:
Posts (Atom)
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.