Ubuntu
文章平均质量分 79
hushui
Coding Since 1998
展开
-
Ubuntu16/18/20 LTS kernel version
https://www.thomas-krenn.com/en/wiki/Ubuntu_LTS_Hardware_Enablement_Stack_informationThe following table shows the GA and HWE kernel versions of Ubuntu 20.04 LTS, 18.04 LTS und 16.04 LTS: Ubuntu LTS Version Kernel Version Kernel Note Kernel .原创 2021-06-22 10:34:05 · 883 阅读 · 0 评论 -
xfce4/X11 on Ubuntu18/armhf/ARM/Hisilicon3798
標題NoteHiFB ko should be launched before startx/startxfce!CPU Info/ # cat /proc/cpuinfoprocessor : 0Processor : ARMv7 Processor rev 4 (v7l)BogoMIPS : 3170.30Features : half thumb fastmult vfp edsp neon vfpv3 tls ...原创 2020-08-20 09:36:47 · 1882 阅读 · 11 评论 -
ARM systemd/Ubuntu18 customized service for Hisilicon ARM
1. Kernel supportCONFIG_FHANDLE (libudev, mount and bind mount handling)Refer toubuntu-base-16.04-core-armhf enable systemctl/systemd/dev-ttyAMA0https://blog.csdn.net/hushui/article/details/103764254Ubuntu/systemd/ARM/boot failurehttps://blog....原创 2020-08-20 09:05:51 · 478 阅读 · 0 评论 -
xfce4/X11 on Ubuntu18/armhf/ARM 通过 VNC
ubuntu-base-18.04-armhf-xfce4/usr/share/X11/xorg.conf.d ubuntu-base-18.04-armhf-xfce4/usr/share/X11/xorg.conf.d/10-amdgpu.confubuntu-base-18.04-armhf-xfce4/usr/share/X11/xorg.conf.d/10-radeon.confubuntu-base-18.04-armhf-xfce4/usr/...原创 2020-08-18 17:23:32 · 1754 阅读 · 0 评论 -
Ubuntu package: dpkg /apt/--no-install-recommends
dpkg –l name 简单列出包的相关信息; (—list)dpkg –L name 列出安装的包的相关文件; (—listfiles)lake@PC-HM6DD43:/mnt/c/work/omiidl/example$ sudo dpkg -L libomniorb4-dev/./usr/usr/include/usr/include/omniORB4/usr/include/omniORB4/BiDirPolicy...原创 2020-08-05 11:20:41 · 970 阅读 · 0 评论 -
WSL/Ubuntu18 try ARM binfmt_misc/qemu-user-static
lake@PC-HM6DD43:~$ sudo apt install qemu-user-binfmtReading package lists... DoneBuilding dependency treeReading state information... DoneThe following additional packages will be installed: qemu-userThe following NEW packages will be instal...原创 2020-07-20 17:53:31 · 885 阅读 · 0 评论 -
i386 in WSL/Ubuntu
By default, i386 is NOT supported in WSL/Ubuntulake@PC-HM6DD43:~$ sudo dpkg --add-architecture i386lake@PC-HM6DD43:~$ sudo apt-get updateHit:1 http://archive.ubuntu.com/ubuntu bionic InReleaseHit:2 http://security.ubuntu.com/ubuntu bionic-security ..原创 2020-07-10 16:28:11 · 352 阅读 · 0 评论 -
Ubuntu18/ARM/systemd/boot failure(emergency) due to /dev/mmcblk0p1 mount fail /boot vfat
Refer toubuntu-base-18.04-base-arm64 initialize/systemd (https://blog.csdn.net/hushui/article/details/103882372)Jan 28 23:58:18 localhost.localdomain systemd[1]: Started Flush Journal to Persistent Storage.Jan 28 23:59:07 localhost.localdomain kerne...原创 2020-06-03 19:46:05 · 1336 阅读 · 0 评论 -
Ubuntu blame boot service remove apt-daily.service apt-daily-upgrade.service
root@Khadas:/data# systemd-analyze blame 55.365s apt-daily.service 54.320s systemd-modules-load.service 25.538s apt-daily-upgrade.service 12.923s docker.service 2.707s nginx.service 2.005s dev-mmcblk...原创 2020-05-26 20:20:06 · 652 阅读 · 0 评论 -
ARM64/Ubuntu18-frp-client-based-golang (frp client) proxy tunnel to Internet server
##### Internal netUsing username "khadas".khadas@192.168.137.32's password:khadasWelcome to Fenix 0.8.3 Ubuntu 18.04.4 LTS Linux 4.9.206_ ___ _ __ ______| |/ / |__...原创 2020-04-30 15:49:49 · 614 阅读 · 0 评论 -
Ubuntu18 static IP /eth0
0.Manuall setsudo ifconfig eth0 10.0.0.100 netmask 255.255.255.0sudo route add default gw 10.0.0.1 eth0sudo ifconfig eth0 up1. Network ManagerFor Desktop version!!Disable , /e...原创 2020-04-16 10:43:27 · 328 阅读 · 0 评论 -
ubuntu-base-18.04-base-arm64 initialize/systemd
http://cdimage.ubuntu.com/ubuntu-base/releases/18.04/release/ubuntu-base-18.04-base-arm64.tar.gzubuntu-base-18.04-base-armhf.tar.gzRefer to qemu mode to mount ARM/Ubuntu/Rootfs1. Qemu4...原创 2020-01-07 21:47:05 · 1831 阅读 · 0 评论 -
ubuntu-base-16.04-core-armhf enable systemctl/systemd/dev-ttyAMA0
1. buildroot/lfs 可以不使用systemd,2. Ubuntu/Debian 依赖systemd . 内核编译需要CONFIG_FHANDLE Refer to https://github.com/systemd/systemd/blob/master/READMEREQUIREMENTS: Linux kernel >= 3.13...原创 2019-12-30 12:20:44 · 1515 阅读 · 2 评论 -
Ubuntu apt source change (X86-64bit office ==> mirrors.aliyun.com
lake@Ubuntu:~$ sudo vi /etc/apt/sources.list1,$s/security.ubuntu/mirrors.aliyun/g:1,$s/archive.ubuntu/mirrors.aliyun/g### Update sourcelake@Ubuntu:~$ sudo apt updateGet:1 http://mirr...原创 2019-12-26 14:33:04 · 528 阅读 · 0 评论 -
WSL/mount/windows shared driver
lake@M5273296:~$ uname -aLinux M5273296 4.4.0-17134-Microsoft #1130-Microsoft Thu Nov 07 15:21:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linuxlake@M5273296:~$lake@M5273296:~$ sudo mount -t drvfs Z: W...原创 2019-12-26 14:29:19 · 359 阅读 · 0 评论 -
CrossPlatform/C++/boost example link to boost shared lib(32bit/x86)
CrossPlatform/C++/boost 32bit build/Ubuntu16_x86_64bitRefer tohttps://blog.csdn.net/hushui/article/details/103387768/**## note libboost_thread.so/libboost_system.so are both built as intel...原创 2019-12-04 15:41:37 · 210 阅读 · 0 评论 -
CrossPlatform/C++/boost example/HPP head file (No lib link)
/*$ g++ -I ./boost_1_51_0 my-boost-hpp-example.cpp$ lsa.out boost_1_51_0 my-boost-example.cpp$ ldd a.out linux-vdso.so.1 => (0x00007fff3a1de000) libstdc++.so.6 => /usr...原创 2019-12-04 15:39:16 · 229 阅读 · 0 评论 -
CrossPlatform/C++/boost 32bit build/Ubuntu16_x86_64bit (libboost_XXXX.so[a]
lake@localhost:~/local/third-party/boost_1_51_0$ cat boost_1_51_0/project-config.jam# Boost.Build Configuration# Automatically generated by bootstrap.shimport option ;import feature ;# Compiler...原创 2019-12-04 15:38:08 · 197 阅读 · 0 评论 -
Chrome Web Browser install on Ubuntu18
lake@lake-Latitude-5491:~$ sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/--2019-01-29 19:24:22-- https://repo.fdzh.org/chrome/google-chrome.listResolving repo...原创 2019-01-29 19:26:35 · 467 阅读 · 0 评论 -
Ubuntu 18.04.1 LTS/python2.7/pip/tensorflow-0.8.0-cp27-none-linux_x86_64
Ubuntu 18.04.1 LTS/python2.7/pip/tensorflow-0.8.0-cp27-none-linux_x86_64 Ubuntu 18.04.1 LTS/python2.7/pip/tensorflow-0.8.0-cp27-none-linux_x86_642019年02月20日 20:45:36 hushui 阅读数:1 标签: tensorflow ...原创 2019-02-20 20:45:36 · 466 阅读 · 0 评论 -
Python2.7/Opecv3.2 test
Ubuntu18$ls -l /usr/bin/python*lrwxrwxrwx 1 root root 9 Apr 16 2018 /usr/bin/python -> python2.7lrwxrwxrwx 1 root root 9 Apr 16 2018 /usr/bin/python2 -> python2.7-rwxr-xr-x 1 ...原创 2019-02-21 09:45:44 · 241 阅读 · 0 评论 -
network script through /etc/network/interfaces on Ubuntu
https://askubuntu.com/questions/1031709/ubuntu-18-04-switch-back-to-etc-network-interfacesThe following procedure works for Ubuntu18.04(Bionic Beaver)I.Reinstall theifupdownpackage:# ap...原创 2019-04-11 12:22:08 · 518 阅读 · 0 评论 -
Ubuntu/UUID/blkid/fstab/Grub2 boot and rescue
1. sudo blkidlake@lake-Latitude-5491:~$ blkid/dev/nvme0n1p1: LABEL="EFI" UUID="6E2F-5B3B" TYPE="vfat" PARTUUID="8ca6e523-01"/dev/nvme0n1p2: LABEL="MSR" UUID="C466-BFF3" TYPE="vfat" PARTUUID="8ca...原创 2018-12-22 16:36:16 · 480 阅读 · 0 评论 -
mount a multiply partition SD card image in Linux
$ sudo fdisk -lu ./ubuntucore-4g.raw Disk ./ubuntucore-4g.raw: 3.7 GiB, 3904897024 bytes, 7626752 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytes...原创 2019-02-02 17:23:05 · 197 阅读 · 0 评论