(mt)
So we needed to migrate one of our last isEngine sites to an archived (not database driven) site with modern CSS and jQuery. The old site was stored in XML so we built a Python script to migrate the content into new templates and store a sitemap and an ID map.
When it came time to [...]
Create subdomain, database and database user in Plesk.
ssh into the server and cd to the subdomain directory
As root create a conf/vhost.conf file with the php.ini overrides
$ vi conf/vhost.conf
<Directory /var/www/vhosts/example.com/subdomains/vtiger/httpdocs>
php_value display_errors On
php_value max_execution_time 600
php_value error_reporting E_WARNING & ~E_NOTICE
php_value allow_call_time_pass_reference On
php_value log_errors Off
</Directory>
Reconfigure and restart Apache.
$ /usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=vtiger.example.com
$ /etc/init.d/httpd stop; /etc/init.d/httpd start
Download and untar the vtiger [...]
If you host your email externally from the server that runs your website you might find that PHP’s mail function doesn’t quite work as expected. Following is the scenario.
(mt) Set up authorized keys (to enable automatic login)
Copy your public key from the machine you want to backup to.
sh-3.2$ cat ~/.ssh/id_rsa.pub
Enable SSH and then SSH into (mt).
-bash-3.2$ cd
-bash-3.2$ whoami
[username]
-bash-3.2$ su
Password:
[root@domain domain.com]# mkdir .ssh
[root@domain domain.com]# chown [username] .ssh/
[root@domain domain.com]# exit
-bash-3.2$ vi .ssh/authorized_keys2
[paste in copied keys making sure you remove pasted in linebreaks]
-bash-3.2$ chmod 600 .ssh/authorized_keys2
Test [...]