Forum Problems Installing LAMS: How Install lams on VPS


 
You may request notification for How Install lams on VPS .
Search: 

1: How Install lams on VPS
10/07/12 10:14 AM
[ Reply | Forward ]
Hello all.

I tried to install LAMS on a VPS using ssh root access. I used the guide: http://wiki.lamsfoundation.org/display/lamsdocs/Installing+LAMS+2.4+on+CentOS+5.8

The installation process went smoothly at first. but on the last step:
>> Start LAMS

error occurs:
Error occurred during initialization of VM
Could not reserver enough space for heap
Could not create the Java virtual machine


Anyone can help me clarify this issue.

Posted by Kang Guru

2: Re: How Install lams on VPS
In response to 1 10/07/12 11:08 AM
[ Reply | Forward ]
Hi Kang,

How much memory do you have available in the VPS?

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: How Install lams on VPS
In response to 2 10/07/12 11:34 AM
[ Reply | Forward ]
Hi Ernie

thank before..
i'm just have memory 376MB on VPS...

May I Know how much memory is needed to run LAMS in VPS?

Posted by Kang Guru

5: Re: Re: Re: How Install lams on VPS
In response to 3 10/08/12 02:17 PM
[ Reply | Forward ]
Hi Kang,

That's probably a bit low. Perhaps it will be best to get 512MB to make it work better.

The settings you might want to look at are on your run.sh script in the jboss-5.1/bin directory. Specifically the JAVA_OPTS section. Example:

JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

Thanks,

Ernie

Posted by Ernie Ghiglione

4: Re: How Install lams on VPS
In response to 1 10/08/12 09:14 AM
[ Reply | Forward ]
Dear All...

I have successfully install LAMS on vps, and lams already be running.

http://199.231.209.101:8080/lams/

but look LAMS is sloppy and I can not get into the admin login:

is there anything that can help me, and explain the problem happened?

Regard,
Kang

Posted by Kang Guru

6: Re: Re: How Install lams on VPS
In response to 4 10/08/12 02:20 PM
[ Reply | Forward ]
Hi Kang,

The problem you are having is that the Server URL setting is set to: "http://localhost:8080/lams/" rather than your server's IP "http://199.231.209.101:8080/lams/"

I was able to login into your server as sysadmin with the default username and password and change this setting by going to the "Sysadmin menu --> Edit Configuration Settings" and modifying the Server URL setting to the one above.

So now it should be fine.

Thanks

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to Problems Installing LAMS