Пікірлер
@shahanawazkhan8745
@shahanawazkhan8745 Күн бұрын
After writing [Boot] systemd=true, I can't write this term: wql, I can't write it smoothly even by pressing the Esc button on the keyboard.
@LinuxTechHub
@LinuxTechHub Күн бұрын
Hi, If you are trying to edit the wsl.conf file as a normal user then you need sudo privilege. Type: sudo vi /etc/wsl.conf [boot] systemd = true then press Esc key on your keyboard, then type :wq! (all in lower case) and press Enter. This will save your changes and exit Vim without errors.
@ibrahimmuhammad4030
@ibrahimmuhammad4030 9 күн бұрын
pls help me again service apache2 start Starting Apache httpd web server: apache2AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message (13)Permission denied: AH00072: make_sock: could not bind to address [::]:80 (13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down AH00015: Unable to open lo
@LinuxTechHub
@LinuxTechHub 8 күн бұрын
Hi, Ensure you are starting Apache with root privileges. Use sudo before the command: sudo service apache2 start Edit the Apache configuration file & check if it helps: sudo nano /etc/apache2/apache2.conf ServerName your_domain.com (replace your_domain.com with your actual domain)
@ibrahimmuhammad4030
@ibrahimmuhammad4030 7 күн бұрын
Pls how can i contact u pls Include generic snippets of statements IncludeOptional conf-enabled/*.conf # Include the virtual host configurations: IncludeOptional sites-enabled/*.conf # vim: syntax=apache ts=4 sw=4 sts=4 sr noet ServerName 127.0.0.1 Look where i put it
@ibrahimmuhammad4030
@ibrahimmuhammad4030 7 күн бұрын
about the domain what is that Is it same as my server name
@ibrahimmuhammad4030
@ibrahimmuhammad4030 7 күн бұрын
Look what it showed me ┌──(kali㉿localhost)-[~] └─$ sudo service apache2 start Starting Apache httpd web server: apache2/usr/sbin/apache2ctl: 102: ulimit: error setting limit (Operation not permitted) Setting ulimit failed. See README.Debian for more information.
@ismailchiba3513
@ismailchiba3513 9 күн бұрын
im using wsl to connect ubuntu 22.04 to vs code on my windows 10 even when a change the /etc/wsl.conf file i keep getting the same error could help me please and thank you for your effort
@LinuxTechHub
@LinuxTechHub 8 күн бұрын
Hi, kindly check if you are running the right version of WSL: Version 0.67.6 and above required. 1. Check your version number by running: wsl --version on CMD or PowerShell 2. To check for any WSL updates available run: wsl --update on CMD or PowerShell Add these lines to the /etc/wsl.conf [boot] systemd=true Then exit your Ubuntu distro and run, wsl.exe --shutdown from PowerShell. Then run "wsl -d Ubuntu" to restart your ubuntu distro.
@ibrahimmuhammad4030
@ibrahimmuhammad4030 9 күн бұрын
PLs help E492: Not an editor command: wql Press ENTER or type command to continue
@LinuxTechHub
@LinuxTechHub 9 күн бұрын
Hi, To save the vi editor first press Esc button on keyboard. Then type :wq! All in small letters.
@LinuxTechHub
@LinuxTechHub 9 күн бұрын
To properly save and exit Vi editor, ensure you are in command mode (press Esc on your keyboard), then type :wq! and press Enter. This will save your changes and exit Vim without errors. If you mistakenly typed :wql instead of :wq!, Vi doesn't recognize it as a valid command (E492 error) and prompts you to continue or enter a valid command.
@ibrahimmuhammad4030
@ibrahimmuhammad4030 9 күн бұрын
Thanks man ❤
@saitan_rider
@saitan_rider 13 күн бұрын
I am not able to do it.😢 Please 🙏 help me 🙏
@LinuxTechHub
@LinuxTechHub 13 күн бұрын
Hi, could you please tell me the error you are getting. Also pls check if wsl.conf file has been properly edited as mentioned in the video.
@saitan_rider
@saitan_rider 13 күн бұрын
Hii
@omidshahsavarzadeh1968
@omidshahsavarzadeh1968 19 күн бұрын
Thanks. helpful
@LinuxTechHub
@LinuxTechHub Ай бұрын
Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist |Centos cd /etc/yum.repos.d/ sed -i 's/mirrorlist/--#mirrorlist--/g' /etc/yum.repos.d/CentOS-* sed -i 's|--#baseurl--=mirror.centos.org|baseurl=vault.centos.org|g' /etc/yum.repos.d/CentOS-*