Time for action – configuring Java runtime parameters
In Chapter 2, Getting Started with GeoServer, we created a startup script for automated startup of GeoServer on Linux. Now you will edit the script and add proper values for the Java runtime parameters. Each parameter will be briefly described in the following steps:
Open the startup file for editing:
~$ sudo vi /etc/init.d/tomcat
Note
vi is one the most famous editors on Linux. System Administrators and developers often love it for its flexibility and power. On the other hand it has provides a steep learning curve, where newcomers may find its command mode/insert mode, dual nature uncomfortable. On Debian distribution you may find nano, which is a more user-friendly console editor. And it goes without saying that you can use a powerful IDE such as Gedit or Jedit if you can access a desktop environment.
Locate the following line; if you didn't modify the script created in Chapter 2, Getting Started with GeoServer, it should be on line 16...