共 19 篇文章 |
|
$ sudo flatpak remote-add --gpg-import=gnome-sdk.gpg --if-not-exists gnome-apps https://sdk.gnome.org/repo-apps/$ sudo flatpak remote-add --gpg-import=nightly.gpg --if-not-exists gnome-nightly-apps https://sdk.gnome.org/nightly/repo-apps/$ sudo flatpak remote-add --gpg-import=nightly.gpg gnome-nightly https://sdk.gnom... 阅142 转0 评0 公众公开 20-10-27 21:18 |
简洁的 systemd 操作指南Linux下Service文件服务说明(转)4.操作服务#启动服务$ sudo systemctl start nginx.service。6月 25 10:28:24 Leco.lan nginx[7976]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok6月 25 10:28:24 Leco.lan nginx[7976]: nginx: configuration file /etc/nginx/nginx.conf test is successful6月... 阅255 转0 评0 公众公开 20-06-22 17:05 |
系统的网络服务与此版本的网络管理器不兼容。这个问题一开始走了一些弯路,终于找到一种快速简单的解决办法。问题描述如下: 系统的网络服务与此版本的网络管理器不兼容 我们终端用ifconfig命令查看到,只有一个lo显示项。解决方案: 启动eth0./etc/NetworkManager/system-connections# ifconfig eth0 up.这时候在看一ifconfig.这时候出现了et... 阅1231 转1 评0 公众公开 18-04-23 16:12 |
如果两个目录下有相同的可执行程序,谁优先执行受到PATH环境变量的影响,比如我的一台服务器的PATH变量为echo $PATH /usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/dean/bin 这里/usr/local/bin优先于/usr/bin, 一般都是如此。比如在程序启动脚本中这样写,就能在/usr/local/lib目录中加载到自... 阅64 转0 评0 公众公开 18-01-30 17:49 |
ubuntu apt和dpkg相关指令详解[举例]用apt-get 安装软件包的时候,apt会从/etc/apt/sources.list里面将相应的软件包恢复出来,把它们存放在一个本地的文档库中(/var/cache/apt/archives/)然后才开始安装,随着时间的增长,这将不断地消耗硬盘的空间。auto-apt需要保持一个最新的数据库,利用这个命令进行更新:auto-apt update, auto-apt upd... 阅78 转1 评0 公众公开 18-01-16 15:28 |
Mount is denied because the NTFS volume is already exclusively opened. The volume may be already mou 表明是PID为31301的进程正在使用它,如果命令为fuser -m -u /deev/sdb1,那么显示为/dev/sdb1: 31301(root)表示root用户的31301进程正在使用/dev/sdb1,可以使用kill命令杀死该进程,kill 31301,此时在使用mount命令就不会出错了。 阅393 转0 评0 公众公开 17-11-14 10:19 |
shell中$0,$?,$!等的特殊用法变量说明:$$Shell本身的PID(ProcessID)$!Shell最后运行的后台Process的PID$?最后运行的命令的结束代码(返回值)$-使用Set命令设定的Flag一览$*所有参数列表。如"$@"用「"」括起来的情况、以"$1" "$2" … "$n" 的形式输出所有参数。$#添加到Shell的参数个数$0Shell... 阅25 转1 评0 公众公开 17-01-12 16:39 |
tcp远程连接libvirt.# options passed to libvirtd, add "-l" to listen on tcplibvirtd_opts="-d -l --config /etc/libvirt/libvirtd.conf" 阅899 转3 评0 公众公开 15-06-15 17:33 |
语 法:usermod [-LU][-c <备注>][-d <登入目录>][-e <有效期限>][-f <缓冲天数>][-g <群组>][-G <群组>][-l <账号名称>][-s ][-u ][用户账号]补充说明:usermod可用来修改用户账号的各项设定。语 法:useradd [-mMnr][-c <备注>][-d <登入目录>][-e <有效期限>][-f <缓... 阅34 转0 评0 公众公开 15-06-15 15:58 |
# <file system> <mount point> <type> <options> <dump> <pass>proc /proc proc defaults 0 0/dev/hda1 / ext3 errors=remount-ro 0 1/swapfile swap swap defaults 0 0/dev/hdc /media/cdrom0 udf,iso9660 user... 阅1300 转2 评0 公众公开 15-04-28 12:26 |