/var/www is the default root folder of your local web server (like apache ), you host all your website files here and access it on the browser with url like http://127.0.0.1 or http://localhost you cannot simply copy paste stuff in this folder using your file browser, It is protected for security reasons, you will get a permission denied error message because by default you don't have write access permission here. Follow these Steps: execute these commands to set all permissions for /var/www directory sudo adduser <username> www-data sudo chown -R www-data:www-data /var/www sudo chmod -R g+rwX /var/www replace <username> with your actual username. Now you can copy, edit and create files in /var/www folder just like any other folder.
I recently got a soundbot wireless portable speaker, which is by the way really great! but It had some issues making it work with ubuntu. After pairing it was working with Headset Head unit (HSP/HFP) which produced a really bad audio quality. to get the sound right It should be using the High Fidelity playback (A2DP Sink) but it wouldn't select that profile from the sound preferences. Read more »
Node.js is an opensource JavaScript based framework for server-side scripting. Ubuntu Repository has the older version of node.js To get the updated version you need to install node.js using the PPA by provided by NodeSource. for 6.x versions (LTS version) curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - for 7.x versions (current active release) curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - after this the PPA will be added and repository will be updated automatically, now install the updated node.js version sudo apt-get install nodejs
Comments
Post a Comment