Ubuntu

 2  echo "deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    3  deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    4  deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    5  deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    6  deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    7  deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    8  deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    9  deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
   10  deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
   11  deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse" > sources.list
   12  ll
   13  cat sources.list
   14  apt update
   15  apt install vim
   16  apt install vim-common = 2:8.0.1453-1ubuntu1.1
   17  apt install vim-common=2:8.0.1453-1ubuntu1.1
   18  apt install vim
   19  vim /etc/profile
   20  source /etc/profile
   21  ...
   22  cd -
   23  cd /mnt/
   24  ll
   25  cd hgfs/VmwareShare/
   26  ll
   27  cp linux-5.0.1.tar.gz /usr/src/
   28  cd /usr/src/
   29  ll
   30  tar -xf linux-5.0.1.tar.gz
   31  ll
   32  cd linux-5.0.1/
   33  uname -a
   34  apt install make
   35  apt install gcc
   36  make menuconfig
   37  apt-get install ncurses-dev
   38  make menuconfig
   39  apt-get install flex
   40  make menuconfig
   41  apt-get install -y bison
   42  make menuconfig
   43  ll
   44  make -j10
   45  sudo apt-get install libssl-dev
   46  sudo apt-get install libssl1.1=1.1.1-1ubuntu2.1~18.04.4
   47  sudo apt-get install libssl-dev
   48  make -j10
   49  l
   50  ll
   51  ..
   52  du -sh linux-5.0.1
   53  cd -
   54  make -j4  modules_install
   55  make -j4 install

 1  df -h
    2  history
    3  cd /usr/src/
    4  find -name *.o | wc
    5  ll
    6  cd *1
    7  ll
    8  ll -sh
    9  ll /boot/
   10  ll /boot/ -sh
   11  mkinitramfs -o /boot/initrd.img-5.0.1
   12  sudo mkinitramfs -o /boot/initrd.img-5.0.1
   13  update-initramfs -c -k 5.0.1
   14  sudo update-initramfs -c -k 5.0.1
   15  a
   16  sudo update-grub2
   17  ll /boot/ -sh
   18  cat /boot/grub/grub.cfg | grep 5.0.1
   19  reboot
   20  uname -a
   21  ll
   22  cd /usr/
   23  ll
   24  cd src
   25  ll
   26  du -sh linux-5.0.1
   27  ll /boot/ -sh
   28  history

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值