Solved – g++: internal compiler error – mining pool setup

I just thought I would share the solution to this error through my VPS Ubuntu instance I had. The issue was due to lack of ram. Increasing the ram from 512 to 1GB the problem went away.

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report

I used digital ocean for my VPS. They have a good deal right now where you get a $10.00 credit for signing up. Click here.

How to setup MineCraft Server Linux – Ubuntu – Fedora – VPS server

This tutorial will help you setup your own minecraft server in linux.

1.    You need to install Java 1.6 , this will give you all the packages you need:

yum install java-1.6*

2.   Download latest minecraft server and unzip it into its own directory.  I used \home\mindcraft



2.    To Launch the server use this command.

java -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer

3.   The first time you launch it, the server will create a few files after a few seconds ctrl-c to stop.

4.  Now that you have the config files created, put your username in both the admins.txt and the players.txt files.  Edit the and set the port number and change public =true

5. Run this command again

 java -cp minecraft-server.jar com.mojang.minecraft.server.MinecraftServer

You can access my server by this link, try it out if you like.

Errors you may get if you didn’t follow the above:

Failed to load Main-Class manifest attribute from

Exception in thread “main” java.lang.NoClassDefFoundError: minecraft-server/jar
Caused by: java.lang.ClassNotFoundException: minecraft-server.jar
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
Could not find the main class: minecraft-server.jar. Program will exit.