Version
Pixelmon 4.2 requires 1.8.9 with Forge version 11.15.1.1749 or later.
Prerequisites
NOTE: I first tried a Basic A0 server but that was not powerful enough
If 1.8 is not installed, you can try this link one or this one.
Then, check the version again. To change 1.8 to the default, run this:
sudo update-alternatives --config java
Steps
- Start with a GUI environment; this is required to get forge file.
- Open browser and go to http://files.minecraftforge.net/
- Click on the version you need; Pixelmon 4.2 requires 1.8.9. FWIW, I got forge-1.8.9-11.15.1.1902-1.8.9-installer.jar:

- Get the forge installer jar to a folder on your Linux server; I used ftp
- Go to the command line of Linux server
- Navigate to the file with forge installer jar file
run the following command:
sudo java -jar forge-1.8.9-11.15.1.1902-1.8.9-installer.jar --installServer
Delete installer file if you wish
Run this command to start forge:
sudo java -jar forge-1.8.9-11.15.1.1902-1.8.9-universal.jar nogui
NOTE: it will exception out b/c of the eula
- Open newly created eula.txt (e.g. sudo nano eula.txt) and set "eula=true"
- Navigate to mods folder: cd mods
- Get pixelmon file:
sudo wget http://download.nodecdn.net/containers/pixelmon/core/Pixelmon-1.8.9-4.2.7-universal.jar
- Re-run forge: sudo java -jar forge-1.8.9-11.15.1.1902-1.8.9-universal.jar nogui
Credit to this link and MCCCS's answer to get me in the right direction.