xset r off
xset r on
lspci -knn
Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7c09]
Kernel driver in use: r8169
Kernel modules: r8169
下载地址:https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
下载名称:GBE Ethernet LINUX driver r8168 for kernel up to 5.6
百度网盘地址:链接: https://pan.baidu.com/s/1kKQZ8Wso–T48Gut0CT7GA 密码: u1dk
sudo rmmod r8169
lspci -knn
Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7c09]
Kernel driver in use: r8168
Kernel modules: r8168
sudo apt install snapd
sudo snap install snap-store
sudo apt-get install -f
apt search xxxx
例如:查询mysql
apt search mysql-server
正在排序... 完成
全文搜索... 完成
default-mysql-server/未知,未知 1.0.5 all
MySQL database server binaries and system database setup (metapackage)
default-mysql-server-core/未知,未知 1.0.5 all
MySQL database server binaries (metapackage)
sudo apt-get install git
2.redis
sudo apt-get install redis-server
/etc/init.d/redis-server start
3.mysql
sudo apt-get install default-mysql-server
tips:这个安装之后为 MariaDB,MariaDB由MySQL的创始人Michael Widenius主导开发,兼容mysql,但是安装之后看root密码为空,但是无法登录mysql,终端执行如下命令行重装即可。
su root
apt-get remove --purge mysql-\*
apt-get autoremove mysql-server
apt-get remove mysql-common
dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P
apt-get install mysql-server mysql-client
4.glogg
sudo apt-get install glogg
5.plank
sudo apt install plank
rm -f finalshell_install_linux.sh ;wget www.hostbuf.com/downloads/finalshell_install_linux.sh;chmod +x finalshell_install_linux.sh;./finalshell_install_linux.sh;
下载地址:https://www.oracle.com/cn/java/technologies/javase/javase-jdk8-downloads.html
下载名称:jdk-8u281-linux-x64.tar.gz
百度网盘地址:链接: https://pan.baidu.com/s/1Q2PSWf5UrZTG3wts6QJbOg 密码: sgeb
路径:/usr/lib/jdk1.8.0_281
1.文件管理器 -> /etc/profile,如果这里对命令行不熟悉,可以参考下面的☆来修改
2.在文件末尾加入如下配置
# jdk
export JAVA_HOME=/usr/lib/jdk1.8.0_281
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH
终端执行
source /etc/profile
下载地址:https://maven.apache.org/download.cgi
下载名称:apache-maven-3.6.3-bin.tar.gz
百度网盘地址:链接: https://pan.baidu.com/s/18u3ac_h_qJugU3nJ99VJFg 密码: oum2
路径:/usr/local/apache-maven-3.6.3
1.文件管理器 -> /etc/profile
2.在文件末尾加入如下配置
# maven
export MAVEN_HOME=/usr/local/apache-maven-3.6.3
export PATH=$MAVEN_HOME/bin:$PATH
终端执行
source /etc/profile
/usr/local/apache-maven-3.6.3/repo
/usr/local/apache-maven-3.6.3/confsettings.xml
sudo chmod -R 777 /usr/local/apache-maven-3.6.3/repo