我正在运行 Debian Jessie 8.2。我有一个蓝牙 USB 加密狗连接到我的机器。
我运行sudo bluetoothctl -a然后执行以下操作:
[NEW] Controller 5C:F3:70:6B:57:60 debian [default]
Agent registered
[bluetooth]# scan on
Discovery started
[CHG] Controller 5C:F3:70:6B:57:60 Discovering: yes
[bluetooth]# devices
[NEW] Device 08:DF:1F:A7:B1:7B Bose Mini II SoundLink
[bluetooth]# pair 08:DF:1F:A7:B1:7B
Attempting to pair with 08:DF:1F:A7:B1:7B
[CHG] Device 08:DF:1F:A7:B1:7B Connected: yes
[CHG] Device 08:DF:1F:A7:B1:7B UUIDs:
0000110b-0000-1000-8000-00805f9b34fb
0000110c-0000-1000-8000-00805f9b34fb
0000110e-0000-1000-8000-00805f9b34fb
0000111e-0000-1000-8000-00805f9b34fb
00001200-0000-1000-8000-00805f9b34fb
[CHG] Device 08:DF:1F:A7:B1:7B Paired: yes
Pairing successful
[CHG] Device 08:DF:1F:A7:B1:7B Connected: no
[bluetooth]# trust 08:DF:1F:A7:B1:7B
[CHG] Device 08:DF:1F:A7:B1:7B Trusted: yes
Changing …Run Code Online (Sandbox Code Playgroud) 我用 MSI B450 Tomahawk 替换了我的 Gigabyte GA-Z170M-D3H。
我用 AMD Ryzen 5 替换了我的 Intel Core i7-6700。
我在 SSD 上安装了 Debian 9.x。我忘记了操作系统的确切版本号。
我在另一个 SSD 上也有 Windows 10。
安装新部件后启动计算机时,弹出 GRUB 菜单。当我选择 Windows 10 时,操作系统检测到新部件并无错误地进行调整。
但是当我选择 Debian 时,我收到一条关于循环的消息并最终遇到内核恐慌。
0
4.423328] Call Trace:
4.423391] <IRQ> [ 4.423451] [<ffffffff9bae0916>] ? rcu_process_callbac
+0x1e6/0x5b0
4.423582] [<ffffffff9c0186ba>] ? __do_softirq+0x10a/0x29e
4.423654] [<ffffffff9ba7eefe>] ? irq_exit+0xae/0xb0
4.423724] [<ffffffff9c018184>] ? smp_apic_timer_interrupt+0x44/0x50
4.423724] [<ffffffff9c016a76>] ? apic_timer_interrupt+0x96/0xa0
4.423876] <EOI> [ 4.423935] [<ffffffff9bed7182>] ? cpuidle_enter_state
xa2/0x2d0
4.424065] [<ffffffff9bed7170>] ? cpuidle_enter_state+0x90/0x2d0
4.424138] [<ffffffff9babbd24>] ? cpu_startup_entry+0x154/0x240
4.424210] [<ffffffff9ba48bb0>] …Run Code Online (Sandbox Code Playgroud) 更新 2019-05-21 19:37 EST:我的主板使用最新的 BIOS,发布于 2019-03-06,但仍然存在下述安装问题。
更新:我将 Arch ISO 刻录到 CD,然后尝试从它启动,无论是 UEFI 还是旧版。相同类型的结果:
原始问题:我曾经dd将这个 Arch ISO(版本 2019.05.02)放在 U 盘上,然后尝试在我的台式计算机上从它启动。当 Arch 菜单出现时,我选择“Boot Arch Linux (x86_64)”。但是接下来是一堆错误信息,然后进程就挂在那里什么也不做。这是一张照片:
消息以“AMD-Vi:完成-等待循环超时”开头
这些消息包括“内核恐慌”。
我的主板是带有 Ryzen 5 2600 CPU 的 MSI B450 Tomahawk。我试过通过 UEFI 和旧版启动,结果相同。
如何安装 Arch Linux?
I'm on a 64-bit machine running Debian 8.2 "Jessie" with MATE Desktop Environment.
I have a Geforce GTX 650ti video card.
I'm logged in as a non-superuser account named "john."
I open NVIDIA X Server Settings GUI, change my monitors' brightness from 0.000 to -0.1, go to the "nvidia-settings Configuration" section, click "Save Current Configuration" and click "Quit."
但是当我重新启动时,亮度又回到了 0.000。
为什么?
我该如何解决?
我在 Arch Linux 上并安装了nginx-mainline. 我在运行时遇到错误sudo systemctl start。这是输出sudo systemctl status nginx.service:
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2020-08-22 21:04:55 EDT; 8s ago
Process: 2660 ExecStart=/usr/bin/nginx -g pid /run/nginx.pid; error_log stderr; (code=exited, status=1/FAILURE)
Aug 22 21:04:55 archlinux.homelab.local systemd[1]: Starting A high performance web server and a reverse proxy server...
Aug 22 21:04:55 archlinux.homelab.local nginx[2660]: 2020/08/22 21:04:55 [emerg] 2660#2660: open() "/etc/nginx/mime.types" failed (2: No such file or directory) in /etc/nginx/nginx.conf:18 …Run Code Online (Sandbox Code Playgroud) 我的 bash 脚本:
#!bin/bash
MY_ARRAY=("Some string" "Another string")
function join { local IFS="$1"; shift; echo -e "$*"; }
join "," ${MY_ARRAY[@]}
Run Code Online (Sandbox Code Playgroud)
我希望输出为:
Some string,Another string.
相反,我得到Some,string,Another,string.
我必须改变什么才能得到我想要的结果?
我刚刚在新机器上安装了 Debian 8.2 Jessie。我跑去tar -zxvpf myBackup.tar.gz从旧机器的备份中提取文件夹,旧机器也运行 Debian 8.2 Jessie。
我提取的文件夹etc,home,root,usr和var。我将每个文件中的哪些文件复制到我的新安装中?
当I型pamac或pamac-manager在终端和执行该命令,我得到这个消息:error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory。
帕马克一直工作到今天。我该如何解决?
root我的 Debian 上的 crontab 中有以下代码
* * * * * flock -xn /absolute/path/to/run.lock -c cd /absolute/parth/to/project && ./run >> run.log
Run Code Online (Sandbox Code Playgroud)
但我没有看到run.log或run.lock文件,其中我指定它们。事实上,没有证据表明脚本被执行了。
运行ps aux | grep run只会产生那个grep调用。
如何在 root 中运行run脚本?flockcrontab
debian ×6
arch-linux ×3
kernel-panic ×2
array ×1
audio ×1
backup ×1
bash ×1
bluetooth ×1
bluez ×1
brightness ×1
cron ×1
linux ×1
nginx ×1
nvidia ×1
quoting ×1
restore ×1
shell-script ×1
x11 ×1
xfce ×1