Giter Club home page Giter Club logo

m264's Introduction

M264

Ubuntu 20.04

1.Install an old kernel

https://askubuntu.com/questions/700214/how-do-i-install-an-old-kernel
Download old kernel files from http://kernel.ubuntu.com/~kernel-ppa/mainline/
For example, we can download amd64/linux-headers-5.8.18-050818-generic_5.8.18-050818.202011011237_amd64.deb, amd64/linux-headers-5.8.18-050818_5.8.18-050818.202011011237_all.deb, amd64/linux-image-unsigned-5.8.18-050818-generic_5.8.18-050818.202011011237_amd64.deb and amd64/linux-modules-5.8.18-050818-generic_5.8.18-050818.202011011237_amd64.deb from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8.18/
Download and put them in specified folder

sudo dpkg -i *.deb

Edit "/etc/default/grub"

GRUB_TIMEOUT=0 ---> #GRUB_TIMEOUT=0
sudo update-grub

When you see "Dell" Symbol, you can press "Esc". Next you should select the old kernel.
Better option:
https://blog.csdn.net/hfutdog/article/details/79331949

2.Install java

https://blog.csdn.net/zbj18314469395/article/details/86064849

从Oracle官方网站下载jdk包(>=8版本的),这里下的 8(jdk1.8.0_311)
在/usr/lib/下创建jvm文件夹,然后把压缩包解压到jvm文件夹下

sudo tar -zxvf ~/下载/jdk-8u311-linux-x64.tar.gz -C /usr/lib/jvm

在~/.bashrc里添加如下内容

export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_311
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH

使变量马上生效

source ~/.bashrc

在系统注册此jdk

sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_311/bin/java 300

m264's People

Contributors

meisa233 avatar

Watchers

 avatar  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.