我一直在尝试使用WSL安装mysql,并遵循了本指南中指出的步骤。我尝试运行mysql --version,它起作用了(提示mysql Ver 8.0.23 for Linux on x86_64 (MySQL Community Server - GPL))。但是当我尝试下一个命令sudo /etc/init.d/mysql start时,它显示为sudo: /etc/init.d/mysql: command not found。我也试过检查/etc/init.d/目录的内容,那里没有现有的mysql文件/文件夹。下一步我应该怎么做才能继续安装mysql?
谢谢!
下面是我使用的操作系统:
Linux securecluster 4.9.8-moby #1 SMP Wed Feb 8 09:56:43 UTC 2017 x86_64 GNU/Linux
当尝试将gdb作为root用户附加到挂起进程时,我得到了以下信息:
Attaching to process 9636
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
在ansible剧本中,我提示用户输入文件的路径。我想知道,如果他们开始键入这样做,是否有可能以某种方式集成路径的制表符自动完成。这是我对以下提示的当前代码片段-
vars_prompt:
- name: "deadline_linux_installers_tar"
prompt: "What is the path to the deadline linux installers .tar?"
default: "/vagrant/downloads/Deadline-10.0.23.4-linux-installers.tar"
出于纯粹的好奇心,我尝试在我的松散软件机器上编译一个2.6.0内核。
root@darkstar:/home/linux-2.6.0# uname -a
Linux darkstar 2.6.37.6-smp #2 SMP Sat Apr 9 23:39:07 CDT 2011 i686 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux
当我尝试编译时,我得到:
root@darkstar:/home/linux-2.6.0# make menuconfig
我有一个服务器在我从机器上注销后,没有显示标准bash提示符。
如果我ssh到这个服务器,我可以在那里做所有的操作(例如ls、cwd等),试图重新安装bash (sudo apt install - reinstall bash)也没有帮助,也没有提供bashrc的源代码。
这是我目前在ssh之后的输出:
Linux mymachine 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64
The programs included with the Debian GNU/Linux system are free