Using cloud storage is a popular choice and creating a personal cloud is now a possibility many of us have.
If you want to create your own cloud storage you can install OwnCloud orĀ NextCloud on a webserver and connect to them usng a web browser or a client application.
I’ll show how to install NextCloud client on a Slackware64 system.
First of all create a directory (ie: /usr/src/nextcloud), go into it and download source files using git:
1 |
git clone https://github.com/nextcloud/client_theming.git |
From now on you can keep updated you local sources copy, build the software and create your Slackware64 packages using the following script:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
DDIR=$( pwd ) PKG=/tmp/nextcloud cd client_theming git pull git submodule update --init --recursive [ ! -e build-linux ] && mkdir build-linux cd build-linux make clean cmake -D OEM_THEME_DIR=$(realpath ../nextcloudtheme) -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib64 ../client make clean make -j2 [ -e $PKG/ ] && rm -rf $PKG/ DESTDIR=$PKG make DESTDIR=$PKG install cd $PKG VER=$( find . -name "libocsync.so.*" -type f | sed -es/^.*\.so\.// ) makepkg -l y -c y /tmp/nextcloud-${VER}-x86_64-1airaghi.txz cd $DDIR |
This script will create the file /tmp/nextcloud-*-x86_64-1airaghi.txz.