Ubuntu 20.04修改ip

Ubuntu 

ubuntu从17.10开始,已放弃在/etc/network/interfaces里固定IP的配置,即使配置也不会生效,而是改成netplan方式 ,配置写在/etc/netplan/00-installer-config.yaml或者类似名称的yaml文件里 root@ubuntu:~# ls

安装Ubuntu Server版

Ubuntu 

1、下载 先去Ubuntu中国站下载最新长期支持版本:Ubuntu Server 20.04.3 LTS。 2、启动安装程序 将ios文件刻录成光盘或者制作成u盘镜像启动,设置电脑启动项,以Ubuntu安装程序启动电脑。 U盘可以使用rufus,很简单的制作U盘镜像 3、选择语言

Ubuntu使用root账号

Ubuntu 

使用root账号本地登录 ubuntu系统默认root用户是不能登录的,密码也是空的。 如果要使用root用户登录,必须先为root用户设置密码 sudo passwd root 先输入当前用户密码启动管理员权限,然后再输入二次root新密码。 使用root账号ssh远程登录 sudo vim /

Ubuntu中Error: Can''t find Python executable "python", you can set the PYTHON env variable

Ubuntu 

Ubuntu中在用npm install 时报错 gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR gyp ER

Ubuntu 安装 Redis

Ubuntu 

1. 下载解压Redis cd /home wget http://download.redis.io/redis-stable.tar.gz tar xvzf redis-stable.tar.gz 2. 编译 cd redis-stable make 3. 复制到path目录 sudo cp

Ubuntu从apt-get安装MongoDB.4.0


一键安装脚本 #!/bin/bash sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 68818C72E52529D4 sudo echo "deb http://repo.mongodb.org/apt/ubun

Ubuntu安装npm(nodejs)环境

Ubuntu 

一键安装脚本 #!/bin/bash sudo apt-get -y install build-essential cd /home git clone https://github.com/cnpm/nvm.git source /home/nvm/nvm.sh echo "source /ho