![]() To create a new systemd service for GlassFish, open your editor of choice and create a new file: $ nano /etc/systemd/system/rviceĮxecStart = /usr/bin/java -jar /home/glassfish/glassfish4/glassfish/lib/client/appserver-cli.jar start-domainĮxecStop = /usr/bin/java -jar /home/glassfish/glassfish4/glassfish/lib/client/appserver-cli.jar stop-domainĮxecReload = /usr/bin/java -jar /home/glassfish/glassfish4/glassfish/lib/client/appserver-cli.jar restart-domain Switch to the glassfish user: $ su - glassfishĪs the glassfish user, download and extract the latest GlassFish 4.1 archive $ wget Download and extract the GlassFish 4.1 archive Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)ĥ. ![]() ![]() Java(TM) SE Runtime Environment (build 1.8.0_45-b14) To check if JAVA has been properly installed on your CentOS box run java -version, and the output should be similar to the following: $ java -version Once the rpm package is downloaded, install it with: $ yum install jdk-8u45-linux-圆4.rpm header "Cookie: oraclelicense=accept-securebackup-cookie" \ Use the command below to download the Oracle JDK 8 from the command line using wget: $ wget -no-cookies \ GlassFish 4.1 requires JDK 8 u20 or above. Create a new system userĬreate a new user for the Glassfish server: $ adduser \ Update the system and install necessary packages $ yum -y update Download and extract the GlassFish 4.1 archiveġ. Update the system and install necessary packages
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |