Urbackup on SmartOS Zone

You will need to install these for base64

# pkgin install unzip 7zip automake gmake gcc47

Download and unzip patches

# wget https://ssl.webpack.de/forums-static.urbackup.org/uploads/default/357/9c55bab6e62a6cd0.7z
# 7z e 9c55bab6e62a6cd0.7z

Download, unzip, patch, make, and install crypto stuff

NOTE make sure you are inside cryptopp562 directory created below before running the patch.

# mkdir cryptopp562
# cd cryptopp562/
# wget http://www.cryptopp.com/cryptopp562.zip
# unzip cryptopp562.zip
# patch -p1 < ../cryptopp562.patch
# make all:make install

got the error below but it seems ok

mkdir -p /opt/local/include/cryptopp /opt/local/lib /opt/local/bin
cp *.h /opt/local/include/cryptopp
cp *.a /opt/local/lib
cp *.so /opt/local/lib
cp: cannot stat ‘*.so’: No such file or directory
GNUmakefile:151: recipe for target ‘install’ failed
make: [install] Error 1 (ignored)
cp *.exe /opt/local/bin

Finally download, extract, patch, configure, set some environment stuff, and make urbackup

# wget http://downloads.sourceforge.net/project/urbackup/Server/1.4.7/urbackup-server-1.4.7.tar.gz?r=http%3A%2F%2Fwww.urbackup.org%2Fdownload.html&ts=1425496736&use_mirror=iweb
# mv urbackup-server-1.4.7.tar.gz\?r\=http\:%2F%2Fwww.urbackup.org%2Fdownload.html urbackup-server-1.4.7.tar.gz
# tar -xvf urbackup-server-1.4.7.tar.gz
# cd urbackup-server-1.4.7
# patch -p1 < ../urbackup-server-1.4.6.patch
# export LDFLAGS="-lssp -fstack-protector"
# export CFLAGS="-fstack-protector -fPIC"
# ./configure --with-pic ;make all
# ./start_urbackup_server

 

26 find / -name urbackup_srv
27 vi start_urbackup_server
28 cd /usr/var
29 cd ..
30 ls
31 vi urbackup-server-1.4.6.patch
32 vi start_urbackup_server
33 cd urbackup-server-1.4.7
34 ls
35 vi start_urbackup_server
36 ./start_urbackup_server
37 find / -name urbackup_srv
38 vi start_urbackup_server
39 ls
40 find / -name urbackup_srv
41 cd urbackup_srv
42 ls
43 find / -name urbackup_srv
44 cd urbackup_srv
45 vi start_urbackup_server
46 ./start_urbackup_server
47 vi configure
48 .config
49 .configure
50 ./config
51 ./configure
52 make clean
53 make dist-clean
54 ./configure
55 ./configure –with-pic ;make all
56 cd /root/urbackup-server-1.4.7/urbackup_srv
57 ./start_urbackup_server
58 vi start_urbackup_server
59 cd lib
60 vi start_urbackup_server
61 ./start_urbackup_server
62 history

 

wget urbackup-server-1.4.7.tar.gz
or download it from sf.
tar zxvf urbackup-server-1.4..tar.gz

[root@owntest ~/paolo]# cd urbackup-server-1.4.6
[root@owntest ~/paolo/urbackup-server-1.4.6]# patch -p1 < ../urbackup-server-1.4.6.patch
patching file file_common.cpp
patching file file_fstream.cpp
patching file file_linux.cpp
patching file file.h
patching file httpserver/HTTPProxy.cpp
patching file urbackupserver/fileclient/FileClient.cpp
patching file urbackupserver/server_image.cpp

export LDFLAGS=”-lssp -fstack-protector”
export CFLAGS=”-fstack-protector -fPIC”
./configure –with-pic ;make all

 

Download patches
wget https://ssl.webpack.de/forums-static.urbackup.org/uploads/default/357/9c55bab6e62a6cd0.7z
7z e 9c55bab6e62a6cd0.7z
patch -p1 < ../cryptopp562.patch
make all;make install
29 make
30 ls
31 make all
32 cd ..
33 ls
34 rm adhoc.cpp
35 rm 9c55bab6e62a6cd0.7z
36 cd cryptopp562
37 ls
38 vi Readme.txt
39 make
40 pkgin search make
41 pkgin install make
42 pkgin install automake
43 make all;make install
44 pkgin install gmake
45 make all;make install
46 pkgin install gcc47
47 make all;make install
48 make
49 make all
50 make install
51 history

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.