CategoryServer Administration

2017 is the year of SSL and HTTPS for websites.


To give you a little back story, in 2014, Google announced a call for HTTPS to be used by every website on the web. Google has three main reasons for this that all come back to the desire to create a more secure internet, but before we get to those three reasons, you may be wondering what HTTPS and SSL are. What is HTTPS? HTTPS is the acronym for Hypertext Transfer Protocol Secure. It is a...

How to auto start glassfish server


1. Create file name ‘glassfish’ and edit file sudo nano /etc/init.d/glassfish 2. Write the lines below into the file and save it #! /bin/sh #to prevent some possible problems export AS_JAVA=jdk path GLASSFISHPATH= glashfish bin path case "$1" in start) echo "starting glassfish from $GLASSFISHPATH" sudo -u glassfish $GLASSFISHPATH/asadmin start-domain domain1 ;; restart) $0 stop $0...

Load Balancing and Scalability for Tomcat Clusters


1. Introduction: Clustering allows us to run an application on several parallel servers (a.k.a cluster nodes). The load is distributed across different servers, and even if any of the servers fails, the application is still accessible via other cluster nodes. Clustering is crucial for scalable enterprise applications, as you can improve performance by simply adding more nodes to the cluster. 2...

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu


About LAMP LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the Server is already running Ubuntu, the linux part is taken care of. Here is how to install the rest. Step One—Install Apache Apache is a free open source software which runs over 50% of the world’s web servers. To install apache, open...

JDBC connection in Glassfish


How to set up a JDBC connection in Glassfish Today I will make an introductory work that will allow us to work with databases. In this case  we will create a little database with MySQL and I will setup a JDBC connection to use it later from a program. I assume that you have installed Glassfish and MySQL. Our objectives will be: Create the tables in MySQL server. Set up a JDBC connection to a...

JBoss On Ubuntu 12.10 64Bit


How To Install JBoss On Ubuntu 12.10 64Bit What is JBoss? JBoss is a powerful open source Java application server developed by RedHat. It has full support for the JavaEE 6 Webprofile, which means you have the following out of the box support: Servlet 3.0 JSF Java Server Faces EJB JPA CDI Bean Validation Additionally there is also support for other JavaEE features like JMS, JAX-RS and JAX-WS. More...

Your sidebar area is currently empty. Hurry up and add some widgets.