added urbackup and some todos
This commit is contained in:
@@ -130,6 +130,11 @@ echo -e "\033[35;1mInstalling Redis \033[0m"
|
||||
sleep 3
|
||||
apt-get --yes --force-yes install redis-server php-redis
|
||||
|
||||
# TODO set maxmemory=2gb
|
||||
# TODO set maxmemory-policy=volatile-lru
|
||||
# TODO comment all save line
|
||||
|
||||
|
||||
systemctl enable redis-server
|
||||
systemctl restart redis-server
|
||||
echo -e "\033[92;1mRedis installed\033[Om"
|
||||
|
@@ -20,6 +20,6 @@ sed -i "s/^# en_GB.UTF-8/en_GB.UTF-8/g" /etc/locale.gen
|
||||
locale-gen
|
||||
apt-get --yes --force-yes install ntp
|
||||
dpkg-reconfigure tzdata
|
||||
apt-get --yes --force-yes install etckeeper needrestart
|
||||
apt-get --yes --force-yes install tmux etckeeper needrestart
|
||||
|
||||
echo -e "\033[92;1mMisc done \033[Om"
|
||||
|
@@ -38,12 +38,12 @@ apt install build-essential "g++" "libcrypto++-dev" libz-dev -y
|
||||
# libwxgtk3.0-dev
|
||||
|
||||
# Download the UrBackup client source files and extract them
|
||||
wget -P /tmp/ https://hndl.urbackup.org/Client/latest/urbackup-client-2.2.5.tar.gz
|
||||
wget -P /tmp/ https://hndl.urbackup.org/Client/latest/urbackup-client-2.2.6.tar.gz
|
||||
cd /tmp
|
||||
tar xzf /tmp/urbackup-client-2.2.5.tar.gz
|
||||
tar xzf /tmp/urbackup-client-2.2.6.tar.gz
|
||||
|
||||
# Build the UrBackup client and install it
|
||||
cd /tmp/urbackup-client-2.2.5.0
|
||||
cd /tmp/urbackup-client-2.2.6.0
|
||||
./configure --enable-headless
|
||||
make -j4
|
||||
make install
|
||||
|
Reference in New Issue
Block a user