Tạo lại Service Container trên Virtuozzo Container (Recreating the Service Container)
Nếu container 1 của bạn không làm việc hoặc bị lỗi không truy cập được PMC ... bạn có thể xem xét cài đặt lại Service Container bằng các lệnh sau:
1) Download file cài đặt
#wget http://download.parallels.com/virtuo...tall-linux.bin
2) Gán quyền thực thi cho file vừa mới download về và thực hiện việc download source Virtuozzo Container version 4
#chmod 755 vzinstall-linux.bin
#./vzinstall-linux-x86_64.bin download --archs x86_64 --dist-ver
4.0.0-448 --platforms Linux --download-dir /root
# ls -la /root/Linux/x86_64/
# mkdir /root/vzrpms
3. Giải nén file Source ra thư mục /root/vzrpms
# /root/Linux/x86_64/virtuozzo-4.0.0-448-x86_64.sfx -d /root/vzrpms --extract
4. Clone the service container để backup lại (bạn có thể vào thư muc /vz/private và backup lại thư muc 1 bằng thủ công)
#vzmlocal -C 1:23
5. Xóa bỏ Service Container 1
#vzctl destroy 1
6. Tạo lại Service Container bằng lệnh
vzsveinstall -v -D /root/vzrpms -s 192.168.55.47
IP là ip của Service Container (bạn có thể đặt bất kỳ ip nào trong dãy 192.168.xxx.xxx)
Chờ khoản 5 phút sau khi Service Container cài đặt lại là xong!
Tham khảo:
http://www.thevirtuozzoadmin.com/rec...ice-container/
