ZpanelX: Update de la 10.0.1 la 10.0.2 in Ubuntu

Pentru a face update la Zpanel de la versiunea 10.0.1 la 10.0.2, in Ubuntu, urmati urmatorii pasi:

In primul rand descarcati aceasta arhiva.

wget http://repo.zpanel.co.nz/update-10.0.2.zip

unzip update-10.0.2.zip

mkdir /etc/zpanel/panel.bak

cp /etc/zpanel/panel/* -R /etc/zpanel/panel.bak/

cp update_zpanel/* -R /etc/zpanel/panel/

ln -s /etc/zpanel/panel/bin/setzadmin /usr/bin/setzadmin

Mai departe faceti update la bazele de date

mysql -u root -p <  /etc/zpanel/panel/etc/build/config_packs/ubuntu_12_04/zpanelx-update/10-0-2/sql/x_accounts-update.sql

mysql -u root -p < /etc/zpanel/panel/etc/build/config_packs/ubuntu_12_04/zpanelx-update/10-0-2/sql/zpanel_update.sql

Setati parola pentru userul zadmin

setzadmin --set parola_voastra

Daca va da eroarea de mai jos:

bash: /usr/bin/setzadmin: Permission denied

executati urmatoarele comenzi

chmod -R 777 /etc/zpanel/panel/bin/setzadmin

apt-get install -y dos2unix

dos2unix /etc/zpanel/panel/bin/zppy

dos2unix /etc/zpanel/panel/bin/setzadmin

setzadmin --set parola_voastra

 

Adaugă un răspuns

Your email address will not be published. Required fields are marked *