Changing the hostname on WSL [closed]
Try to change the host system’s name from System –> Change Settings –> Change. In some sense, it makes sense for WSL to update its hostname to match that of the host computer.
Try to change the host system’s name from System –> Change Settings –> Change. In some sense, it makes sense for WSL to update its hostname to match that of the host computer.
You need to edit the squid config file to enable access. The default location for the squid file on ubuntu is : /etc/squid3/squid.conf The following lines enable access to all requests: # allow all requests acl all src 0.0.0.0/0 http_access allow all # Make sure your custom config is before the “deny all” line http_access … Read more
Try this, after editing your file, quit with this command: wq!. the ! means force the process, and when you combine it with wq that means force to save and quit.
First remove the update-alternatives for openmpi: sudo rm -f /etc/alternatives/mpi* /var/lib/dpkg/alternatives/mpi* Then install openmpi-bin again: sudo apt install open-mpi answer Y when asked for confirmation. In Ubuntu 22.04 (or if the above line doesn’t work) – try this instead: sudo apt install openmpi-bin
You need to set the proxy for Docker daemon also using environment variable. Docker run is also doing docker pull since the image doesn’t exists. In your case the proxy is only applied to the docker run command, which delegates to the docker daemon which is running without proxy. Create a file named /etc/systemd/system/docker.service.d/10_docker_proxy.conf with … Read more
The best solution I found so far is to increase the fs.inotify.max_user_instances in /etc/sysctl.conf by running this command: echo fs.inotify.max_user_instances=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p Source: https://github.com/dotnet/aspnetcore/issues/8449#issuecomment-512275929
Visual Studio Code enabled official Linux repositories on February 2017 (v1.10) sudo add-apt-repository -y “deb https://packages.microsoft.com/repos/vscode stable main ” sudo apt update sudo apt -y install code You can upgrade / dist-upgrade as usual sudo apt -y upgrade sudo apt -y dist-upgrade
If start-stop-daemon is available on your machine, I would highly recommend using it to launch your process. start-stop-daemon will handle launching the process as an unprivileged user without forking from sudo or su (recommended in the upstart cookbook) AND it also has built in support for pid file management. Eg: /etc/init/app_name.conf #!upstart description “Redis Server” … Read more
As someone mentioned in a comment to an (outdated) answer, the nowadays (due to Dart being supplied / integrated with / in Flutter now) suggested correct use of pub is to be called via the flutter command: `flutter pub` ie. to use gRPC / protobufs v3 w/ Dart / Flutter: `flutter pub global activate protoc_plugin`
For the error “configure: error: ssl is required but missing” You will need to install libssl-dev. sudo apt-get install libssl-dev For the error “configure: error: lzo enabled but missing” sudo apt-get install liblzo2-dev For the error “configure: error: libpam required but missing “ sudo apt-get install libpam0g-dev