Skip to Content
Mastering PHP 7
book

Mastering PHP 7

by Branko Ajzele
June 2017
Intermediate to advanced
536 pages
9h 49m
English
Packt Publishing
Content preview from Mastering PHP 7

Installing MongoDB

Assuming we are using the fresh Ubuntu 16.10 (Yakkety Yak) installation, the following steps outline how we can setup MongoDB:

  1. We will install MongoDB using the following console command:
sudo apt-get updatesudo apt-get install -y mongodb
  1. To further check that MongoDB is successfully installed and running, we can execute the following command:
sudo systemctl status mongodb.service
  1. This should give us the following output:
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning PHP 7

Learning PHP 7

Antonio L Zapata (GBP)
Upgrading to PHP 5

Upgrading to PHP 5

Adam Trachtenberg

Publisher Resources

ISBN: 9781785882814Supplemental Content