![]() ![]() To access the ownCloud with a domain name you need to create a virtual host. The command above will install the ownCloud files in the /var/Create Apache Virtual Host Update the apt cache list and install the ownCloud package with the following command: sudo apt update Once the key is added run the following command to enable the ownCloud repository: echo 'deb /' | sudo tee /etc/apt//owncloud.listīefore installing the ownCloud package we need to enable HTTPS transport for the Debian apt tool by installing the following package: sudo apt install apt-transport-https First, add the ownCloud GPG key to the apt sources keyring: wget -qO- | sudo apt-key add. The ownCLoud 10 package is not available in default Debian 9 repositories so we will install the package from the official ownCloud repositories. It is recommended to replace ‘Password’ with a strong password which will be a combination of letters and numbers and at least 10 characters long. MariaDB > GRANT ALL PRIVILEGES ON owncloud.* TO IDENTIFIED BY 'Password' mysql -u root -p MariaDB > CREATE DATABASE owncloud CHARACTER SET utf8 Next step is to log in to the MariaDB server as ‘root’ user and creates a database and user for ownCloud. If you did not set any password during the installation, you can just leave it blank and press Enter. To secure your installation and to set up the root password execute the following command on your server. When the installation is complete, run the following commands to start and enable the MariaDB service : sudo systemctl start mariadb We can Install MariaDB server from Debian base repository using the following command: sudo apt update In this tutorial, we will use MariaDB as a database engine. Php7.0-sqlite3 php7.0-xml php7.0-zip php-redis php-apcu 4. Php7.0-mysql php7.0-pgsql php-smbclient php-ssh2 \ Openssl php-imagick php7.0-curl php7.0-gd php7.0-mcrypt \ Install PHP together with some PHP modules that are required by ownCloud with the following command: sudo apt install php7.0 php7.0-common libapache2-mod-php7.0 \ Once installed, start the Apache server and enable it to start at server boot. In case you already have an Apache web server on your system then you can skip these steps. The following command will help you in that matter: dpkg -l apache2 Install Apache web serverĬheck whether Apache is already installed and running on your server. Once logged in, make sure that your server is up-to-date by running the following commands: apt-get updateĪpt-get upgrade 2. To connect to your server via SSH as user root, use the following command: ssh -p PORT_NUMBERĪnd replace “IP_ADDRESS” and “PORT_NUMBER” with your actual server IP address and SSH port number.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |