Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Setting up VPS for Debian 8


    None

    Recommended Posts

    This is a guide to the commands that you will need to use to get your VPS up and running on Debian 8.
     
    I use Putty as a ssh client.
     
    you can copy and paste each command to make it eaiser to input, copy something on your home pc as normal then just right click inside the ssh window and it will paste what ever is currently on your clipboard.
     

    I used nano as the text editor because i find it a bit easier for new users to understand but you can also use vi instead of nano if you prefer
     

    setting up Debian 8
     
    Commands to run
    apt-get update
    apt-get install sudo
    apt-get install xfce4
    apt-get install gedit (may not be needed)
    apt-get install lightdm
    apt-get install x11vnc
    apt-get install vsftpd
    apt-get install iceweasel
     
    echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
    echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
    apt-get update
    apt-get install oracle-java8-installer
     
    adduser youNameHere
    x11vnc -storepasswd yourVNCpasswordHERE /etc/x11vnc.pass
     
    nano /lib/systemd/system/x11vnc.service
     
    #this creates a new file...... enter the text below you can copy from your computer and paste by right clicking inside putty ssh do not add the dashes:
    ----------------------------
    [Unit]
    Description="x11vnc"
    Requires=display-manager.service
    After=display-manager.service
     
    [Service]
    ExecStart=/usr/bin/x11vnc -xkb -noxrecord -forever -shared -noxfixes -noxdamage -display :0 -auth guess -rfbauth /etc/x11vnc.pass
    ExecStop=/usr/bin/killall x11vnc
    Restart=on-failure
    Restart-sec=2
     
    [Install]
    WantedBy=multi-user.target
     
    ----------------------------
     
    nano /etc/vsftpd.conf
    #edit this file at the very bottom add do not add the dashes
    ------------
    allow_writeable=YES
    writeable_chroot=YES
    chroot_local_user=YES
    ----------
     
    systemctl daemon-reload
    systemctl enable x11vnc
    systemctl start x11vnc
    systemctl enable vsftpd
    systemctl start vsftpd
     
    nano /etc/ssh/sshd_config
     
    #Locate the following line, do not add the dashes:
    --------
    # Port 22
    Remove # and change 22 to your desired port number.
     
    --------
     
    iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport PORT_NUMBER_HERE -j ACCEPT
     
    systemctl restart sshd
    
    Link to comment
    Share on other sites

    Do you have one for centos 7?   :)

    Dreamlicker has an auto setup for Cent OS but i can write one that shows the commands if you would like

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.