Difference between revisions of "Acronis True image Echo Agent Linux Debian4"
Line 13: | Line 13: | ||
เปลี่ยน Directory ไปที่ /usr/src/ | เปลี่ยน Directory ไปที่ /usr/src/ | ||
<pre>#cd /usr/src</pre> | <pre>#cd /usr/src</pre> | ||
− | ทำการแตก Kernel source โดยใช้คำสั่ง | + | ทำการแตก Kernel source โดยใช้คำสั่ง |
<pre>#tar xjvf linux-source-2.6.18.tar.bz2</pre> | <pre>#tar xjvf linux-source-2.6.18.tar.bz2</pre> | ||
− | ติดตั้ง AcronisTrueImageAgentLinuxEnterprise.i686 โดย : | + | ติดตั้ง AcronisTrueImageAgentLinuxEnterprise.i686 เพื่อแตก snapapi26 ออกมา โดย : |
<pre>#./AcronisTrueImageAgentLinuxEnterprise.i686 | <pre>#./AcronisTrueImageAgentLinuxEnterprise.i686 | ||
skip build kernel module</pre> | skip build kernel module</pre> | ||
Change this match of your kernel "'''2.6.18-6-686'''" | Change this match of your kernel "'''2.6.18-6-686'''" | ||
− | <pre>#dkms ldtarball --archive=/usr/lib/Acronis/kernel_modules/snapapi26-0.7.29-all.tar.gz</pre><pre>#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</pre><pre>#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</pre><pre>#modprobe snapapi26</pre><pre>#./AcronisTrueImageAgentLinuxEnterprise.i686</pre><pre>#ps ax | grep acr | + | <pre>#dkms ldtarball --archive=/usr/lib/Acronis/kernel_modules/snapapi26-0.7.29-all.tar.gz</pre><pre>#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</pre><pre>#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</pre><pre>#modprobe snapapi26</pre> |
+ | ทำการติดตั้ง Agent อีกครั้ง | ||
+ | <pre>#./AcronisTrueImageAgentLinuxEnterprise.i686</pre> | ||
+ | ตรวจสอบว่า Agent ที่ติดตั้งทำงานอยู่หรือไม่ | ||
+ | <pre>#ps ax | grep acr | ||
3709 ? Ssl 0:01 /usr/lib/Acronis/Agent/acronisagent | 3709 ? Ssl 0:01 /usr/lib/Acronis/Agent/acronisagent | ||
8375 ? Ssl 0:00 /usr/lib/Acronis/Agent/acronisagent | 8375 ? Ssl 0:00 /usr/lib/Acronis/Agent/acronisagent |
Revision as of 14:38, 1 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-6
คุณอาจต้องเปลี่ยนชื่อ 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
Change this match of your kernel "2.6.18-6-686"
#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
If you have a problem to start acronis_agent at /etc/init.d you need to create dir
#mkdir /var/lock/subsys
#/etc/init.d/acronis_agent start