# Standing up a LInux LMS server in AWS

**URL:** <https://community.learnlinux.tv/t/standing-up-a-linux-lms-server-in-aws/4899>\
**Category:** Linux in the Cloud\
**Created:** [November 6, 2025, 3:27pm UTC](https://community.learnlinux.tv/t/standing-up-a-linux-lms-server-in-aws/4899 "2025-11-06T15:27:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsaub](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/t/bb73d2/32.png) [@tsaub](https://community.learnlinux.tv/u/tsaub)\
**Post date:** [November 6, 2025, 3:27pm UTC](https://community.learnlinux.tv/t/standing-up-a-linux-lms-server-in-aws/4899/1 "2025-11-06T15:27:19Z")

</div>

Good Morning,

I am Thom and Linux noob. I am trying to stand up a linux server on AWS for an educational platform. I am going to use Sakai as the LMS application. They have specific requirements in setting up Java, Maven, and Tomcat before loading their application. While I understand the meaning of the instructions, I am unclear on the procedure to accomplish them. In searching for some the files in question, I cannot find them or while I see them and try to access them, I am told the file doesn’t exit. Below is an example of the instructions.

Several environment variables and related properties must be set for Java. For UNIX operating systems one typically modifies a startup file like `~/.bash_login` to set and export shell variables.

Set the JAVA\_HOME environment variable to point to the base directory of your Java installation and add Java’s `/bin` directory to the PATH environment variable.

If the variable JRE\_HOME is already set or if you want to use a particular JRE if you have more than one JRE installed on your machine then you’ll want to set the JRE\_HOME variable as well. JRE\_HOME is what Apache Tomcat uses when it starts up, but it defaults to use JAVA\_HOME if JRE\_HOME is not set. In most cases, setting JAVA\_HOME should cover both cases sufficiently.

SDKMAN will update JAVA\_HOME and PATH for you automatically

**Variable Unix**

| **JAVA\_HOME export JAVA\_HOME=/usr/java/java-current** |
| --- |
| |

PATH export PATH=$PATH:$JAVA\_HOME/bin

Set JAVA\_OPTS

The default Java virtual machine (JVM) settings are not sufficient to run Sakai’s for lots of users. As a result several JVM parameters should be tuned to run Sakai efficiently depending on the server environment others may need to be adjusted for optimal performance.

We recommend that you define these settings in Tomcat’s $TOMCAT\_HOME`/bin/setenv.sh` (Unix/Mac) See the “Install Tomcat 9” section below for more details.

Specify a Language and Locale (optional)

You can define the default language/locale when starting Sakai by setting the system properties `-Duser.language` and `-Duser.region`. For information on supported languages see the release notes or visit the [i18N](http://confluence.sakaiproject.org/display/I18N/Home) Work Group space.

```auto
-Duser.language=es

```

```auto
-Duser.region=ES

```

#### Specify an HTTP Proxy (optional)

In environments where local network policy or firewalls require use of an upstream HTTP proxy/cache, Sakai needs to be configured accordingly.

```auto
-Dhttp.proxyHost=cache.some.domain 

```

```auto
-Dhttp.proxyPort=8080

```

There is no batch\_login file. Does this mean I need to create it, or should there be one somewhere? Cany anyone help me figure this out? There is a similar set for Maven, and then specific instructions for Tomcat. I am learning quickly, but these are specifics that I cannot not find answers to in my searching for knowledge.
