Tag Ubuntu

Edit files directly on the server

I have recently taken more interest into Ubuntu. Though Docker appears to be really useful, I thought that some on server editing would come in useful at some point. Therefore, I did some quick research and afterwards, made some decisions.
Read More

NextCloud on your shared VPS

Nextcloud is a suite of client-server software for creating and using file hosting services. It is functionally similar to Dropbox, although Nextcloud is free and open-source, allowing anyone to install and operate it on a private server.
Read More

Adding SSL to your Server

Commands to run for Apache, in Ubuntu 16.04: sudo apt-get update sudo apt-get install software-properties-common sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-apache sudo certbot --authenticator standalone --installer apache --pre-hook "apachectl -k stop" --post-hook "apachectl -k start" sudo…
Read More

NVM, npm, node and Ubuntu

The program ‘npm’ is currently not installed. You can install it by typing: apt install npm When installing node/npm on Ubuntu, using NVM, each terminal window requires setting the node version. To fix this use the command: [crayon-5e8fb6cfdc585094444765/]  
Read More

Apache 2, PHP 5 and MariaDB on Raspbian

A great tutorial to do so can be found here: https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-lamp-on-debian-jessie/ Please remember to prefix the commands with sudo or use an elevated privileges user. A nice touch not found in other tutorials is the recommendation to install APCu PHP…
Read More

wget: unable to resolve host address

Here is a couple of errors that might occur in Ubuntu or Node.js running on ubuntu: Command: wget http://www.google.ro # response wget: unable to resolve host address Or in node.js:  { [Error: getaddrinfo ENOTFOUND] code: ‘ENOTFOUND’, errno: ‘ENOTFOUND’, syscall: ‘getaddrinfo’…
Read More