by Igor | Mar 24, 2015 | Odoo
Great tool if you need to backup odoo 8 database periodically.
Work as odoo module.
Take automated back-ups, remove them automatically and even write them to an external server through an encrypted tunnel. You can even specify how long local backups and external backups should be kept, automatically.
Write your backups to an external server. Specify the credentials to the server, specify a path and everything will be backed up automatically. This is done through an SSH (encrypted) tunnel, thanks to pysftp, so your data is safe!
Module can send E-mail on backup failure.
You can download and try module from odoo apps:
https://www.odoo.com/apps/modules/8.0/auto_backup/
Requirement is pysftp package.
To install package run:
sudo pip install pysftp
by Igor | Mar 23, 2015 | Odoo
To enable themes you must install Less CSS via nodejs.
On Linux, use your distribution’s package manager to install nodejs and npm.
Warning
In debian wheezy and Ubuntu 13.10 and before you need to install nodejs manually:
$ wget -qO- https://deb.nodesource.com/setup | bash -
$ apt-get install -y nodejs
In later debian (>jessie) and ubuntu (>14.04) you may need to add a symlink as npm packages call node but debian calls the binary nodejs
$ apt-get install -y npm
$ sudo ln -s /usr/bin/nodejs /usr/bin/node
Once npm is installed, use it to install less and less-plugin-clean-css:
$ sudo npm install -g less less-plugin-clean-css
on OS X, install nodejs via your preferred package manager (homebrew, macports) then install less and less-plugin-clean-css:
$ sudo npm install -g less less-plugin-clean-css
on Windows, install nodejs, reboot (to update the PATH) and install less and less-plugin-clean-css:
C:\> npm install -g less less-plugin-clean-css
Warning
You can have problems with NodeJS and NPM packages in the Ubuntu 14.04 repository because they are outdated.
Follow the instructions from the NodeJS Website:
curl -sL https://deb.nodesource.com/setup_0.10 | sudo bash -
sudo apt-get install -y nodejs
sudo npm install -g npm (to update npm)
Then install Less and accessories:
sudo npm install -g less less-plugin-clean-css
by Igor | Mar 23, 2015 | Hosting, Linux
POP before SMTP authentication is not enabled by default as of cPanel & WHM 11.32.
You can enable this option from WHM > Service Configuration > Service Manager > Antirelayd.
SMTP authentication is still supported and enabled by default.
by Igor | Mar 23, 2015 | Hosting, Linux
#!/bin/bash
find /tmp/ -type f -mtime +5 -exec rm -f {} \;
by Igor | Mar 23, 2015 | Hosting, Linux
shutdown -Fr now
Recent Comments