读好书,交益友
发布时间:2019-05-07 16:39:03
目前要在没有桌面环境的情况下,安装字体首先自己下载字体,不用使用apt-getsudo mkdir -p /usr/share/fonts/customsudo mv Monaco.ttf /usr/share/fonts/customsudo chmod 744 /usr/share/fonts/custom/* mkfontscale mkfontdir fc-cache -fv然后重启搞定......【阅读全文】
发布时间:2019-03-29 15:42:53
fdisk -lDisk /dev/sda: 120 GiB, 128849018880 bytes, 251658240 sectorsUnits: sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisklabel type: dosDisk identifier: 0x6e1af0b8Device Boot .........【阅读全文】
发布时间:2019-03-28 16:56:05
parted /dev/sda查看剩余空间print free Model: VMware, VMware Virtual S (scsi)Disk /dev/sda: 129GB.........【阅读全文】
发布时间:2019-03-27 15:42:57
运行mysql -u root -p运行 select @@datadir;+-----------------+| @@datadir |+-----------------+| /var/lib/mysql/ |+-----------------+1 row in set (0.00 sec)停止mysqlsudo systemctl stop mysql查看mysql状态sudo systemctl status mysql备份mysql原始库 sudo m.........【阅读全文】
发布时间:2019-03-13 18:03:09
ctrl+Alt+T ,打开后台控制面,输入 sudo vim /etc/resolvconf/resolv.conf.d/base 回车在里面输入 nameserver 202.106.0.20之后按ESC键,shift+: 之后输入wq 保存退出执行sudo resolvconf -u ,执行cat /etc/resolv.conf 看看下面是否多了一行.........【阅读全文】