ssl: true
backup: true # backup all databases automatically on machine destroy| λ vagrant up | |
| Bringing machine 'homestead' up with 'virtualbox' provider... | |
| ==> homestead: Importing base box 'laravel/homestead'... | |
| ==> homestead: Matching MAC address for NAT networking... | |
| ==> homestead: Checking if box 'laravel/homestead' version '11.4.0' is up to date... | |
| ==> homestead: Setting the name of the VM: homestead | |
| ==> homestead: Clearing any previously set network interfaces... | |
| ==> homestead: Preparing network interfaces based on configuration... | |
| homestead: Adapter 1: nat | |
| homestead: Adapter 2: hostonly |
| package com.example.android.htmlquiz; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.widget.Button; | |
| import android.widget.CheckBox; | |
| import android.widget.EditText; | |
| import android.widget.LinearLayout; |
<VirtualHost *:80>
ServerName project_name
ServerAdmin andrea@fianco.it
DocumentRoot "/Users/andrea/Dropbox/Sites/project_name/html"
CustomLog "/Users/andrea/Dropbox/Sites/project_name/access.log" common
ErrorLog "/Users/andrea/Dropbox/Sites/project_name/error.log"
- Let's Encrypt
- Certbot
- SSL Labs: test certificate and web server
- How to secure apache with let's encrypt on ubuntu 16.04
Let's Encrypt certificates are fetched via client software running on your server. The official client is called Certbot, and its developers maintain their own Ubuntu software repository with up-to-date versions. Because Certbot is in such active development it's worth using this repository to install a newer version than Ubuntu provides by default.
Se, come nel mio caso, il vosto computer ha subito rallentamenti allo shutdown (parliamo anche di 10 minuti per spengere il computer) potreste risolvere reinstallando MySQL, con la procedura riportata sotto (fonti vari, Google). Il tutto va eseguito da shell.
Altamente consigliato installare MySQL attraverso brew, 'the missing package manager for macOS'.
Attenzione! Prima di procedere alla rimozione delle cartelle è necessario eseguire un backup (dump) dei database presenti:
mysqldump -u root -p --all-databases > alldb.sql
- lxml - Pythonic binding for the C libraries libxml2 and libxslt.
- boto - Python interface to Amazon Web Services
- Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
- Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
- PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
- Celery - Task queue to distribute work across threads or machines.
- pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.