Mainos / Advertisement:
Ero sivun ”UrBackup” versioiden välillä
Siirry navigaatioon
Siirry hakuun
(→Linux) |
|||
(4 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
Rivi 45: | Rivi 45: | ||
<pre> | <pre> | ||
− | TF=`mktemp` && wget "https://hndl.urbackup.org/Client/2. | + | TF=`mktemp` && wget "https://hndl.urbackup.org/Client/2.1.16/UrBackup%20Client%20Linux%202.1.16.sh" -O $TF && sh $TF; rm $TF |
+ | </pre> | ||
+ | |||
+ | Varmista minne asennetaan urbackup client | ||
+ | |||
+ | <pre> | ||
+ | Verifying archive integrity... All good. | ||
+ | Uncompressing UrBackup Client Installer for Linux 100% | ||
+ | Installation of UrBackup Client 2.1.16 to /usr/local ... Proceed ? [Y/n] | ||
</pre> | </pre> | ||
Rivi 51: | Rivi 59: | ||
Siirry webbiin jatkamaan konfigurointia http://localhost:55414 | Siirry webbiin jatkamaan konfigurointia http://localhost:55414 | ||
+ | |||
+ | === HTTPS hallinta === | ||
+ | |||
+ | Hallintasivulle https Apache2:n avulla. | ||
+ | |||
+ | Konfiguroi source.list lisäämällä sinne non-free paketit | ||
+ | |||
+ | sudo apt-get update && sudo apt-get install apache2 php5 libapache2-mod-fastcgi | ||
+ | sudo a2enmod ssl | ||
+ | |||
+ | Ubuntu 16.04 ja uudemmat | ||
+ | |||
+ | sudo apt-get update && sudo apt-get install apache2 php7.0 libapache2-mod-fastcgi | ||
+ | sudo a2enmod ssl | ||
+ | |||
+ | Luo symlink | ||
+ | |||
+ | cd /var/www/ | ||
+ | sudo ln -s /usr/share/urbackup/www urbackup | ||
+ | |||
+ | Konfiguroi virtualhost | ||
+ | |||
+ | <pre> | ||
+ | <VirtualHost *:443> | ||
+ | ServerAdmin [email protected] | ||
+ | ServerName backup.example.org | ||
+ | DocumentRoot /var/www/urlbackup | ||
+ | |||
+ | |||
+ | <Directory /> | ||
+ | Options FollowSymLinks | ||
+ | AllowOverride None | ||
+ | </Directory> | ||
+ | <Directory /var/www/urbackup/> | ||
+ | Options +FollowSymLinks +MultiViews -Indexes | ||
+ | AllowOverride All | ||
+ | Order allow,deny | ||
+ | allow from all | ||
+ | Require all granted | ||
+ | </Directory> | ||
+ | |||
+ | FastCgiExternalServer /var/www/urbackup/x -host 127.0.0.1:55413 | ||
+ | |||
+ | SSLEngine on | ||
+ | SSLCertificateFile /etc/ssl/cert.crt | ||
+ | SSLCertificateKeyFile /etc/ssl/privatekey.key | ||
+ | |||
+ | |||
+ | ErrorLog ${APACHE_LOG_DIR}/error.log | ||
+ | LogLevel debug | ||
+ | CustomLog ${APACHE_LOG_DIR}/access.log combined | ||
+ | </VirtualHost> | ||
+ | </pre> |
Nykyinen versio 15. kesäkuuta 2017 kello 07.50
UrBackup on avoimella lähdekoodilla varustettu varmuuskopiointiohjelma työasemille ja palvelimille.
Sisällysluettelo
Palvelimen asennus
Ubuntu
Asennus on helppoa Ubuntulle
sudo add-apt-repository ppa:uroni/urbackup sudo apt update sudo apt install urbackup-server
Anna asennusvaiheessa minne varmuuskopioinnit tallennetaan. Oletuksena /media/BACKUP/urbackup hakemistoon.
Debian ja Ubuntu (x64)
Lataa deb paketti, asenna se dpkg komennolla ja lopuksi asenna vaadittavat paketit
cd /tmp wget https://hndl.urbackup.org/Server/2.0.36/urbackup-server_2.0.36_amd64.deb sudo dpkg -i urbackup-server_2.0.36_amd64.deb sudo apt-get install -f
Debian ja Ubuntu (x86)
Lataa deb paketti, asenna se dpkg komennolla ja lopuksi asenna vaadittavat paketit
cd /tmp wget https://hndl.urbackup.org/Server/2.0.36/debian/stable/urbackup-server_2.0.36_i386.deb sudo dpkg -i urbackup-server_2.0.36_i386.deb sudo apt-get install -f
Asiakkaan asennus
Linux
Lataa ja asenna
TF=`mktemp` && wget "https://hndl.urbackup.org/Client/2.1.16/UrBackup%20Client%20Linux%202.1.16.sh" -O $TF && sh $TF; rm $TF
Varmista minne asennetaan urbackup client
Verifying archive integrity... All good. Uncompressing UrBackup Client Installer for Linux 100% Installation of UrBackup Client 2.1.16 to /usr/local ... Proceed ? [Y/n]
Konfigurointi
Siirry webbiin jatkamaan konfigurointia http://localhost:55414
HTTPS hallinta
Hallintasivulle https Apache2:n avulla.
Konfiguroi source.list lisäämällä sinne non-free paketit
sudo apt-get update && sudo apt-get install apache2 php5 libapache2-mod-fastcgi sudo a2enmod ssl
Ubuntu 16.04 ja uudemmat
sudo apt-get update && sudo apt-get install apache2 php7.0 libapache2-mod-fastcgi sudo a2enmod ssl
Luo symlink
cd /var/www/ sudo ln -s /usr/share/urbackup/www urbackup
Konfiguroi virtualhost
<VirtualHost *:443> ServerAdmin [email protected] ServerName backup.example.org DocumentRoot /var/www/urlbackup <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/urbackup/> Options +FollowSymLinks +MultiViews -Indexes AllowOverride All Order allow,deny allow from all Require all granted </Directory> FastCgiExternalServer /var/www/urbackup/x -host 127.0.0.1:55413 SSLEngine on SSLCertificateFile /etc/ssl/cert.crt SSLCertificateKeyFile /etc/ssl/privatekey.key ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel debug CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost>
Mainos / Advertisement: