error fix
ssh local port forwarding and error fix for “channel 3: open failed: connect failed: Connection refused”
My Scenario I have a remote server(4.4.4.4) where I am running a python django webserver on port 8008. However, the remove server is only allowing ssh port 32686, which means that I cannot directly access remote server at port 8008 to view the webserver. This is why I am local Read more…
linux
check ubuntu version through command line
The most popular command However, in some cases when lsb_release is not available, then use the following
linux
finding out package and versions in apt
search available packages with keyword list available versions of a package. For example, if I want to list all available versions for package libcudnn7 Before running this, running apt update is recommended. After finding a specific version that I want to install, then install the packge with a specific version Read more…
error fix
error fix: “OpenBLAS blas_thread_init: pthread_create failed for thread 27 of 36: Resource temporarily unavailable”
Problem When I tried to run a python script using numpy, it gave the following error. Solution found a solution from here from the shell, execute the following
error fix
cd not working in sh script
problem I had a shell script like the following and I was trying to run it with $ sh somescript.sh but it kept failing with the error something liek “cd: no directory”. Solution After resaving the script file with LF instead of CRLF, the script worked. I was using intellij Read more…
linux
solving “‘grub-efi-amd64-signed’ package failed to install into /target/.” error while installing ubuntu 20.04
I encountered the infamous “‘grub–efi–amd64–signed‘ package failed to install into /target/.” error when installing ubuntu 20.04 along with preinstalled windows 10 in my desktop. Here are the setting environments gigabyte mainboard one SSD, one HDD windows 10 already installed on SSD I wanted to install ubuntu 20.04 on the HDD Read more…
error fix
add custom domain resolution in linux(could not resolve hostname error fix)
Problem when the local machine is having problems resolving domain name. This can happen when using domain names that are not public but setup in corporate intranet setups. Below is an example error message that I got when trying to git clone from corporate github which is not open to Read more…
linux
how to install cudnn(from tar file)
from nvidia docs 2.3.1. Installing from a Tar File Navigate to your <cudnnpath> directory containing the cuDNN Tar file. Unzip the cuDNN package. $ tar -xzvf cudnn-9.0-linux-x64-v7.tgz Copy the following files into the CUDA Toolkit directory, and change the file permissions. $ sudo cp cuda/include/cudnn.h /usr/local/cuda/include $ sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64 Read more…