摘要:
测试环境:Ubuntu Server 18.04 1. 安装git-core apt-get install git-core 2. 安装openssh apt-get install openssh-server openssh-client 3. 安装 Gitosis 使用git之前需要先设置用 阅读全文
摘要:
测试环境:Centos 7 原因:/lib/modules/3.10.0-1127.el7.x86_64/build没有指向正确的kernel source 查看: [root@localhost 3.10.0-1127.el7.x86_64]# ll total 3296 lrwxrwxrwx. 阅读全文
摘要:
系统版本:Centos 7 1. 配置grub: [root@localhost test]# cat /etc/default/grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" 阅读全文
摘要:
系统环境Ubuntu 18.04 首先查看安装了哪些Python: root@wayde-desktop:/home/wayde/Documents/civ# ls /usr/bin/python* /usr/bin/python /usr/bin/python2.7 /usr/bin/python 阅读全文
摘要:
Ubuntu上执行 repo命令下载源码时报了这个错, 原因:repo 每次执行的时候都会去检查更新自己,但是网站被墙了。 解决方法: 在命令中为 repo 设置国内镜像更新地址,在原有命令基础上添加如下命令: --repo-url=https://gerrit-googlesource.lug.u 阅读全文
摘要:
参考了以下链接: https://www.tenforums.com/tutorials/95308-convert-esd-file-wim-using-dism-windows-10-a.html?__cf_chl_jschl_tk__=22403c31866ef49eacc8c8df35342 阅读全文
摘要:
版本:Ubuntu 18.04 可以通过开机启动Ubuntu时按 ESC 键来进入GRUB选项, 选择 Advanced options for Ubuntu,然后可以看到所有内核启动菜单,Index从0开始。 或者输入以下命令: wayde@wayde-desktop:~$ cat /boot/g 阅读全文
摘要:
版本:CentOS 7 临时启用 首先查看网卡: [test@localhost ~]$ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/ 阅读全文
摘要:
版本:CentOS 7 首先: [root@localhost test]# cat /etc/inittab # inittab is no longer used when using systemd. # # ADDING CONFIGURATION HERE WILL HAVE NO EFF 阅读全文
摘要:
环境 Ubuntu 18.04 desktop 开机启动在5分钟左右,很慢 开机后输入以下命令,查看service消耗时间: systemd-analyze blame 结果显示我的 networking.service 消耗了4分半钟 解决方法,缩短timeout时间: sudo gedit /l 阅读全文