Once you have launched Navixy Cloud on AWS EC2 instance you are required to configure the product.
Connect to instance via ssh with user ‘admin’ and your private key, for example:
$ ssh -i "yourkey.pem" email@example.com
Then gain sudo access by entering the command:
$ sudo su -
Type in a terminal as root:
# dpkg-reconfigure navixy
and answer the questions step by step
This IP address will be used in sms commands during the process of trackers connection to server. Trackers will be sending information exactly to this address.
If you use your local (national) domain format, please convert it into punycode.
- Now please select an sms gateway that will be used with Navixy to send messages (e.g. settings to trackers, notifications to you about events etc). Possible presets are : Navixy, SMSTraffic, Nexmo, Twilio, or any sms gate that works through smpp protocol. You can also select a ‘No SMS gate’ option in case you do not plan to use sms for your service, or plan to set it up later.
- Select your mail provider. It is possible to use presets for gmail, yandex mail services. You can also use your own mail server or do not use any in case you don’t need to deliver messages:
Please be advised that you have to specify a user and its password that used to send mails(aka login and password).
- For correct work you need to add a fingerprint. If you have launched Amazon instance and want to try Navixy you can get a trial key. For this purpose select ‘No’. In other cases select ‘Yes’ and insert a key into the field as shown below:
- Start the services:
# sv u api-server # sv u navixyserver # sv u sms-server
- You can get access to admin panel using web browser: http://panel.yourdomain.tld, where yourdomain.tld is the domain name that have been specified during the configuration.
Enter pair admin/admin into the web form and submit it. Enjoy!
Notes about using SMS gates Nexmo and Twilio
For processing incoming short messages you need to specify a callback URL to provider.
For Twilio you can add URL using web interface and for Nexmo it is possible to add only using API. For more info about Nexmo refer to this page. Regarding the use of Twilio API to set up a callback URL refer to this page or just add it directly through web-interface when you logged in.
Notes about mail providers
Yahoo, Outlook, Gmail, AOL do not permit to send mails using SMTP protocols. By default it is permitted to send mails only using web interface. You should log into web interface and permit to use SMTP to send emails. This actions may vary from one provider to another. You can find solutions at corresponding website in support articles.