此内容没有您所选择的语言版本。
Chapter 7. Performing Advanced Installation Tasks
This section describes how to install JBoss Developer Studio using a script and how to build the JBoss Developer Studio installer from source code.
7.1. Installing JBoss Developer Studio Using a Script 复制链接链接已复制到粘贴板!
Use the scripted method to install JBoss Developer Studio stand-alone using the GUI once and then a generated script for subsequent installations. This installation method enables simplified repeat installations or installations in bulk without stepping through the installer GUI for every installation.
The JBoss Developer Studio stand-alone installer is available from a variety of sources, including the Red Hat Customer Portal.
To install JBoss Developer Studio by script:
- Download Red Hat JBoss Developer Studio 10.3 Stand-alone Installer from JBoss Developer Studio Software Downloads.
Start the installer:
cd /path/to/.jar java -jar devstudio-10.3.0.GA-installer-standalone.jar
$ cd /path/to/.jar $ java -jar devstudio-10.3.0.GA-installer-standalone.jarCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
Follow the on-screen instructions to complete the installation process. After the installation is complete, an
InstallConfigRecord.xmlfile is generated in the JBoss Developer Studio installation directory. In the terminal window, enter the following command:
java -jar devstudio-10.3.0.GA-installer-standalone.jar \ /path/to/devstudio/InstallConfigRecord.xml
$ java -jar devstudio-10.3.0.GA-installer-standalone.jar \ /path/to/devstudio/InstallConfigRecord.xmlCopy to Clipboard Copied! Toggle word wrap Toggle overflow
The generated InstallConfigRecord.xml file is machine-specific and uses the Java Developer Kit and installation paths of your system. To use the InstallConfigRecord.xml file for other operating systems, Java Developer Kits, or paths, you must manually modify the file.
Prerequisite
- Maven 3.2 or later, with Java 8 must be installed to build the installer from the source code. To obtain and configure Maven, see http://maven.apache.org/.
To build the JBoss Developer Studio stand-alone installer from source:
Clone the git repository by running the command:
git clone https://github.com/jbdevstudio/jbdevstudio-product.git
$ git clone https://github.com/jbdevstudio/jbdevstudio-product.gitCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Build the installer by following the instructions in the jbdevstudio-product/README.adoc file.
The jbdevstudio-product/README.adoc file is located in the extracted current folder at the highest level.
Building takes some time to complete, after which the devstudio-[version]-installer-standalone.jar file will be located in the /path/to/jbdevstudio-product/installer/target directory.