wget: unable to resolve host address `http’
The DNS server seems out of order. You can use another DNS server such as 8.8.8.8. Put nameserver 8.8.8.8 to the first line of /etc/resolv.conf.
The DNS server seems out of order. You can use another DNS server such as 8.8.8.8. Put nameserver 8.8.8.8 to the first line of /etc/resolv.conf.
npm install <packagename> –registry http://registry.npmjs.org/ Try specifying the registry with the install command. Solved my problem.
You can reach your host from your guest by using the default gateway on your VM. See this answer for an explanation. By running netstat -rn you can get the default gateway and then use that ip address in your config file of your application. Running netstat -rn | grep “^0.0.0.0 ” | cut -d … Read more
I use the following command to view installed PHP versions in Ubuntu: sudo update-alternatives –list php Second way go to php directory where all PHP version configuration file stored: cd /etc/php dir Output: > 5.6 7.0 7.1
Make sure you have the python-dev package installed (needed to compile packages with native bindings (thanks to @ravihemnani). Then you’ll need to install the FreeTDS development package (freetds-dev) before trying to install pymssql with pip: $ sudo apt-get install freetds-dev and then, in your virtualenv or wherever you wish to install it: $ pip install … Read more
ulimit is a shell builtin like cd, not a separate program. sudo looks for a binary to run, but there is no ulimit binary, which is why you get the error message. You need to run it in a shell. However, while you do need to be root to raise the limit to 65535, you … Read more
I’ve heard that using sudo with pip is unsafe. Try adding –user to the end of your command, as mentioned here. pip install packageName –user I suspect that installing with this method means the packages are not available to other users.
The simplest way of installing SBT on ubuntu is the deb package provided by Typesafe. Run the following shell commands: wget http://apt.typesafe.com/repo-deb-build-0002.deb sudo dpkg -i repo-deb-build-0002.deb sudo apt-get update sudo apt-get install sbt And you’re done !