sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ubuntu-desktop
sudo apt-get install vnc4server
I created this tutorial for a close friend of mine. He had an issue when trying to use the disk partition for Ubuntu 14.04. The issue he was facing during a fresh install using a USB pen drive and partitioning an existing drive. So I hope this helps you bro
I think his exact words where something like
Trav, you have to help me bro! I completely jacked up my computers hard drive and don't know what to do. I have a 30 page paper due tomorrow and I am tripping out that tried to do a fresh install at the worst time. Can you please help? -James
#Unix Toolbox
##Unix Toolbox revision 14.4
Error reports and comments are m
How to backing up Ubuntu server and restoring to another Ubuntu instance
It is adviced to make TWO backups. 1 for / and 1 for /home if they are on different partition. If you want one you will have to add a lot of exceptions to that one command. Example:
sudo -i cd /
Apache configuration file (.htaccess) .htaccess files are an overhead, this logic should be in your Apache config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html
Techniques in here adapted from all over, including: html5boilerplate: html5boilerplate.com Kroc Camen: camendesign.com/.htaccesss perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/ Useful htaccess tricks & tips: http://www.queness.com/post/5421/17-useful-htaccess-tricks-and-tips
This is a basic collection of things I do when setting up a new headless ubuntu machine as a webserver. Following the steps below should give you a reasonable secure server with HTTP/2 support (including ALPN in chrome) and the fast NGINX server. I am happy to add things so leave a comment.
After creating the server (droplet on DigitalOcean) log in with
<style id="jsbin-css"> | |
#DIV_1 { | |
color: rgb(51, 51, 51); | |
height: 1567px; | |
max-width: 750px; | |
width: 724px; | |
column-rule-color: rgb(51, 51, 51); | |
perspective-origin: 362px 783.5px; | |
transform-origin: 362px 783.5px; | |
border: 0px none rgb(51, 51, 51); |
#!/bin/bash | |
find /var/www/public -type d -exec chmod 755 {} + | |
find /var/www/public -type f -exec chmod 644 {} + | |
chown -R www-data:www-data /var/www/public |