WebMar 13, 2024 · 在Windows中使用Linux命令的方法有很多种。其中一种方法是使用Windows Subsystem for Linux (WSL)。 WSL是一个在Windows 10中内置的功能,可以在Windows系统上运行原生的Linux二进制文件。要使用WSL,你需要在Windows 10上启用WSL功能,然后安装一个Linux发行版。 安装WSL的方法如下 ... WebMar 20, 2024 · .wslconfig 用于在 WSL 2 上运行的所有已安装分发中 全局 配置设置。 wsl.conf 用于为 WSL 1 或 WSL 2 上运行的 Linux 发行版配置 每个发行版 的设置。 这两 …
chkconfig not found by bash, but is installed - LinuxQuestions.org
Webchkconfig --level 35 ssh on But there is no chkconfig command. net-tools and ifconfig apt-get install net-tools This gives me ifconfig, which is how I am used to finding out the ip assigned to WSL2 It is 172.23.25.42, at least for now. Forward port 2222 First, let's open up port 2222 on the Windows Firewall. WebThe traditional way to start services in Linux was to place a script in /etc/init.d, and then use the update-rc.d command (or in RedHat based distros, chkconfig) to enable or disable it. This command uses some … highlight color windows 11
How to enable or disable service on boot with chkconfig
WebApr 7, 2024 · Ubuntu inside Windows using WSL. uses SysV instead of systemd. Now, run the following command to PID 1 process name. ... chkconfig example on: systemctl disable example: chkconfig example off: systemctl is-enabled example: chkconfig example –list: systemctl list-unit-files –type=service: WebApr 1, 2024 · 三、apt-get dist-upgrade. 更新所有软件包,如果依赖关系无法解决时可能会报错或者停止,但是dist-upgrade命令可以自动解决依赖关系,因此dist-update有一定的危险性,因为可能会更新很大您不希望更新的软件,导致原理的一些需要依赖旧包的软件无法运 … WebMar 13, 2024 · The wsl.conf file configures settings on a per-distribution basis. (For global configuration of WSL 2 distributions see .wslconfig). The wsl.conf file supports four sections: automount, network, interop, and user. (Modeled after .ini file conventions, keys are declared under a section, like .gitconfig files.) highlight color for dark hair