![]() NOTE: By default, BackupPC is using root user for backup. Once you copy the key, you should be able to login without being prompted for a password. Now logout from client host and copy the SSH public key to backuppc user on the client. Or more conveniently, create an account on the client dedicated for backup purposes for example, create a backuppc user account on remote client and copy the public key to that user. SHA256:qZUR/Aohas/rqkqp2ME1RHOA7D7vMiBvqXgGxr2RMoc Ĭopy the SSH public to root user on each client from which the BackupPC will collect backup data. Your public key has been saved in /var/lib/backuppc/.ssh/id_rsa.pub. Your identification has been saved in /var/lib/backuppc/.ssh/id_rsa. Generate SSH key pair by running the following command ssh-keygenĮnter file in which to save the key (/var/lib/backuppc/.ssh/id_rsa): ENTERĬreated directory '/var/lib/backuppc/.ssh'.Įnter passphrase (empty for no passphrase): ENTER ![]() You can run bash command to launch bash shell. As a result, switch to backuppc user on BackupPC server and generate passwordless ssh keys and copy them to clients. For rsync to work, BackupPC requires passwordless SSH login for backuppc user to every client it will be getting backup data from. In this tutorial we will be using rsync protocol as a backup method. rsync – used for backing up Linux/Unix/MacOSX systems.tar – used for backing up Linux/Unix/MacOSX systems.smb – used for backing up windows machines.Run the following command to change the password: htpasswd /etc/backuppc/htpasswd backuppcīackupPC uses different methods to get backup data from clients: As a security measure, this password has to be changed. This user is used to administer various tasks such as access the BackupPC web dashboard, carry out backups…A default password is also generated for this user for logging into web interface. See the screenshot below.ĭuring installation, BackupPC will set up an administrative user, backuppc. In our case, we will select option 1 to have Apache2 installed and configured for use with BackupPC. apt install -y backuppcĭuring installation you will be prompted to choose the type of web server to be configured. apt updateīackupPC can be install from Ubuntu repos using the package manager. Install and Configure BackupPC as a Backup Server on Ubuntu 18.04 BackupPC requires no client as it is itself a client for several protocols that are handled by other services native to the client OS. BackupPC is highly configurable, easy to install and maintain. In this guide, we will learn how to install and configure BackupPC as a backup server on Ubuntu 18.04.īackupPC is a free, high-performance enterprise-grade backup software suite with a web-based frontend that can be used for backing up Linux, Windows and Mac OS PCs and laptops to a server’s disk. The timezone is now set in Zoneminder/Options.Last updated on May 12th, 2023 at 03:50 pm Paste the contents of the script into Nanoįollow the prompts. ![]() Press enter to continue" nothingĬopy the contents of the script, open a terminal and run: Open Zoneminder/Options and set the timezone. Read -p "Next we will add the PPA repository, install and configure the system to run Zoneminder.Īpt install -y software-properties-commonĪdd-apt-repository ppa:iconnor/zoneminder-1.36 Press Enter to continue or Ctrl + c to quit" nothing Read -p "This script installs ZoneMinder 1.36.x on Ubuntu 22.04, 20.04 or 18.04 with LAMP (MySQL or Mariadb) installed. I recommend you install mysqltuner and run it from time to time and adjust the database settings as the number of saved events grows. Note: If you have sufficient memory double the values below. However, I recommend you make these changes before installing Zoneminder. The default values for the database are adequate for initial setup. Secure MySQL or Mariadb, create root password et. However, a simple LAMP can be installed with these commands:Īpt install apache2 php mariadb-server php-mysql libapache2-mod-php Google is your friend if you need instructions for setting up a LAMP server. Of course use your timezone in place of America/New_York. Sudo timedatectl set-timezone America/New_York Timezone: it is recommended you set your specific timesone with: As of this edit, 07NOV22, there is a pre-release of 1.36.32 in the proposed PPA but you should use a proposed release for testing only! This will be fixed in the final release of 1.36.32. Note: as of 31OCT22 Ubuntu 22.10 has unmet dependencies and will not install ZM 1.36.31. You will need a Ubuntu 22.04, 20.04 or 18.04 install with LAMP (Apache, MySQL or Mariadb and PHP) installed desktop or server. This will install Zoneminder 1.36.x by using a shell script with one basic command (how easy is that!). Install Zoneminder 1.36.x on Ubuntu 22.04, 20.04 and 18.04 with shell script
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |