From be4c1db220687a7b8180b69db1e73540f3639cae Mon Sep 17 00:00:00 2001 From: Matthew Evan <55710660+MattMadness@users.noreply.github.com> Date: Wed, 30 Jun 2021 13:20:20 -0400 Subject: Uploaded nextcloud.html and updated index.html. Added my entries for the instructions for how to install a Nextcloud instance. --- nextcloud.html | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 nextcloud.html (limited to 'nextcloud.html') diff --git a/nextcloud.html b/nextcloud.html new file mode 100644 index 0000000..791e0dc --- /dev/null +++ b/nextcloud.html @@ -0,0 +1,86 @@ + + + + Setting up a Nextcloud Instance – LandChad.net + + + + + + + +

Setting up a Nextcloud Instance

+ +
+ +

What is Nextcloud?

+

Nextcloud is a free and open source solution for cloud storage. However it can also do other things, such as manage your email, notes, calender, tasks, and can even connect to the Fediverse (think Mastodon and Pleroma). Pretty much every service that Google has to offer has a much better alternative as a Nextcloud app and this is a must-have for anyone wanting to get away from Google services but still wants a traditional cloud experience (in the likes of Google Services, anyways).

+ +

Prerequisites

+

You first need a VPS running Debian 10. Although you can use a server running any other operating system or one of your personal machines, this is what this guide will be oriented towards and you should make the necessary changes to your procedure depending on your setup. Whatever you do, do not forget to provide yourself enough storage space to fit all of the stuff you might want to store on your Nextcloud instance. To learn how to set up a VPS running Debian 10, click here.

+

Also, you should have your NGINX server ready and running. For this, you can follow this guide.

+ +

Instructions

+

First, we need to obtain a shell prompt by ssh-ing (remote machines or local machines) or just logging in (local machines). A traditional ssh might look like this if your username was luke and the domain you wished to ssh into is landchad.net:

+ $ ssh luke@landchad.net +

We should upgrade the system and then install packages that we might need. Run the following command:

+ $ sudo apt-get full-upgrade -y && sudo apt-get install mariadb-server php-mysql php php-gd php-mbstring php-dom php-curl php-zip php-simplexml php-xml -y +

Next, we need to set up our SQL database by running a Secure Installation and creating the tables that will store data that Nextcloud will need. Run the following command:

+ $ sudo mysql_secure_installation +

When it asks for root a password, say yes and input a new and secure password. The root password here is just for the SQL database, not for the GNU/Linux system.

+

Answer the rest of the questions as follows:

+ Remove anonymous users? [Y/n]: Y
+ Disallow root login remotely? [Y/n]: Y
+ Remove test database and access to it? [Y/n]: Y
+ Reload privilege tables now? [Y/n]: Y
+

Next, sign into the SQL database with the new and secure password you chose before. Run the following command:

+ $ sudo -u root -p +

We need to create a database for Nextcloud. Follow the instructions below and change some of the placeholders as you wish:

+ MariaDB> CREATE DATABASE nextcloud;
+ MariaDB> GRANT ALL ON nextcloud.* TO '[INSERT ANY USERNAME HERE]'@'localhost' IDENTIFIED BY '[INSERT STRONG PASSWORD HERE]';
+ MariaDB> FLUSH PRIVILEGES;
+ MariaDB> EXIT;
+

Start and enable the php-fpm and the mariadb services:

+ $ sudo systemctl enable php-fpm && sudo systemctl start php-fpm && sudo systemctl enable mariadb && sudo systemctl start mariadb +

Next, we need to download the latest release tarball of Nextcloud. Go to https://nextcloud.com/install/#instructions-server and copy the URL of the the .tar.bz2 tarball from the More Downloads dropdown menu then go to your server's shell prompt and download the tarball with wget. Here is an example:

+ $ wget https://download.nextcloud.com/server/releases/nextcloud-21.0.2.tar.bz2 +

If you already have your LandChad property set up (your web site) we can simply extract the tarball there so we don't have to do any messing around with Nginx at the moment. You may wish to have a subdomain instead, but that is out of the scope of this tutorial. Run the following command:

+ $ sudo tar -xjf nextcloud*.tar.bz2 -C /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED] +

Let's correct the ownership and permissions of those files. Run the following commands:

+ $ sudo chown -R www-data:www-data /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
+ $ sudo chmod -R 755 /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
+

Now we need to head to Nextcloud's web interface. Go to your web browser and go to your website, but go to the subdirectory "nextcloud" instead. For example, if your domain is landchad.net and you have set up HTTPS then go to https://landchad.net/nextcloud. This will launch the configuration wizard.

+ +
  • Choose an admin username and secure password. +
  • Leave Data folder at the default value unless it is incorrect. +
  • For Database user, enter the user you set for the SQL database. +
  • For Database password, enter the password you chose for the new user in MariaDB. +
  • For Database name, enter: nextcloud +
  • Leave "localhost" as "localhost". +
  • Click Finish + +

    Congratulations, you have set up your own Nextcloud instance.

    + +

    What's Next?

    +

    Now you may be wondering: What do I do now? Here are some suggestions:

    + +
  • Rice your Nextcloud instance by changing your themeing and installing new themes and plugins in Settings in the Nextcloud Web Interface. +
  • Install the Nextcloud Client on your personal computer and sync your files to your instance. +
  • Install the Nextcloud App on your mobile device and sync your files to your instance. +
  • Set up your email account on the Nextcloud Mail app on the web interface to view and sync your email there (just like Gmail). +
  • Schedule events with Nextcloud Calender. +
  • Write notes in Markdown inside the Nextcloud Notes web and mobile app. +
  • Set the Nextcloud Dashboard as your web browser's homepage (it is pretty nice). + +

    Enjoy your cloud services in freedom.

    + +
    + +

    Written by Matthew "Madness" Evan

    + + + +
  • + + + -- cgit v1.2.3 From 54f038a80b6c0f8eba97ef8cbe767890d2c89f9e Mon Sep 17 00:00:00 2001 From: Matthew Evan <55710660+MattMadness@users.noreply.github.com> Date: Wed, 30 Jun 2021 14:32:00 -0400 Subject: Updated nextcloud.html Updated nextcloud.html with Luke Smith's specifications. --- nextcloud.html | 141 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 75 insertions(+), 66 deletions(-) (limited to 'nextcloud.html') diff --git a/nextcloud.html b/nextcloud.html index 791e0dc..9ba13e5 100644 --- a/nextcloud.html +++ b/nextcloud.html @@ -6,79 +6,88 @@ - +

    Setting up a Nextcloud Instance

    -

    What is Nextcloud?

    -

    Nextcloud is a free and open source solution for cloud storage. However it can also do other things, such as manage your email, notes, calender, tasks, and can even connect to the Fediverse (think Mastodon and Pleroma). Pretty much every service that Google has to offer has a much better alternative as a Nextcloud app and this is a must-have for anyone wanting to get away from Google services but still wants a traditional cloud experience (in the likes of Google Services, anyways).

    +

    What is Nextcloud?

    +

    Nextcloud is a free and open source solution for cloud storage. However it can also do other things, such as manage your email, notes, calender, tasks, and can even connect to the Fediverse (think Mastodon and Pleroma). Pretty much every service that Google has to offer has a much better alternative as a Nextcloud app and this is a must-have for anyone wanting to get away from Google services but still wants a traditional cloud experience (in the likes of Google Services, anyways).

    -

    Prerequisites

    -

    You first need a VPS running Debian 10. Although you can use a server running any other operating system or one of your personal machines, this is what this guide will be oriented towards and you should make the necessary changes to your procedure depending on your setup. Whatever you do, do not forget to provide yourself enough storage space to fit all of the stuff you might want to store on your Nextcloud instance. To learn how to set up a VPS running Debian 10, click here.

    -

    Also, you should have your NGINX server ready and running. For this, you can follow this guide.

    - -

    Instructions

    -

    First, we need to obtain a shell prompt by ssh-ing (remote machines or local machines) or just logging in (local machines). A traditional ssh might look like this if your username was luke and the domain you wished to ssh into is landchad.net:

    - $ ssh luke@landchad.net -

    We should upgrade the system and then install packages that we might need. Run the following command:

    - $ sudo apt-get full-upgrade -y && sudo apt-get install mariadb-server php-mysql php php-gd php-mbstring php-dom php-curl php-zip php-simplexml php-xml -y -

    Next, we need to set up our SQL database by running a Secure Installation and creating the tables that will store data that Nextcloud will need. Run the following command:

    - $ sudo mysql_secure_installation -

    When it asks for root a password, say yes and input a new and secure password. The root password here is just for the SQL database, not for the GNU/Linux system.

    -

    Answer the rest of the questions as follows:

    - Remove anonymous users? [Y/n]: Y
    - Disallow root login remotely? [Y/n]: Y
    - Remove test database and access to it? [Y/n]: Y
    - Reload privilege tables now? [Y/n]: Y
    -

    Next, sign into the SQL database with the new and secure password you chose before. Run the following command:

    - $ sudo -u root -p -

    We need to create a database for Nextcloud. Follow the instructions below and change some of the placeholders as you wish:

    - MariaDB> CREATE DATABASE nextcloud;
    - MariaDB> GRANT ALL ON nextcloud.* TO '[INSERT ANY USERNAME HERE]'@'localhost' IDENTIFIED BY '[INSERT STRONG PASSWORD HERE]';
    - MariaDB> FLUSH PRIVILEGES;
    - MariaDB> EXIT;
    -

    Start and enable the php-fpm and the mariadb services:

    - $ sudo systemctl enable php-fpm && sudo systemctl start php-fpm && sudo systemctl enable mariadb && sudo systemctl start mariadb -

    Next, we need to download the latest release tarball of Nextcloud. Go to https://nextcloud.com/install/#instructions-server and copy the URL of the the .tar.bz2 tarball from the More Downloads dropdown menu then go to your server's shell prompt and download the tarball with wget. Here is an example:

    - $ wget https://download.nextcloud.com/server/releases/nextcloud-21.0.2.tar.bz2 -

    If you already have your LandChad property set up (your web site) we can simply extract the tarball there so we don't have to do any messing around with Nginx at the moment. You may wish to have a subdomain instead, but that is out of the scope of this tutorial. Run the following command:

    - $ sudo tar -xjf nextcloud*.tar.bz2 -C /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED] -

    Let's correct the ownership and permissions of those files. Run the following commands:

    - $ sudo chown -R www-data:www-data /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
    - $ sudo chmod -R 755 /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
    -

    Now we need to head to Nextcloud's web interface. Go to your web browser and go to your website, but go to the subdirectory "nextcloud" instead. For example, if your domain is landchad.net and you have set up HTTPS then go to https://landchad.net/nextcloud. This will launch the configuration wizard.

    - -
  • Choose an admin username and secure password. -
  • Leave Data folder at the default value unless it is incorrect. -
  • For Database user, enter the user you set for the SQL database. -
  • For Database password, enter the password you chose for the new user in MariaDB. -
  • For Database name, enter: nextcloud -
  • Leave "localhost" as "localhost". -
  • Click Finish - -

    Congratulations, you have set up your own Nextcloud instance.

    - -

    What's Next?

    -

    Now you may be wondering: What do I do now? Here are some suggestions:

    - -
  • Rice your Nextcloud instance by changing your themeing and installing new themes and plugins in Settings in the Nextcloud Web Interface. -
  • Install the Nextcloud Client on your personal computer and sync your files to your instance. -
  • Install the Nextcloud App on your mobile device and sync your files to your instance. -
  • Set up your email account on the Nextcloud Mail app on the web interface to view and sync your email there (just like Gmail). -
  • Schedule events with Nextcloud Calender. -
  • Write notes in Markdown inside the Nextcloud Notes web and mobile app. -
  • Set the Nextcloud Dashboard as your web browser's homepage (it is pretty nice). - -

    Enjoy your cloud services in freedom.

    - -
    - -

    Written by Matthew "Madness" Evan

    - - +

    Prerequisites

    +

    You first need a VPS running Debian 10. Although you can use a server running any other operating system or one of your personal machines, this is what this guide will be oriented towards and you should make the necessary changes to your procedure depending on your setup. Whatever you do, do not forget to provide yourself enough storage space to fit all of the stuff you might want to store on your Nextcloud instance. To learn how to set up a VPS running Debian 10, click here.

    +

    Also, you should have your NGINX server ready and running. For this, you can follow this guide.

    + +

    Instructions

    +

    First, we need to obtain a shell prompt by ssh-ing (remote machines or local machines) or just logging in (local machines). A traditional ssh might look like this if your username was luke and the domain you wished to ssh into is landchad.net:

    + $ ssh root@landchad.net +

    We should upgrade the system and then install packages that we might need. Run the following command:

    + # apt-get full-upgrade -y && sudo apt-get install mariadb-server php-mysql php php-gd php-mbstring php-dom php-curl php-zip php-simplexml php-xml -y +

    Next, we need to set up our SQL database by running a Secure Installation and creating the tables that will store data that Nextcloud will need. Run the following command:

    + # mysql_secure_installation +

    When it asks for root a password, say yes and input a new and secure password. The root password here is just for the SQL database, not for the GNU/Linux system.

    +

    Answer the rest of the questions as follows:

    +
    +        Remove anonymous users? [Y/n]: Y
    +        Disallow root login remotely? [Y/n]: Y
    +        Remove test database and access to it? [Y/n]: Y
    +        Reload privilege tables now? [Y/n]: Y
    +        
    +

    Next, sign into the SQL database with the new and secure password you chose before. Run the following command:

    + # mysql -u root -p +

    We need to create a database for Nextcloud. Follow the instructions below and change some of the placeholders as you wish:

    + MariaDB> CREATE DATABASE nextcloud;
    + MariaDB> GRANT ALL ON nextcloud.* TO '[INSERT ANY USERNAME HERE]'@'localhost' IDENTIFIED BY '[INSERT STRONG PASSWORD HERE]';
    + MariaDB> FLUSH PRIVILEGES;
    + MariaDB> EXIT;
    +

    Start and enable the php-fpm and the mariadb services:

    + # systemctl enable php-fpm && systemctl start php-fpm && systemctl enable mariadb && systemctl start mariadb +

    Next, we need to download the latest release tarball of Nextcloud. Go to https://nextcloud.com/install/#instructions-server and copy the URL of the the .tar.bz2 tarball from the More Downloads dropdown menu then go to your server's shell prompt and download the tarball with wget. Here is an example:

    + # wget https://download.nextcloud.com/server/releases/nextcloud-21.0.2.tar.bz2 +

    If you already have your LandChad property set up (your web site) we can simply extract the tarball there so we don't have to do any messing around with Nginx at the moment. You may wish to have a subdomain instead, but that is out of the scope of this tutorial. Run the following command:

    + # tar -xjf nextcloud*.tar.bz2 -C /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED] +

    If you have multiple Nextcloud tarballs in the current working directory you might want to manually specify which one you wish to extract.

    +

    Let's correct the ownership and permissions of those files. Run the following commands after you fill in the placeholders:

    +
    +        # chown -R www-data:www-data /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
    +        # chmod -R 755 /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
    +        
    +

    Now we need to head to Nextcloud's web interface. Go to your web browser and go to your website, but go to the subdirectory "nextcloud" instead. For example, if your domain is landchad.net and you have set up HTTPS then go to https://landchad.net/nextcloud. This will launch the configuration wizard.

    + + + +

    Congratulations, you have set up your own Nextcloud instance.

    + +

    What's Next?

    +

    Now you may be wondering: What do I do now? Here are some suggestions:

    + + + +

    Enjoy your cloud services in freedom.

    + +
    + +

    Written by Matthew "Madness" Evan

    + +
  • -- cgit v1.2.3 From db2056ffaff062696275669325c046ca712e54ee Mon Sep 17 00:00:00 2001 From: Matthew Evan <55710660+MattMadness@users.noreply.github.com> Date: Wed, 30 Jun 2021 14:34:37 -0400 Subject: Updated nextcloud.html Changed luke to root --- nextcloud.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nextcloud.html') diff --git a/nextcloud.html b/nextcloud.html index 9ba13e5..0fc3af0 100644 --- a/nextcloud.html +++ b/nextcloud.html @@ -21,7 +21,7 @@

    Also, you should have your NGINX server ready and running. For this, you can follow this guide.

    Instructions

    -

    First, we need to obtain a shell prompt by ssh-ing (remote machines or local machines) or just logging in (local machines). A traditional ssh might look like this if your username was luke and the domain you wished to ssh into is landchad.net:

    +

    First, we need to obtain a shell prompt by ssh-ing (remote machines or local machines) or just logging in (local machines). A traditional ssh might look like this if the domain you wished to ssh into is landchad.net:

    $ ssh root@landchad.net

    We should upgrade the system and then install packages that we might need. Run the following command:

    # apt-get full-upgrade -y && sudo apt-get install mariadb-server php-mysql php php-gd php-mbstring php-dom php-curl php-zip php-simplexml php-xml -y -- cgit v1.2.3 From 0ec88713f149ed5cac65f8e181eb241b5225e748 Mon Sep 17 00:00:00 2001 From: Matthew Evan <55710660+MattMadness@users.noreply.github.com> Date: Wed, 30 Jun 2021 14:42:55 -0400 Subject: Updated nextcloud.html Fixed indention issue. --- nextcloud.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'nextcloud.html') diff --git a/nextcloud.html b/nextcloud.html index 0fc3af0..66f6814 100644 --- a/nextcloud.html +++ b/nextcloud.html @@ -29,11 +29,10 @@ # mysql_secure_installation

    When it asks for root a password, say yes and input a new and secure password. The root password here is just for the SQL database, not for the GNU/Linux system.

    Answer the rest of the questions as follows:

    -
    -        Remove anonymous users? [Y/n]: Y
    -        Disallow root login remotely? [Y/n]: Y
    -        Remove test database and access to it? [Y/n]: Y
    -        Reload privilege tables now? [Y/n]: Y
    +        
    Remove anonymous users? [Y/n]: Y
    +Disallow root login remotely? [Y/n]: Y
    +Remove test database and access to it? [Y/n]: Y
    +Reload privilege tables now? [Y/n]: Y
             

    Next, sign into the SQL database with the new and secure password you chose before. Run the following command:

    # mysql -u root -p @@ -50,9 +49,8 @@ # tar -xjf nextcloud*.tar.bz2 -C /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]

    If you have multiple Nextcloud tarballs in the current working directory you might want to manually specify which one you wish to extract.

    Let's correct the ownership and permissions of those files. Run the following commands after you fill in the placeholders:

    -
    -        # chown -R www-data:www-data /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
    -        # chmod -R 755 /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
    +        
    # chown -R www-data:www-data /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
    +# chmod -R 755 /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
             

    Now we need to head to Nextcloud's web interface. Go to your web browser and go to your website, but go to the subdirectory "nextcloud" instead. For example, if your domain is landchad.net and you have set up HTTPS then go to https://landchad.net/nextcloud. This will launch the configuration wizard.

    -- cgit v1.2.3 From f29f26833eea937f234eb3036efaac110868f0f9 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 30 Jun 2021 16:02:27 -0400 Subject: revisions. to test later --- nextcloud.html | 51 +++++++++++++++++++++++++-------------------------- style.css | 2 ++ 2 files changed, 27 insertions(+), 26 deletions(-) (limited to 'nextcloud.html') diff --git a/nextcloud.html b/nextcloud.html index 66f6814..2eb8fd4 100644 --- a/nextcloud.html +++ b/nextcloud.html @@ -16,17 +16,13 @@

    What is Nextcloud?

    Nextcloud is a free and open source solution for cloud storage. However it can also do other things, such as manage your email, notes, calender, tasks, and can even connect to the Fediverse (think Mastodon and Pleroma). Pretty much every service that Google has to offer has a much better alternative as a Nextcloud app and this is a must-have for anyone wanting to get away from Google services but still wants a traditional cloud experience (in the likes of Google Services, anyways).

    -

    Prerequisites

    -

    You first need a VPS running Debian 10. Although you can use a server running any other operating system or one of your personal machines, this is what this guide will be oriented towards and you should make the necessary changes to your procedure depending on your setup. Whatever you do, do not forget to provide yourself enough storage space to fit all of the stuff you might want to store on your Nextcloud instance. To learn how to set up a VPS running Debian 10, click here.

    -

    Also, you should have your NGINX server ready and running. For this, you can follow this guide.

    -

    Instructions

    First, we need to obtain a shell prompt by ssh-ing (remote machines or local machines) or just logging in (local machines). A traditional ssh might look like this if the domain you wished to ssh into is landchad.net:

    - $ ssh root@landchad.net -

    We should upgrade the system and then install packages that we might need. Run the following command:

    - # apt-get full-upgrade -y && sudo apt-get install mariadb-server php-mysql php php-gd php-mbstring php-dom php-curl php-zip php-simplexml php-xml -y +
    ssh root@landchad.net
    +

    We should upgrade the system and then install packages that we might need. Run the following command:

    +
    apt-get full-upgrade -y && sudo apt-get install mariadb-server php-mysql php php-gd php-mbstring php-dom php-curl php-zip php-simplexml php-xml -y

    Next, we need to set up our SQL database by running a Secure Installation and creating the tables that will store data that Nextcloud will need. Run the following command:

    - # mysql_secure_installation +
    mysql_secure_installation

    When it asks for root a password, say yes and input a new and secure password. The root password here is just for the SQL database, not for the GNU/Linux system.

    Answer the rest of the questions as follows:

    Remove anonymous users? [Y/n]: Y
    @@ -35,25 +31,28 @@ Remove test database and access to it? [Y/n]: Y
     Reload privilege tables now? [Y/n]: Y
             

    Next, sign into the SQL database with the new and secure password you chose before. Run the following command:

    - # mysql -u root -p +
    mysql -u root -p

    We need to create a database for Nextcloud. Follow the instructions below and change some of the placeholders as you wish:

    - MariaDB> CREATE DATABASE nextcloud;
    - MariaDB> GRANT ALL ON nextcloud.* TO '[INSERT ANY USERNAME HERE]'@'localhost' IDENTIFIED BY '[INSERT STRONG PASSWORD HERE]';
    - MariaDB> FLUSH PRIVILEGES;
    - MariaDB> EXIT;
    +
    CREATE DATABASE nextcloud;
    +GRANT ALL ON nextcloud.* TO 'username'@'localhost' IDENTIFIED BY 'password';
    +FLUSH PRIVILEGES;
    +EXIT;

    Start and enable the php-fpm and the mariadb services:

    - # systemctl enable php-fpm && systemctl start php-fpm && systemctl enable mariadb && systemctl start mariadb +
    systemctl enable php-fpm
    +systemctl start php-fpm
    +systemctl enable mariadb
    +systemctl start mariadb

    Next, we need to download the latest release tarball of Nextcloud. Go to https://nextcloud.com/install/#instructions-server and copy the URL of the the .tar.bz2 tarball from the More Downloads dropdown menu then go to your server's shell prompt and download the tarball with wget. Here is an example:

    - # wget https://download.nextcloud.com/server/releases/nextcloud-21.0.2.tar.bz2 +
    wget https://download.nextcloud.com/server/releases/nextcloud-21.0.2.tar.bz2

    If you already have your LandChad property set up (your web site) we can simply extract the tarball there so we don't have to do any messing around with Nginx at the moment. You may wish to have a subdomain instead, but that is out of the scope of this tutorial. Run the following command:

    - # tar -xjf nextcloud*.tar.bz2 -C /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED] +
    tar -xjf nextcloud*.tar.bz2 -C /var/www/yourwebsitedirectory

    If you have multiple Nextcloud tarballs in the current working directory you might want to manually specify which one you wish to extract.

    Let's correct the ownership and permissions of those files. Run the following commands after you fill in the placeholders:

    -
    # chown -R www-data:www-data /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
    -# chmod -R 755 /var/www/html/[WHERE EVER YOUR WEBSITE IS STORED]/nextcloud
    +        
    chown -R www-data:www-data /var/www/yourwebsitedirectory/nextcloud
    +chmod -R 755 /var/www/yourwebsitedirectory/nextcloud
             

    Now we need to head to Nextcloud's web interface. Go to your web browser and go to your website, but go to the subdirectory "nextcloud" instead. For example, if your domain is landchad.net and you have set up HTTPS then go to https://landchad.net/nextcloud. This will launch the configuration wizard.

    - +
    • Choose an admin username and secure password.
    • Leave Data folder at the default value unless it is incorrect. @@ -63,12 +62,12 @@ Reload privilege tables now? [Y/n]: Y
    • Leave "localhost" as "localhost".
    • Click Finish
    - +

    Congratulations, you have set up your own Nextcloud instance.

    - +

    What's Next?

    Now you may be wondering: What do I do now? Here are some suggestions:

    - +
    • Rice your Nextcloud instance by changing your themeing and installing new themes and plugins in Settings in the Nextcloud Web Interface.
    • Install the Nextcloud Client on your personal computer and sync your files to your instance. @@ -78,13 +77,13 @@ Reload privilege tables now? [Y/n]: Y
    • Write notes in Markdown inside the Nextcloud Notes web and mobile app.
    • Set the Nextcloud Dashboard as your web browser's homepage (it is pretty nice).
    - +

    Enjoy your cloud services in freedom.

    - +
    - +

    Written by Matthew "Madness" Evan

    - + diff --git a/style.css b/style.css index b351dc4..1b6a37a 100644 --- a/style.css +++ b/style.css @@ -64,6 +64,8 @@ pre { margin: auto ; } +.wide { max-width: inherit ; } + p img, li img, h1 img, h2 img, h3 img, h4 img { vertical-align: middle ; max-width: 1em; -- cgit v1.2.3