On the old server Odoo is setup with e-commerce website. On the new server, avoid extra dependencies if Odoo doesn’t need them (web server, php, …).
- keep a TODO-list
- create a subdomain, to test your paiement module on the new server
- install your ssh-key
- install some command-line tools : midnight-commander, nano editor, mlocate, wget, screen, unzip
- might want to install a graphical web-server admin. I like Webmin, because it’s well maintained, depends only of Perl and use its own web server.
- install a networked resource monitoring tool with graphs output, like Munin (or webminstats if you use Webmin)
- install Postgresql, create necessary users and configure it. Refer to Odoo install documentation.
- install Odoo, setup Odoo with workers and debug log
- stop firewall to access Webmin and Odoo, you will configure the firewall later (TODO list)
- create a dummy database with all necessary modules, add all modules you had on the old server. Test it (might want to include demo datas to test it extensively — check ‘evaluate Odoo’ when you are creating the database).
- test your credit card paiement module
- install auto backup odoo module on the new server and test it : do a backup/restore operation. First install python-pip and do
sudo pip install pysftp
- backup your old Odoo database
- create a new, empty, database on the new server
- restore your old database on the new database. test it extensively
- install letsencrypt Odoo module, first install python-pip, then do
sudo pip install acme-tiny
sudo pip install IPy
- install nginx and set it up
- install fail2ban
- open necessary ports on the firewall and restart it