-
Notifications
You must be signed in to change notification settings - Fork 0
Install
Note: These instructions are raw. If you have issues, PLEASE email me at [email protected] and I will help guide you. I would love to clean these instructions out for better use
##Pre-Install
###Make sure your ubuntu is up-to-date
- type in terminal: 'sudo apt-get update'
- type in terminal: 'sudo apt-get dist-upgrade'
- type in terminal: 'etc/MangoJane/sudo bash mango_jane_install'
###cd to the MangoJane directory
- Type in terminal: 'cd /etc/MangoJane'
#Install mysql
Mango Jane allows the MYSQL server to have different names and passwords via file 'configuration.d'. Below sets the default values
- type in terminal: 'sudo apt-get install mysql-server mysql-client' 1a. when asked the Default Password is: '1qazZAQ!'
- type in terminal: 'mysql -u root -p' 2a. when asked, type in the password '1qazZAQ!'
- type in terminal: 'CREATE DATABASE txtCLI;'
- type in terminal: 'quit;' The next few steps fill in the database with the table schemas and also populates a few tables needed for Mango Jane to work correctly
- type in terminal: 'mysql -u root -p -h localhost txtCLI < mysql_schemas.sql'
- type in the terminal: 'mysql -u root -p -h localhost txtCLI < sms2mmsemails.sql'
#Setup Perl
_we will use cpan to install the following modules
- Mail::POP3Client *MIME::Parser_
- Type in terminal: 'sudo apt-get install build-essential'
- 'cpan'
- 'make install'
- 'install Mail::POP3Client'
- 'install MIME::Parser'
- 'quit'
#Install sendemail
- Type in terminal: 'apt-get install sendemail'
###setup configuration 2. Edit "/etc/MangoJane/configuration.d" to meet the needed specs of the system 3. Type in terminal: 'sudo bash /etc/MangoJane/refresh'
#Setup Email Server This is tricky. In general the server needs to be setup under the following specs *setup to match configuration.d values
*Any email server will work as long as it can do a single virtual mailbox. I used dovecot and postfix to make my server and it works great but is tough to learn
*postfix must be setup for a single virtual mailbox (this is tricky http://www.postfix.org/VIRTUAL_README.html is a good guide to help)
*if you plan on using more than one domain on this server, you also need to setup that virtual mailbox (also tricky but the same URL can help http://www.postfix.org/VIRTUAL_README.html)
#Start Services
- Type in Terminal: 'sudo perl etc/MangoJane/all.sh'