Thread: Running RSPS at linux server?

Results 1 to 4 of 4
  1. #1 Running RSPS at linux server? 
    Registered Member
    Join Date
    Nov 2011
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Hey, how i can run rsps at linux server?

    My run windows script is atm this:


    @echo off
    java -Xmx800m -cp bin;deps/poi.jar;deps/mysql.jar;deps/mina.jar;deps/slf4j.jar;deps/slf4j-nop.jar;deps/jython.jar;log4j-1.2.15.jar; server.Server
    pause
    Thanks,
    Mattias
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Oct 2013
    Posts
    12
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    If its a headless machine change "-cp" to "-classpath" and change every instance of a ";" to a ":".

    If its a normal machine, open up a termnal by typing "ctrl+alt+t" and type the command "sudo apt-get install eclipse". After you are done typeing the "e" hit "tab" a few times to see all available packages. That will install eclipse and then you can you server/client just like normal.

    also i woudl change 800 to either 1024 or 512
    Reply With Quote  
     

  3. #3  
    Registered Member
    jordan641's Avatar
    Join Date
    Apr 2010
    Posts
    1,807
    Thanks given
    70
    Thanks received
    128
    Rep Power
    189
    I host on linux server heres my run.sh if you need it, activecamo did a good job of explaining what you needa do tho.
    Code:
    java -cp bin:deps/mail.jar:deps/RuneTopListV2.1.jar:deps/poi.jar:deps/mysql.jar:deps/mina.jar:deps/slf4j.jar:deps/slf4j-nop.jar:deps/jython.jar:log4j-1.2.15.jar:deps/xstream.jar:deps/xpp3-1.1.4c.jar:deps/scheduling.jar -server server.Server
    
    pause
    Reply With Quote  
     

  4. #4  
    Registered Member
    Smokey's Avatar
    Join Date
    Apr 2011
    Posts
    287
    Thanks given
    124
    Thanks received
    73
    Rep Power
    351
    Quote Originally Posted by activecamo View Post
    If its a headless machine change "-cp" to "-classpath" and change every instance of a ";" to a ":".

    If its a normal machine, open up a termnal by typing "ctrl+alt+t" and type the command "sudo apt-get install eclipse". After you are done typeing the "e" hit "tab" a few times to see all available packages. That will install eclipse and then you can you server/client just like normal.

    also i woudl change 800 to either 1024 or 512
    why would someone waste memory running eclipse on their server r u daft
    And how do you know he has access to repositories for that matter. this could be fedora for all you know


    What you need to do is remove the @echo off and pause tags because that is not valid bash syntax

    Rename your run.bat to run.sh and open terminal.

    You can use chmod to make it executable

    Code:
    cd /home/user/Desktop/Client/
    chmod a+x run.sh
    Spoiler for signature:

    He is richest who is content with the least, for contentment is the wealth of nature. - Socrates
    Attached image
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. windows server run.exe to linux server run.exe help
    By borisbink007 in forum Software
    Replies: 2
    Last Post: 10-06-2013, 12:50 PM
  2. Running a 317 rsps on a Linux server
    By djibreel in forum Help
    Replies: 1
    Last Post: 09-18-2013, 06:01 PM
  3. Running your RSPS on a Linux Server (Ubuntu)
    By Martin in forum Tutorials
    Replies: 27
    Last Post: 01-30-2013, 10:44 AM
  4. Running rsps off linux
    By patrick0294 in forum Help
    Replies: 1
    Last Post: 06-06-2011, 02:31 AM
  5. Running 508 client or server on linux?
    By Wicksyere in forum Help
    Replies: 2
    Last Post: 06-13-2010, 11:14 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •