Foros del Web » Administración de Sistemas » Shared Hosting y VPS »

Hosting con posibilidad de instalar ..............

Estas en el tema de Hosting con posibilidad de instalar .............. en el foro de Shared Hosting y VPS en Foros del Web. Requiero de un hosting para poder instalar un Chat en Java solo que me pide acceso root y que se hagan una pequeñas modificaciones en ...
  #1 (permalink)  
Antiguo 19/07/2002, 12:11
Avatar de vchavez  
Fecha de Ingreso: febrero-2002
Ubicación: Mexico D.F.
Mensajes: 49
Antigüedad: 22 años, 1 mes
Puntos: 0
Hosting con posibilidad de instalar ..............

Requiero de un hosting para poder instalar un Chat en Java solo que me pide acceso root y que se hagan una pequeñas modificaciones en el servidor.

Mi webhost me respondio lo siguiente cuando necesitaba instalar este chat:

Sorry. We do not support any third party software. Especially software that
requires root.

Aqui les dejo los instrucciones de la instalacion alguien podria recomendar un host que si de el servicio de instalacion de aplicaciones ???

First of all install Java on your server.
As an example see: http://alpha.comweb.nl/others/JavaOnRedHat7_0.html
Go to the directory that contains the MiniChat2 server class files.
The type: java MiniChatServer.
To start it at the background type: java MiniChatServer &
Peace of cake; but what if you reboot the server?
It's better to add the MiniChat2 server to your startup files.
The last script executed on RedHat 7.0 is /etc/rc.d/rc.local
So adding a simple line at the end will do.
Security tip use: su nobody -c 'command'
This will start the server with user nobody.
Sometimes you will need to use the absolute path to the java.exe file.
Also many times you need to use the -classpath option of the java.exe program.
Classpath points to the language class files.
On Java version 1.1.x they are stored in classes.zip
On Java 1.2 and 1.3 they are stored in rt.jar.
You also need to point classpath to the directory containing the MiniChat2 classes.
On my old RedHat5.2 this looks like:
su nobody -c '/usr/local/jdk117_v3/bin/java -classpath /usr/local/jdk117_v3/lib/classes.zip:/home/rvdb/Server MiniChatServer >/dev/null &'

Cualquier ayuda sera agradecida
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 09:05.