GithubHelp home page GithubHelp logo

time-pass-1's Introduction

How-to-setup-your-Linux-Server

How to setup your Linux Server and install nodejs, python, ffmpeg and java. Working good for Discord Bot hosting and other hostings!

youtube tutorial:

Console cmds

Those commands are all needed to install and setup a Debian (Linux) Server for Bot hosting, and general stuff like everything!

installing essentials!

1. Install sudo

  • $ apt-get install sudo

2. Install all needed dependences

  • $ sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

Installing nodejs v15 && npm v7.4

1. Update all pkgs

  • $ sudo apt update

2. Install Curl

  • $ sudo apt install -y build-essential curl

3. Load the Nodejs source

  • $ curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -

4. Install nodejs globally

  • $ sudo apt install -y nodejs

Installing yarn (optional)

1. Load the YARN source

  • $ curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

2. DOWNLOAD

  • $ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

3. Update all pkgs

  • $ sudo apt update

4. Install yarn globally

  • $ sudo apt install -y yarn

Install python

Installing 2.7.3

  • $ sudo apt-get install python-pip

Installing any version, here 3.9.1

1. Get the Source

  • $ curl -O https://www.python.org/ftp/python/3.9.1/Python-3.9.1.tar.xz

2. Extract the tar file

  • $ tar -xf Python-3.9.1.tar.xz

3. Go to the new File

  • $ cd Python-3.9.1

4. Configure the setup

  • $ ./configure --enable-optimizations

5. And create it

  • $ make -j 4

6. Install python from the setup

  • $ sudo make altinstall

7. Verify the Python installation

  • $ python3.9 --version

Install FFMPEG

1. Update all pkgs

  • $ sudo apt update

2. Install ffmpeg

  • $ sudo apt install ffmpeg

3. Verify the ffmpeg installation

  • $ ffmpeg -version

Installing Java (optional)

  • $ echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic main" | sudo tee/etc/apt/sources.list.d/linuxuprising-java.list

  • $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 73C3DB2A

  • $ sudo apt update

  • $ sudo apt install oracle-java11-set-default

  • $ sudo apt install openjdk-11-jdk

Manual installation of Java

  • $ curl -O https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz
  • $ tar zxvf openjdk-11.0.2_linux-x64_bin.tar.gz
  • $ sudo mv jdk-11* /usr/local/
  • $ sudo vim /etc/profile.d/jdk.sh

ADD:

  • export JAVA_HOME=/usr/local/jdk-11.0.2

    export PATH=$PATH:$JAVA_HOME/bin

  • $ java -version

SUPPORT ME AND MILRATO DEVELOPMENT

You can always Support me by inviting one of my own Discord Bots

2021's best Music Bot | Lava Music Musicium Music Bot Milrato Multi Bot

Sponsors

BEST HOSTING | Bittmax.de

BITTMAX Quality is their solution. Bittmax is our first and probably most important sponsor!

What they are offering:

Quality LXC & KVM (Root) Server Minecraft Hosting, as well as BungeeCord Network Hosting support Cheap and fast Domains WEBHOSTING DISCORD, TEAMSPEAK, Setups / Music Bots GAME SERVER, Rust, Gary's Mod, ..

Discord Server: https://discord.gg/GgjJZCyYKD

Website: https://bittmax.de/

GET 5% OFF EVERYTHING FOR EVER! Code: x10

MC-Host24.de

MC-Host24.de is selling the Best Digital Hosting Services ever! Like For games..

What they are offering:

Quality LXC & KVM (Root) Server WORLDS BEST Minecraft Hosting, Cheap and fast Domains WEBHOSTING DISCORD, TEAMSPEAK, Setups / Music Bots GAME SERVER, Rust, Gary's Mod, ..

Discord Server: https://discord.com/invite/4dGuGXK4A4

Website: mc-host24.de

time-pass-1's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.