Difference between revisions of "Acronis True image Echo Agent Linux Debian4"
From MS Computech
Line 6: | Line 6: | ||
คุณต้องติดตั้ง Package ที่จำเป็นรวมถึง include linux-source เพื่อที่จะ compile snapapi26 โมดูล. | คุณต้องติดตั้ง Package ที่จำเป็นรวมถึง include linux-source เพื่อที่จะ compile snapapi26 โมดูล. | ||
− | <pre>#apt-get install alien build-essential gcc-3.4 libstdc++5 rpm linux-headers-2.6.18-6-686 linux-source-2.18 | + | <pre>#apt-get install alien build-essential gcc-3.4 libstdc++5 rpm linux-headers-2.6.18-6-686 linux-source-2.18</pre> |
คุณอาจต้องเปลี่ยนชื่อ linux-headers-2.6.18-6-686 linux-source-2.18-6 ให้สอดคล้องกับ kernel version ของคุณโดยการตรวจสอบ version โดย | คุณอาจต้องเปลี่ยนชื่อ linux-headers-2.6.18-6-686 linux-source-2.18-6 ให้สอดคล้องกับ kernel version ของคุณโดยการตรวจสอบ version โดย | ||
Revision as of 11:16, 4 September 2008
วิธีการติดตั้ง AcronisTrueImageAgentLinuxEnterprise.i686 v9.5.8115 บน Debian debian-40r4a-i386-netinst.iso machine
(23-08-2008) ( Pat Nawa® )
คุณต้องติดตั้ง Package ที่จำเป็นรวมถึง include linux-source เพื่อที่จะ compile snapapi26 โมดูล.
#apt-get install alien build-essential gcc-3.4 libstdc++5 rpm linux-headers-2.6.18-6-686 linux-source-2.18
คุณอาจต้องเปลี่ยนชื่อ linux-headers-2.6.18-6-686 linux-source-2.18-6 ให้สอดคล้องกับ kernel version ของคุณโดยการตรวจสอบ version โดย
ใช้คอมมาน "#uname -a"
#touch /sbin/chkconfig
#chmod +x /sbin/chkconfig
เปลี่ยน Directory ไปที่ /usr/src/
#cd /usr/src
ทำการแตก Kernel source โดยใช้คำสั่ง
#tar xjvf linux-source-2.6.18.tar.bz2
ติดตั้ง AcronisTrueImageAgentLinuxEnterprise.i686 เพื่อแตก snapapi26 ออกมา โดย :
#./AcronisTrueImageAgentLinuxEnterprise.i686 '''skip build kernel module'''
#dkms ldtarball --archive=/usr/lib/Acronis/kernel_modules/snapapi26-0.7.29-all.tar.gz
#dkms build -m snapapi26 -v 0.7.29 -k 2.6.18-6-686 --config /boot/config-2.6.18-6-686 --arch i686 --kernelsourcedir /usr/src/linux-source-2.6.18
#dkms install -m snapapi26 -v 0.7.29 -k 2.6.18-6-686 --config /boot/config-2.6.18-6-686 --arch i686 --kernelsourcedir /usr/src/linux-source-2.6.18
#modprobe snapapi26
ทำการติดตั้ง Agent อีกครั้ง
#./AcronisTrueImageAgentLinuxEnterprise.i686
ตรวจสอบว่า Agent ที่ติดตั้งทำงานอยู่หรือไม่
#ps ax | grep acr 3709 ? Ssl 0:01 /usr/lib/Acronis/Agent/acronisagent 8375 ? Ssl 0:00 /usr/lib/Acronis/Agent/acronisagent
และถ้ามีปัญหาในการ start acronis_agent ที่ /etc/init.d คุณต้องสร้าง Dir:
#mkdir /var/lock/subsys
#/etc/init.d/acronis_agent start
จบ....