Generic Linux Install

  • Views Views: 1,290
  • Last updated Last updated:
  • Hi, I will be the instructor for those who want to learn how to install Nukkit and use Nukkit in the safest way.

    Through this thread, many people don't know how to install Nukkit for Linux

    Let's do it together 👍

    Step 1: How to Run Nukkit on SSH

    Download File Nukkit:

    To download the Nukkit File on SSH we need to install the Linux package

    Ubuntu, Debian: sudo apt-get install wget
    CentOS, Rocky, RedHat: sudo yum install wget
    openSUSE: sudo zipper install wget
    Arch: sudo pacman -S wget

    Note: You should remember to update the repo to enter the above command

    Command to download Nukkit: wget

    After the download is successful, we will proceed to install Java

    The version of Java that we plan to install is Java 8. I recommend everyone to use Java 8 to run Nukkit as best and safest 😌

    Ubuntu, Debian: sudo apt-get install openjdk-8-jdk
    CentOS, Rocky, RedHat: sudo yum install java-1.8.0-openjdk
    openSUSE: sudo zypper install java-1_8_0-openjdk-devel
    Arch: sudo pacman -S jdk8-openjdk

    So you have Java 8 installed to run Nukkit

    To run Nukkit do the following:

    You try to run the ls command to see if there is a Nukkit File or not. If yes, then we proceed to run Nukkit

    Command to run Nukkit: java -jar nukkit-1.0-SNAPSHOT.jar

    It will now run and automatically create the necessary files for Nukkit

    To run Nukkit using a lot of RAM, the command is as follows: java -Xms2G -Xmx2G -jar nukkit-1.0-SNAPSHOT.jar

    <2G> This is 2 GB of ram, if you want more ram, just increase it as you like

    So we have finished how to run Nukkit on SSH

    Ok, now we will start installing VNC to run Nukkit 24/24 🥳

    How to install VNC as follows:

    Ubuntu, Debian: sudo apt-get install tightvncserver
    CentOS, Rocky, RedHat: sudo yum install tigervnc-server
    openSUSE: sudo zipper install tightvnc
    Arch: sudo pacman -S tigervnc

    After installing VNC, they will start installing the desktop for Linux

    Ubuntu, Debian: sudo apt-get install xfce4 xfce4-goodies
    CentOS, Rocky, RedHat:
    sudo yum install epel-release
    sudo yum --enablerepo=epel group
    sudo yum groupinstall "Xfce" "base-x"
    echo "exec /usr/bin/xfce4-session" >> ~/.xinitrc
    systemctl set-default graphical

    openSUSE: sudo zypper install patterns-xfce
    Arch: sudo pacman -S xfce4 xfce4-goodies

    So we have finished installing Desktop for VNC on Cloud Server

    We will proceed to configure VNC

    Enter the command as follows: vncserver

    And then you can import it yourself for VNC

    Set a new password successfully, we will turn off VNC: vncserver -kill :1

    Next, add the desktop in the VNC file as follows:

    For Non-root Users: nano /home/Your Name Linux/.vnc/xstartup

    Note: What is <Your Name Linux> ? It is your username. For example, whose name in the terminal line is [email protected], I will use <bean> as /home/bean/.vnc/xstartup

    For Root Users: nano /root/.vnc/xstartup

    Move the edit bar with the icon button up, down, left, right
    Add the text below as shown in the image:

    startxfce4 &

    Let's start running VNC!!! 💯

    Enter the VNC startup command: vncserver

    Then enter VNC via the app in your phone or computer


    That's it, how to install Nukkit on SSH and VNC
    If you have any questions. Please contact the team via Discord

    How to install Intellij: Link
  • Loading…