Jump to content
TheHotfix.net is closing! Read more... ×
Sign in to follow this  
Kevin Turcotte

Crashplan on Ubuntu

Recommended Posts

Just installed Ubuntu 12.10, and I'm trying to install Crashplan. I've downloaded it, but can't seem to get it to work. When I click on Install, I get a text file that says:

"Welcome to CrashPlan for Linux!

------------------------------------------------------------------------

To install CrashPlan run the installer in this directory:

./install.sh

and follow the instructions.

To uninstall CrashPlan run the uninstaller in this directory with

the path that you installed CrashPlan to:

./uninstall.sh /usr/local/crashplan

When uninstalling CrashPlan, you will have the option of removing the

application, but preserving the backup data you are storing for others

for use by a future installation of CrashPlan. Please read uninstall

instructions carefully when running the script above."

When I try to open install.sh, I just get anoterh text file that says:

"

# copy the desktop launcher into place

if [ -d "/home/${SRC_USER}/Desktop" ] ; then

DESKTOP_LAUNCHER="/home/${SRC_USER}/Desktop/${APP_BASENAME}.desktop"

# which icon are we using? custom if it exists

DESKTOP_ICON_PATH=${TARGETDIR}/skin/icon_app_128x128.png

if [ -f ${TARGETDIR}/skin/custom/icon_app_64x64.png ] ; then

DESKTOP_ICON_PATH=${TARGETDIR}/skin/custom/icon_app_64x64.png

fi

if [ -f ${TARGETDIR}/skin/custom/icon_app_128x128.png ] ; then

DESKTOP_ICON_PATH=${TARGETDIR}/skin/custom/icon_app_128x128.png

fi

# use 'su' only if we're operating as root

if [ "${USERNAME}" == "root" ] ; then

su ${SRC_USER} -c "cp scripts/${APP_BASENAME}.desktop ${DESKTOP_LAUNCHER}"

su ${SRC_USER} -c "chmod +x ${DESKTOP_LAUNCHER}"

su ${SRC_USER} -c "sed -imod \"s|Exec=.*|Exec=${GUISCRIPT}|\" ${DESKTOP_LAUNCHER} && rm -rf ${DESKTOP_LAUNCHER}mod"

su ${SRC_USER} -c "sed -imod \"s|Icon=.*|Icon=${DESKTOP_ICON_PATH}|\" ${DESKTOP_LAUNCHER} && rm -rf ${DESKTOP_LAUNCHER}mod"

else

cp scripts/${APP_BASENAME}.desktop ${DESKTOP_LAUNCHER}

chmod +x ${DESKTOP_LAUNCHER}

sed -imod "s|Exec=.*|Exec=${GUISCRIPT}|" ${DESKTOP_LAUNCHER} && rm -rf ${DESKTOP_LAUNCHER}mod

sed -imod "s|Icon=.*|Icon=${DESKTOP_ICON_PATH}|" ${DESKTOP_LAUNCHER} && rm -rf ${DESKTOP_LAUNCHER}mod

fi

fi

# Check for max_user_watches and suggest updating if necessary. Many distros use 8192 by default

# so we use this value as a baseline.

INOTIFY_WATCHES=`cat /proc/sys/fs/inotify/max_user_watches`

if [[ $INOTIFY_WATCHES -le 8192 ]]; then

echo ""

echo "Your Linux system is currently configured to watch $INOTIFY_WATCHES files in real time."

echo "We recommend using a larger value; see the CrashPlan support site for details"

echo ""

fi

# Start the servce

${INITSCRIPT} start

# call out the "service has been started" by creating a pause

echo ""

echo "${APP_BASENAME} has been installed and the Service has been started automatically."

echo ""

echo -n "Press Enter to complete installation. "

read ENTER

echo ""

echo "Important directories:"

echo " Installation:"

echo " ${TARGETDIR}"

echo " Logs:"

echo " ${TARGETDIR}/log"

echo " Default archive location:"

echo " ${MANIFESTDIR}"

# if we installed as root make sure they see 'sudo' in front of the Engine start

SUDO_PREFIX="sudo "

if [ "${USERNAME}" != "root" ] ; then

SUDO_PREFIX=""

fi

echo ""

echo "Start Scripts:"

echo " ${SUDO_PREFIX}${INITSCRIPT} start|stop"

echo " ${GUISCRIPT}"

echo ""

echo "You can run the ${APP_BASENAME} Desktop UI locally as your own user or connect"

echo "a remote Desktop UI to this Service via port-forwarding and manage it"

echo "remotely. Instructions for remote management are in the readme files"

echo "placed in your installation directory:"

echo " ${TARGETDIR}/doc"

echo ""

if [ "x${DISPLAY}" != "x" ] ; then

echo -n "Would you like to start ${APP_BASENAME}Desktop? (y/n) [y] "

read reply

if [ "x${reply}" == "x" ] ; then

reply=y

fi

case ${reply} in

[yY] | [yY][eE][sS])

# use 'su' only if we're operating as root

if [ "${USERNAME}" == "root" ] ; then

su ${SRC_USER} -c "${GUISCRIPT}"

else

${GUISCRIPT}

fi

;;

esac

fi

echo ""

echo "To start the Desktop UI:"

if [ "x${BINSDIR}" != "x" ] ; then

echo " ${BINSDIR}/${APP_BASENAME}Desktop"

else

echo " ${GUISCRIPT}"

fi

echo ""

echo "Installation is complete. Thank you for installing ${APP_BASENAME} for Linux."

echo """

There is a large (19.3 MB) file called CrashPlan_3.2.1.cpi However, it seems to think this is a video file. What do I do?

Share this post


Link to post
Share on other sites

You need to open Terminal and navigate to the directory that has ./install.sh in it (Same way you would in windows command prompt)

Once you are there type: sudo ./install.sh

It should ask for your password and then install the program, sometimes you don't need sudo infront so try both ways

Also from what I remember you might be able to just drag ./install.sh into Terminal and then hit enter, if it throws up a permissions error, type sudo then a space before dragging it in (Beem a while since I played with linux much except on the Raspberry Pi)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×