Skip to content

Instantly share code, notes, and snippets.

- Enter into the folder sites-available.
* cd /etc/apache2/sites-available
- Add this text and create your site conf file.
* sudo nano site.dev.conf
<VirtualHost *:80>
ServerName site.dev
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/project_name/public
@miguelcperez
miguelcperez / Week6
Last active July 9, 2018 15:04
Mongo for Developers - Homework week 6
Homework 6.1
- Which of the following statements are true about replication in MongoDB? Check all that apply.
* The minimun sensible number of voting nodes to a replica set is three. True
* MongoDB replication is synchronous. False
* By default, using the new MongoClient connection class, w = 1, j = 1. False
* The oplog utilizes a capped collection. True