Skip to content

Instantly share code, notes, and snippets.

@Suzhou65
Created September 17, 2020 13:19
Show Gist options
  • Select an option

  • Save Suzhou65/3bc603b142250e5ce81f623005052221 to your computer and use it in GitHub Desktop.

Select an option

Save Suzhou65/3bc603b142250e5ce81f623005052221 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 install Hentai@Home

Ubuntu install Hentai@Home

Environment check

Network check

ping google.com
ping 8.8.8.8

Speed check

wget –no-check-certificate https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
sudo python speedtest.py --share

Speedtest results will show as url

https://www.speedtest.net/result/114514

Copy result address as graphic format

https://www.speedtest.net/result/114514.png

Install Java

Check Java Runtime Environment / Java Development Kit is install or not

java -version

Default is not, it will show something just like this

The program 'java' can be found in the following packages:

Now installing Java

sudo apt-get update
sudo apt-get install default-jre -y
sudo apt-get install default-jdk -y

Check it again

java -version

Now it will show something just like this

openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment