tmux 曾经可以工作,但我完全忘记了我在服务器上做了什么导致所有用户不使用 tmux。我收到 2 个不同用户的错误:
error creating /tmp//tmux-1003 (Permission denied)
和
error creating /tmp//tmux-1006 (Permission denied)
是什么导致了这个问题?
tmux 曾经可以工作,但我完全忘记了我在服务器上做了什么导致所有用户不使用 tmux。我收到 2 个不同用户的错误:
error creating /tmp//tmux-1003 (Permission denied)
和
error creating /tmp//tmux-1006 (Permission denied)
是什么导致了这个问题?
我在我的 wsl2 上安装了 update-motd 包,但是如何激活它以便每次打开新的终端会话/选项卡时都会显示消息?接下来我该怎么做?
有没有办法在htop中查看 CPU 温度。我正在使用 windows10 wsl,所以我不确定 WSL1 是否可以访问 CPU 温度读数。
我正在寻找将一些具有 GUI 的独立应用程序安装到多个 VirtualBox 图像上。带有 GUI 的最小 Ubuntu VirtualBox 图像文件大小是多少?
我正在尝试在我的 ubuntu 12.04 上安装letsencrypt,但我收到了这些 404 错误,我不太确定如何解决它们。
我不明白为什么这种情况总是发生在我身上。我不久前安装了一些东西,它工作正常,但加班这些东西由于某种原因消失了。有人可以向我解释为什么会发生这种情况,当有人发布应用程序时,他们为什么不将所有必要的文件包含在正在安装的包中,而不是当场下载?
Bootstrapping dependencies for Debian-based OSes...
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://archive.ubuntu.com precise Release.gpg
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:2 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://archive.ubuntu.com precise-backports Release.gpg
Hit http://ppa.launchpad.net precise Release
Ign http://ppa.launchpad.net precise Release
Hit http://archive.ubuntu.com precise Release
Get:3 http://archive.ubuntu.com precise-updates Release [55.4 kB]
Get:4 http://security.ubuntu.com precise-security Release [55.5 kB]
Hit http://ppa.launchpad.net precise Release
Ign http://ppa.launchpad.net precise/main Sources/DiffIndex
Ign http://ppa.launchpad.net precise/main amd64 Packages/DiffIndex
Ign http://ppa.launchpad.net precise/main i386 Packages/DiffIndex
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://archive.ubuntu.com precise-backports Release
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ppa.launchpad.net precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/main Sources
Hit http://archive.ubuntu.com precise/restricted Sources
Hit http://archive.ubuntu.com precise/universe Sources
Hit http://archive.ubuntu.com precise/multiverse Sources
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/restricted amd64 Packages
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Hit http://archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Get:5 http://security.ubuntu.com precise-security/main Sources [149 kB]
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://ppa.launchpad.net precise/main Translation-en
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Get:6 http://archive.ubuntu.com precise-updates/main Sources [502 kB]
Get:7 http://security.ubuntu.com precise-security/restricted Sources [4,643 B]
Get:8 http://security.ubuntu.com precise-security/universe Sources [56.9 kB]
Get:9 http://security.ubuntu.com precise-security/multiverse Sources [3,036 B]
Get:10 http://security.ubuntu.com precise-security/main amd64 Packages [689 kB]
Get:11 http://archive.ubuntu.com precise-updates/restricted Sources [8,837 B]
Get:12 http://archive.ubuntu.com precise-updates/universe Sources [136 kB]
Get:13 http://archive.ubuntu.com precise-updates/multiverse Sources [10.5 kB]
Get:14 http://archive.ubuntu.com precise-updates/main amd64 Packages [1,069 kB]
Get:15 http://security.ubuntu.com precise-security/restricted amd64 Packages [10.9 kB]
Get:16 http://security.ubuntu.com precise-security/universe amd64 Packages [144 kB]
Get:17 http://security.ubuntu.com precise-security/multiverse amd64 Packages [3,367 B]
Get:18 http://security.ubuntu.com precise-security/main i386 Packages [767 kB]
Err http://ppa.launchpad.net precise/main Sources
404 Not Found
Err http://ppa.launchpad.net precise/main amd64 Packages
404 Not Found
Err http://ppa.launchpad.net precise/main i386 Packages
404 Not Found
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Get:19 http://archive.ubuntu.com precise-updates/restricted amd64 Packages [15.4 kB]
Get:20 http://archive.ubuntu.com precise-updates/universe amd64 Packages [288 kB]
Get:21 http://security.ubuntu.com precise-security/restricted i386 Packages [10.8 kB]
Get:22 http://security.ubuntu.com precise-security/universe i386 Packages [152 kB]
Get:23 http://security.ubuntu.com precise-security/multiverse i386 Packages [3,547 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Get:24 http://archive.ubuntu.com precise-updates/multiverse amd64 Packages [17.1 kB]
Get:25 http://archive.ubuntu.com precise-updates/main i386 Packages [1,149 kB]
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:26 http://archive.ubuntu.com precise-updates/restricted i386 Packages [15.3 kB]
Get:27 http://archive.ubuntu.com precise-updates/universe i386 Packages [296 kB]
Get:28 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [17.3 kB]
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise-backports/main Sources
Hit http://archive.ubuntu.com precise-backports/restricted Sources
Hit http://archive.ubuntu.com precise-backports/universe Sources
Hit http://archive.ubuntu.com precise-backports/multiverse Sources
Hit http://archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-backports/main i386 Packages
Hit http://archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Hit http://archive.ubuntu.com precise-backports/main Translation-en
Hit http://archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://archive.ubuntu.com precise-backports/universe Translation-en
Fetched 5,629 kB in 7s (727 kB/s)
apt-get update hit problems but continuing anyway...
Reading package lists...
Building dependency tree...
Reading state information...
gcc is already the newest version.
gcc set to manually installed.
python is already the newest version.
python-dev is already the newest version.
python-dev set to manually installed.
augeas-lenses is already the newest version.
libaugeas0 is already the newest version.
The following packages were automatically installed and are no longer required:
apache2-mpm-prefork apache2.2-common apache2.2-bin
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libssl1.0.2 python-setuptools
Recommended packages:
python-pip
The following NEW packages will be installed:
libffi-dev libssl1.0.2 python-setuptools python-virtualenv
The following packages will be upgraded:
ca-certificates libssl-dev openssl
3 upgraded, 4 newly installed, 0 to remove and 234 not upgraded.
Need to get 4,312 kB/7,169 kB of archives.
After this operation, 8,584 kB of additional disk space will be used.
Do you want to continue [Y/n]? WARNING: The following packages cannot be authenticated!
libssl1.0.2 openssl libssl-dev
Install these packages without verification [y/N]? Err http://ppa.launchpad.net/ondrej/php5/ubuntu/ precise/main libssl1.0.2 amd64 1.0.2h-1+deb.sury.org~precise+1
404 Not Found
Err http://ppa.launchpad.net/ondrej/php5/ubuntu/ precise/main openssl amd64 1.0.2h-1+deb.sury.org~precise+1
404 Not Found
Err http://ppa.launchpad.net/ondrej/php5/ubuntu/ precise/main libssl-dev amd64 1.0.2h-1+deb.sury.org~precise+1
404 Not Found
0
我一直在寻找如何使用 Ubuntu 12.04 将 IP 地址(例如 123.123.321.1)列入白名单。但是每个人似乎都给出了很长的详细答案。是否只有 1 个简单的命令可以将 IP 地址列入白名单?我想将一个 IP 地址列入白名单,以便它可以通过 SSH 端口 22 进行连接。这个解决方案也可以与 centos 等其他 linux 风格一起使用吗?
我目前使用的是 ubuntu 12.04,因为这是旧版本的 ubuntu,所以我安装了 git 1.7.9.5,但我不确定如何将其升级到 git 2.x。
我正在使用预构建的 Ubuntu VM,似乎ack
已经安装了一个命令,但我想安装ack-grep
并将其重命名为ack
。
如何卸载该ack
命令?该ack
命令是某种汉字转换器。如果可能的话,我想完全卸载它。
我只是重命名中的文件/usr/bin
并且它会正常工作吗?
我似乎无法找到一个快速命令来查看服务器上所有被禁止的 IP。或者是否有我可以编辑的文件?
我猜 fail2ban 是输入所有要禁止的 IP 的那个。我在哪里调整它的设置?
我似乎只能在禁用 ufw 时才能远程登录到我的服务器。我似乎无法找到如何解除自己的禁令。我什至不知道为什么我首先被禁止。是否有某种日志可以查看所做的所有尝试?