Difference between revisions of "Mesh/Website/Local"

From Sudo Room
Jump to navigation Jump to search
(adds basic outline)
(No difference)

Revision as of 17:18, 3 November 2013

How to set up a local instance of a sudo mesh sites, namely peoplesopen.net.

peoplesopen.net website

Debian / Ubuntu / General? Linux

  • Install LAMP server which is a common software stack of Linux with Apache, MySQL, and PHP (but also can refer to Perl/Python).
    $ sudo apt-get install tasksel
    or, possibly use:
    $ sudo apt-get install lamp-server
  • Examine how Apache runs, can be managed as a service to "reload" or "restart", and how it works with PHP.
    • For most of this, having a full LAMP install saves a bit of configuration time to get running.
    • Apache site config file: https://gist.github.com/wrought/7296693 for /etc/apache2/sites-available/peoplesopen.loc
    • Need to enable site with:
      $ sudo a2ensite peoplesopen.loc
  • Edit /etc/hosts file to include something like this line (unless you have a specific configuration):
    127.0.1.1 peoplesopen.loc
    • If you happen to be using a local dns caching system, you may need clear it with something like:
      $ sudo service nscd restart