|Timothy Prepscius 9842798c78||8 years ago|
|android||8 years ago|
|build||8 years ago|
|config||8 years ago|
|cpp||8 years ago|
|deploy||8 years ago|
|ext||8 years ago|
|gwt||8 years ago|
|install||8 years ago|
|james||8 years ago|
|java||8 years ago|
|keys||8 years ago|
|passwords||8 years ago|
|web||8 years ago|
|.gitignore||8 years ago|
|DEV_BRAIN_DUMP.txt||8 years ago|
|HOW_TO_INSTALL.txt||8 years ago|
|License.txt||8 years ago|
|README.md||8 years ago|
|make||8 years ago|
|setup-1-dependencies||8 years ago|
|setup-2-install||8 years ago|
|setup-3-compile||8 years ago|
|setup-4-deploy||8 years ago|
This documents talks about installing mailiverse from an origin to a target.
------- Requirements on the origin build machine ---------
To install from and build mailiverse from the origin, the origin must:
Have ssh keys: ssh-keygen -t rsa -b 4096
Have git installed: sudo apt-get install git --yes
Have unzip installed: sudo apt-get install unzip --yes
Clone the mailiverse: git clone https://github.com/timprepscius/mailiverse.git
Have oracle java installed: (cd mailiverse/install && sudo ./setup-java.remote)
Have ant installed: sudo apt-get install ant --yes
Add the line to the hosts file for the target machine:
So let's say your target machine was named: joesmail.com And it's IP was: 192.168.1.243
sudo nano /etc/hosts add the line:
This could also be done on a DNS server, if you control one..
After these steps have been taken you are ready to set up.
--------- Setting up -------------
This will build enough stuff to generate keys for things. It will will generate default keys, default passwords, etc. You will at some point need to type in "password" a bunch of times, to export a particular key so it can be used with nginx.
This will install the mailiverse system onto the target. This means it will create user directories, install software, etc.
This will compile all the sources, jar them up, war them up, etc.
This will deploy mailiverse onto the target machine.
Congratulations, if you have finished these, you should be able to put:
And it should work.