root@Dell7060:/etc/apt# cp sources.list sources.list_ori root@Dell7060:/etc/apt# gedit sources.list #China deb http://cn.archive.ubuntu.com/ubuntu bionic main multiverse restricted universe deb http://cn.archive.ubuntu.com/ubuntu bionic-updates main multiverse restricted universe deb http://cn.archive.ubuntu.com/ubuntu bionic-security main multiverse restricted universe deb http://cn.archive.ubuntu.com/ubuntu bionic-proposed main multiverse restricted universe deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse root@Dell7060:/etc/apt# apt update
sudo gedit /etc/hostname
sudo apt install fcitx-bin sudo apt install fcitx-table langeuage support -> select -> reboot download and install https://pinyin.sogou.com/linux/?r=pinyin fcitx-config-gtk3 -> click (del) Only Show Current Language -> search sougou https://blog.csdn.net/lupeng/article/details/80279177
Show your kernel by: uname -a Download Kernel from https://kernel.ubuntu.com/~kernel-ppa/mainline/
linux-headers-4.15.0-041500_4.15.0-041500.201802011154_all.deb linux-headers-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb linux-image-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb
sudo dpkg -i linux-headers-4.15.0-041500_4.15.0-041500.201802011154_all.deb sudo dpkg -i linux-headers-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb sudo dpkg -i linux-image-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb
sudo apt-get purge linux-modules-5.4.0-38-generic sudo apt-get purge linux-modules-extra-5.3.0-28-generic sudo apt-get purge linux-modules-extra-5.4.0-38-generic sudo apt-get purge linux-hwe-5.4-headers-5.4.0-38 sudo dpkg -l | grep linux sudo apt-get purge linux-modules-5.3.0-28-generic sudo update-grub2
git clone --branch v4.15 --depth 1 git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack git am …/0001-base-packaging.patch git am …/0002-UBUNTU-SAUCE-add-vmlinux.strip-to-BOOT_TARGETS1-on-p.patch git am …/0003-UBUNTU-SAUCE-tools-hv-lsvmbus-add-manual-page.patch git am …/0004-UBUNTU-SAUCE-no-up-disable-pie-when-gcc-has-it-enabl.patch git am …/0005-debian-changelog.patch git am …/0006-configs-based-on-Ubuntu-4.15.0-7.8.patch
sudo apt install openssh-server
sudo useradd -s /bin/bash -m jenkins sudo passwd jenkins sudo apt install samba sudo smbpasswd -a jenkins vi /etc/samba/smb.conf [share] comment = Homee path = /home/jenkins available = yes browsable = yes public = yes writable = yes create mask = 0755 security = user valid users = jenkins
sudo service smbd restart sudo apt install smbclient sudo apt install smbclient ifconfig sudo smbclient //10.22.53.35/share -U jenkins