GABA0

      -- Go tacks on tailwind?

Ubuntu-G virtual machine evolution
----------------------------------

GA3

  # apt-get update
  # apt-get upgrade
  # apt-get install build-essential vim openssh-server man-db

GAB

$ software-properties-gtk
  software & updates -> Updates
    Install updates from:
      [ ] Important security updates (xenial-security)
      [ ] Recommended updates (xenial-updates)
      [ ] Unsupported updates (xenial-backports)
    Automatically check for updates: [ Never | v ]

$ gnome-control-center &
  settings -> keyboard -> input sources -> add
    [+] Estonian
    [+] English (US)
    [+] .. -> Other -> Russian
  
$ sudo apt-get install plank
$ plank & # use ctrl + rclick to configure
$ dconf-editor &
  net -> launchpad -> plank -> docks -> dock1 -> show-dock-item [v]
  
$ gnome-session-properties
  [ ] Gnome Software
  [+] Plank (Name: Plank Command: /usr/bin/plank Comment:)*
  
*) Use $ dconf-editor to add Dock-icon on Plank

# apt-get install apache2 php libapache2-mod-php

  # vi /var/www/html/php.php
  <html>
    <head>
      <meta charset=utf-8">
      <title>phpinfo()</title>
    </head>
    <body>
      <?php
        phpinfo();
      ?>
    </body>
  </html>
  
 # /etc/init.d/apache2 restart
 
 VirtualBox -> Network -> Advanced -> Port Forwarding -> 
 Name    Host IP     Host Port   Guest IP    Guest Port
 WRule   127.0.0.1   8080        10.0.2.15   80

 Access:
 
   xxx.xxx.xxx.xxx:8080/php.php
   
 Installing upload script
 ------------------------
 
 from
 
   http://www.hotscripts.com/category/scripts/php/scripts-programs
        /file-manipulation/upload-systems/
        
 take PHP Multifile Uploader with Progress Bar
   
   extract files to (create folder) 
   
     /var/www/html/up
     
  uploads in (create folder with w-permissions)
  
     /var/www/uploads
     
  errors in
  
     /var/log/apache2/error.log

like:

[Tue Oct 11 10:27:23.326325 2016] [:error] [pid 29135] [client 10.0.2.2:62408] PHP Warning:  move_uploaded_file(): Unable to move '/tmp/phpJVUUha' to '/var/www/uploads/Notepad2.exe' in /var/www/html/up/upload.php on line 23, referer: http://localhost:8080/up/php-multi-file-upload-script.php

NOTE: PLEASE DON'T DROP A BOMBS LIKE 
------------------------------------

  # chmod -R 777 *

