[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fVbwVi1b_Nia-ySYCqMUMlcDphcizbtPREYzFFTJrUcE":3},[4,13,18,23,29,34],{"id":5,"title":6,"content":7,"keywords":8,"category":9,"image":10,"date":11,"totalPages":12},187,"The-Ultimate-Guide-to-Installing-Grocy-on-Ubuntu-Server-22.04","\u003Cp>Are you tired of losing track of your groceries or household items? Looking for a self-hosted solution to manage your home inventory? Look no further! In this comprehensive guide, we&#39;ll walk you through the process of installing Grocy, an open-source home management solution, on Ubuntu Server 22.04 using CloudBlast&#39;s powerful VPS hosting.\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>What is Grocy and Why Should You Care?\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Grocy is a web-based, self-hosted powerhouse for managing your home. From tracking groceries to monitoring household tasks, Grocy brings organization to your fingertips. By hosting it on your own Ubuntu server, you maintain complete control over your data while enjoying the benefits of a robust management system.\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Prerequisites: Setting the Stage for Success\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Before we dive in, ensure your CloudBlast VPS is equipped with:\u003C\u002Fp>\r\n\r\n\u003Cp>- Ubuntu Server 22.04 LTS\u003Cbr \u002F>\r\n- Root access or a user with sudo privileges\u003Cbr \u002F>\r\n- A basic understanding of command-line operations\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Step-by-Step Installation Guide\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>1. Update Your System: Fresh Start, Best Start\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Begin by updating your system packages:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo apt update &amp;&amp; sudo apt upgrade -y\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>2. Install the LAMP Stack: Your Grocy Foundation\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Grocy thrives on a LAMP (Linux, Apache, MySQL, PHP) environment. Let&#39;s set it up:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cstrong>Install Apache:\u003C\u002Fstrong>\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nsudo apt install apache2 -y\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cstrong>Install MySQL:\u003C\u002Fstrong>\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nsudo apt install mysql-server -y\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Install PHP and Required Extensions:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nsudo apt install php libapache2-mod-php php-mysql php-gd php-curl php-mbstring php-xml php-zip -y\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>3. Secure Your MySQL Installation\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Run the MySQL secure installation script:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nsudo mysql_secure_installation\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nFollow the prompts to set a root password and secure your MySQL installation.\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>4. Create a Database for Grocy\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Log into MySQL:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nsudo mysql -u root -p\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Create a database and user for Grocy:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nCREATE DATABASE grocydb;\u003Cbr \u002F>\r\nCREATE USER &#39;grocyuser&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;your_secure_password&#39;;\u003Cbr \u002F>\r\nGRANT ALL PRIVILEGES ON grocydb.* TO &#39;grocyuser&#39;@&#39;localhost&#39;;\u003Cbr \u002F>\r\nFLUSH PRIVILEGES;\u003Cbr \u002F>\r\nEXIT;\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>5. Install Grocy: The Main Event\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Download and extract the latest Grocy release:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\ncd \u002Fvar\u002Fwww\u003Cbr \u002F>\r\nsudo wget https:\u002F\u002Freleases.grocy.info\u002Flatest -O grocy-latest.zip\u003Cbr \u002F>\r\nsudo unzip grocy-latest.zip\u003Cbr \u002F>\r\nsudo mv grocy-* grocy\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Set proper permissions:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nsudo chown -R www-data:www-data \u002Fvar\u002Fwww\u002Fgrocy\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>6. Configure Grocy: Tailoring to Your Needs\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Copy the sample configuration:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nsudo cp \u002Fvar\u002Fwww\u002Fgrocy\u002Fconfig-dist.php \u002Fvar\u002Fwww\u002Fgrocy\u002Fdata\u002Fconfig.php\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Edit the configuration file:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nsudo nano \u002Fvar\u002Fwww\u002Fgrocy\u002Fdata\u002Fconfig.php\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Update the database settings:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\n&#39;DB_DATABASE&#39; =&gt; &#39;grocydb&#39;,\u003Cbr \u002F>\r\n&#39;DB_USER&#39; =&gt; &#39;grocyuser&#39;,\u003Cbr \u002F>\r\n&#39;DB_PASSWORD&#39; =&gt; &#39;your_secure_password&#39;,\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>7. Set Up Apache Virtual Host: Your Grocy Gateway\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Create a new Apache configuration file:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nsudo nano \u002Fetc\u002Fapache2\u002Fsites-available\u002Fgrocy.conf\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Add the following content:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\n&lt;VirtualHost *:80&gt;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; ServerName yourdomain.com\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; DocumentRoot \u002Fvar\u002Fwww\u002Fgrocy\u002Fpublic\u003C\u002Fp>\r\n\r\n\u003Cp>&nbsp;&nbsp;&nbsp; &lt;Directory \u002Fvar\u002Fwww\u002Fgrocy\u002Fpublic&gt;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes FollowSymLinks\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride All\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Require all granted\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; &lt;\u002FDirectory&gt;\u003C\u002Fp>\r\n\r\n\u003Cp>&nbsp;&nbsp;&nbsp; ErrorLog ${APACHE_LOG_DIR}\u002Fgrocy_error.log\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; CustomLog ${APACHE_LOG_DIR}\u002Fgrocy_access.log combined\u003Cbr \u002F>\r\n&lt;\u002FVirtualHost&gt;\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Enable the new site and restart Apache:\u003Cbr \u002F>\r\n\u003Cbr \u002F>\r\nsudo a2ensite grocy.conf\u003Cbr \u002F>\r\nsudo systemctl restart apache2\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Accessing Your Grocy Installation\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>You&#39;ve done it! Access your new Grocy installation by navigating to `http:\u002F\u002Fyourdomain.com` in your web browser. If you&#39;re using CloudBlast&#39;s VPS without a domain, use your server&#39;s IP address instead.\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Conclusion: Embrace the Power of Home Management\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Congratulations! You&#39;ve successfully installed Grocy on your Ubuntu Server 22.04 hosted on CloudBlast&#39;s VPS. You&#39;re now equipped with a powerful tool to streamline your home management tasks.\u003C\u002Fp>\r\n\r\n\u003Cp>Remember, this is just the beginning. Explore Grocy&#39;s features, customize it to your needs, and take control of your home inventory like never before.\u003C\u002Fp>\r\n\r\n\u003Cp>Need help optimizing your Grocy installation or looking for more self-hosted solutions? CloudBlast&#39;s support team is always here to help you make the most of your VPS hosting experience.\u003C\u002Fp>\r\n\r\n\u003Cp>Happy organizing!\u003C\u002Fp>\r\n","","tutorials","https:\u002F\u002Fcdn.cloudblast.io\u002Fuploads\u002Ffee018c979a7c400.png","2024-08-28",35,{"id":14,"title":15,"content":16,"keywords":8,"category":9,"image":17,"date":11,"totalPages":12},188,"How-to-Install-Docmost:-Your-Ultimate-Document-Management-Solution","\u003Cp>Are you looking for a powerful, open-source document management system? Look no further! In this comprehensive guide, we&#39;ll walk you through the process of installing Docmost on your CloudBlast VPS. Docmost offers a robust solution for organizing, sharing, and collaborating on your documents. Let&#39;s dive in and get your document management system up and running!\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Prerequisites\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Before we begin, ensure you have:\u003C\u002Fp>\r\n\r\n\u003Cp>1. A CloudBlast VPS running a recent version of Ubuntu or Debian\u003Cbr \u002F>\r\n2. Root access or a user with sudo privileges\u003Cbr \u002F>\r\n3. Basic familiarity with command-line operations\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Step 1: Update Your System\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>First, let&#39;s ensure your system is up-to-date:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo apt update &amp;&amp; sudo apt upgrade -y\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 2: Install Required Dependencies\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Docmost requires several dependencies. Let&#39;s install them:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo apt install curl software-properties-common apt-transport-https ca-certificates gnupg2 -y\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 3: Install Node.js\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Docmost is built on Node.js. Let&#39;s install Node.js 14.x:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\ncurl -sL https:\u002F\u002Fdeb.nodesource.com\u002Fsetup_14.x | sudo -E bash -\u003Cbr \u002F>\r\nsudo apt install nodejs -y\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Verify the installation:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nnode --version\u003Cbr \u002F>\r\nnpm --version\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 4: Install MongoDB\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Docmost uses MongoDB as its database. Let&#39;s install it:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nwget -qO - https:\u002F\u002Fwww.mongodb.org\u002Fstatic\u002Fpgp\u002Fserver-4.4.asc | sudo apt-key add -\u003Cbr \u002F>\r\necho &quot;deb [ arch=amd64,arm64 ] https:\u002F\u002Frepo.mongodb.org\u002Fapt\u002Fubuntu focal\u002Fmongodb-org\u002F4.4 multiverse&quot; | sudo tee \u002Fetc\u002Fapt\u002Fsources.list.d\u002Fmongodb-org-4.4.list\u003Cbr \u002F>\r\nsudo apt update\u003Cbr \u002F>\r\nsudo apt install mongodb-org -y\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Start and enable MongoDB:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo systemctl start mongod\u003Cbr \u002F>\r\nsudo systemctl enable mongod\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 5: Install Docmost\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Now, let&#39;s install Docmost:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo npm install -g docmost\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 6: Configure Docmost\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Create a configuration directory:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo mkdir -p \u002Fetc\u002Fdocmost\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Create and edit the configuration file:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo nano \u002Fetc\u002Fdocmost\u002Fconfig.json\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Add the following content, adjusting as needed:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\n{\u003Cbr \u002F>\r\n&nbsp; &quot;port&quot;: 3000,\u003Cbr \u002F>\r\n&nbsp; &quot;mongodb&quot;: {\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; &quot;url&quot;: &quot;mongodb:\u002F\u002Flocalhost:27017\u002Fdocmost&quot;\u003Cbr \u002F>\r\n&nbsp; },\u003Cbr \u002F>\r\n&nbsp; &quot;storage&quot;: {\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; &quot;type&quot;: &quot;local&quot;,\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; &quot;path&quot;: &quot;\u002Fvar\u002Flib\u002Fdocmost\u002Fuploads&quot;\u003Cbr \u002F>\r\n&nbsp; },\u003Cbr \u002F>\r\n&nbsp; &quot;secret&quot;: &quot;your-secret-key-here&quot;\u003Cbr \u002F>\r\n}\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Save and close the file (Ctrl+X, then Y, then Enter).\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Step 7: Set Up Docmost as a Service\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Create a systemd service file:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo nano \u002Fetc\u002Fsystemd\u002Fsystem\u002Fdocmost.service\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Add the following content:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\n[Unit]\u003Cbr \u002F>\r\nDescription=Docmost Document Management System\u003Cbr \u002F>\r\nAfter=network.target\u003C\u002Fp>\r\n\r\n\u003Cp>[Service]\u003Cbr \u002F>\r\nExecStart=\u002Fusr\u002Fbin\u002Fnode \u002Fusr\u002Flib\u002Fnode_modules\u002Fdocmost\u002Fserver.js\u003Cbr \u002F>\r\nRestart=always\u003Cbr \u002F>\r\nUser=nobody\u003Cbr \u002F>\r\nGroup=nogroup\u003Cbr \u002F>\r\nEnvironment=PATH=\u002Fusr\u002Fbin:\u002Fusr\u002Flocal\u002Fbin\u003Cbr \u002F>\r\nEnvironment=NODE_ENV=production\u003Cbr \u002F>\r\nWorkingDirectory=\u002Fusr\u002Flib\u002Fnode_modules\u002Fdocmost\u003C\u002Fp>\r\n\r\n\u003Cp>[Install]\u003Cbr \u002F>\r\nWantedBy=multi-user.target\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Save and close the file.\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Step 8: Start and Enable Docmost\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Now, let&#39;s start and enable the Docmost service:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo systemctl start docmost\u003Cbr \u002F>\r\nsudo systemctl enable docmost\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 9: Set Up Nginx as a Reverse Proxy (Optional)\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>If you want to access Docmost through a domain name and add SSL, you can set up Nginx as a reverse proxy.\u003C\u002Fp>\r\n\r\n\u003Cp>Install Nginx:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo apt install nginx -y\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Create a new Nginx configuration file:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo nano \u002Fetc\u002Fnginx\u002Fsites-available\u002Fdocmost\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Add the following content, replacing `yourdomain.com` with your actual domain:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nserver {\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; listen 80;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; server_name yourdomain.com;\u003C\u002Fp>\r\n\r\n\u003Cp>&nbsp;&nbsp;&nbsp; location \u002F {\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_pass http:\u002F\u002Flocalhost:3000;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_http_version 1.1;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header Upgrade $http_upgrade;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header Connection &#39;upgrade&#39;;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_set_header Host $host;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proxy_cache_bypass $http_upgrade;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; }\u003Cbr \u002F>\r\n}\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Enable the configuration:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo ln -s \u002Fetc\u002Fnginx\u002Fsites-available\u002Fdocmost \u002Fetc\u002Fnginx\u002Fsites-enabled\u002F\u003Cbr \u002F>\r\nsudo nginx -t\u003Cbr \u002F>\r\nsudo systemctl restart nginx\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 10: Secure Your Installation\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>For production use, consider the following security measures:\u003C\u002Fp>\r\n\r\n\u003Cp>1. Set up a firewall (e.g., UFW)\u003Cbr \u002F>\r\n2. Install and configure SSL\u002FTLS certificates (e.g., using Let&#39;s Encrypt)\u003Cbr \u002F>\r\n3. Regularly update your system and Docmost installation\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Accessing Docmost\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>You can now access Docmost by navigating to `http:\u002F\u002Fyour_server_ip:3000` in your web browser (or `http:\u002F\u002Fyourdomain.com` if you set up Nginx).\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Conclusion\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Congratulations! You&#39;ve successfully installed Docmost on your CloudBlast VPS. You now have a powerful, self-hosted document management system at your fingertips. Explore Docmost&#39;s features to organize, share, and collaborate on your documents with ease.\u003C\u002Fp>\r\n\r\n\u003Cp>Remember, this is just the beginning of your Docmost journey. Take time to familiarize yourself with its features and customize it to fit your specific needs. If you encounter any issues or need further assistance, don&#39;t hesitate to reach out to CloudBlast&#39;s expert support team.\u003C\u002Fp>\r\n\r\n\u003Cp>Happy document managing!\u003C\u002Fp>\r\n","https:\u002F\u002Fcdn.cloudblast.io\u002Fuploads\u002F924607ee62784b7b.png",{"id":19,"title":20,"content":21,"keywords":8,"category":9,"image":22,"date":11,"totalPages":12},189,"How-to-Install-Firefly-III-on-an-Ubuntu-VPS","\u003Cp>Are you ready to take control of your personal finances? Look no further than Firefly III, the powerful open-source personal finance manager. In this comprehensive guide, we&#39;ll walk you through installing Firefly III on your CloudBlast VPS, empowering you to track, manage, and optimize your financial life with ease.\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>What is Firefly III?\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Firefly III is a free, open-source personal finance manager that helps you track your income, expenses, and everything in between. With its user-friendly interface and powerful features, it&#39;s the perfect tool for budgeting, tracking investments, and gaining insights into your spending habits.\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Prerequisites\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Before we dive in, make sure you have:\u003C\u002Fp>\r\n\r\n\u003Cp>- A CloudBlast VPS running Ubuntu 22.04 LTS\u003Cbr \u002F>\r\n- Root access or a user with sudo privileges\u003Cbr \u002F>\r\n- Basic command-line knowledge\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Step 1: Update Your System\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>First, let&#39;s ensure your system is up-to-date:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo apt update &amp;&amp; sudo apt upgrade -y\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 2: Install Essential Packages\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Install the necessary packages:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo apt install -y git curl zip unzip imagemagick gnupg2\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 3: Set Up the Database\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Firefly III needs a database. Let&#39;s install MariaDB:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo apt install -y mariadb-server mariadb-client\u003Cbr \u002F>\r\nsudo mysql_secure_installation\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Follow the prompts to secure your MariaDB installation.\u003C\u002Fp>\r\n\r\n\u003Cp>Now, let&#39;s create a database for Firefly III:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo mysql -u root -p\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>In the MySQL prompt, run:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nCREATE DATABASE firefly;\u003Cbr \u002F>\r\nCREATE USER &#39;firefly&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;your_strong_password&#39;;\u003Cbr \u002F>\r\nGRANT ALL PRIVILEGES ON firefly.* TO &#39;firefly&#39;@&#39;localhost&#39;;\u003Cbr \u002F>\r\nFLUSH PRIVILEGES;\u003Cbr \u002F>\r\nEXIT;\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 4: Install PHP and Required Extensions\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Firefly III runs on PHP. Install PHP 8.1 and necessary extensions:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo apt install -y php8.1 php8.1-cli php8.1-common php8.1-curl php8.1-gd php8.1-intl php8.1-mbstring php8.1-mysql php8.1-xml php8.1-zip\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 5: Install Composer\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Composer is essential for managing PHP dependencies:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\ncurl -sS https:\u002F\u002Fgetcomposer.org\u002Finstaller | sudo php -- --install-dir=\u002Fusr\u002Flocal\u002Fbin --filename=composer\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 6: Install Firefly III\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Now, let&#39;s get Firefly III installed:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\ncd \u002Fvar\u002Fwww\u003Cbr \u002F>\r\nsudo git clone https:\u002F\u002Fgithub.com\u002Ffirefly-iii\u002Ffirefly-iii\u003Cbr \u002F>\r\ncd firefly-iii\u003Cbr \u002F>\r\nsudo composer install --no-dev\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 7: Configure Firefly III\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Copy the example environment file:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo cp .env.example .env\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Generate an app key:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo php artisan key:generate\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Edit the .env file:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo nano .env\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Update the following lines:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nAPP_URL=http:\u002F\u002Fyour_domain_or_ip\u003Cbr \u002F>\r\nDB_DATABASE=firefly\u003Cbr \u002F>\r\nDB_USERNAME=firefly\u003Cbr \u002F>\r\nDB_PASSWORD=your_strong_password\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Save and exit the file.\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Step 8: Set Proper Permissions\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Ensure the web server can access the files:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo chown -R www-data:www-data \u002Fvar\u002Fwww\u002Ffirefly-iii\u003Cbr \u002F>\r\nsudo chmod -R 775 \u002Fvar\u002Fwww\u002Ffirefly-iii\u002Fstorage\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 9: Set Up the Web Server\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>If you&#39;re using Apache, create a new virtual host:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo nano \u002Fetc\u002Fapache2\u002Fsites-available\u002Ffirefly.conf\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Add the following content:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\n&lt;VirtualHost *:80&gt;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; ServerName your_domain_or_ip\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; DocumentRoot \u002Fvar\u002Fwww\u002Ffirefly-iii\u002Fpublic\u003C\u002Fp>\r\n\r\n\u003Cp>&nbsp;&nbsp;&nbsp; &lt;Directory \u002Fvar\u002Fwww\u002Ffirefly-iii\u002Fpublic&gt;\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Options Indexes FollowSymLinks MultiViews\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowOverride All\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Require all granted\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; &lt;\u002FDirectory&gt;\u003C\u002Fp>\r\n\r\n\u003Cp>&nbsp;&nbsp;&nbsp; ErrorLog ${APACHE_LOG_DIR}\u002Ffirefly_error.log\u003Cbr \u002F>\r\n&nbsp;&nbsp;&nbsp; CustomLog ${APACHE_LOG_DIR}\u002Ffirefly_access.log combined\u003Cbr \u002F>\r\n&lt;\u002FVirtualHost&gt;\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Enable the site and restart Apache:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\nsudo a2ensite firefly.conf\u003Cbr \u002F>\r\nsudo systemctl restart apache2\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 10: Initialize Firefly III\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Run the following commands to set up the database and create a user:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>\u003Cbr \u002F>\r\ncd \u002Fvar\u002Fwww\u002Ffirefly-iii\u003Cbr \u002F>\r\nsudo php artisan migrate --seed\u003Cbr \u002F>\r\nsudo php artisan firefly:upgrade-database\u003Cbr \u002F>\r\nsudo php artisan firefly:verify\u003Cbr \u002F>\r\n&nbsp;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 11: Access Your New Firefly III Installation\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>You can now access Firefly III by navigating to `http:\u002F\u002Fyour_domain_or_ip` in your web browser. Log in with the default credentials:\u003C\u002Fp>\r\n\r\n\u003Cp>- Email: `admin@example.com`\u003Cbr \u002F>\r\n- Password: `secret`\u003C\u002Fp>\r\n\r\n\u003Cp>Make sure to change these immediately!\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Conclusion: Your Financial Journey Begins\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Congratulations! You&#39;ve successfully installed Firefly III on your CloudBlast VPS. You now have a powerful, self-hosted personal finance manager at your fingertips. Start by importing your transactions, setting up budgets, and exploring the wealth of features Firefly III offers.\u003C\u002Fp>\r\n\r\n\u003Cp>Remember, this is just the beginning of your journey to financial mastery. Take time to explore all the features and customize Firefly III to fit your unique financial situation. If you encounter any issues or need assistance optimizing your CloudBlast VPS for Firefly III, don&#39;t hesitate to reach out to our expert support team.\u003C\u002Fp>\r\n\r\n\u003Cp>Happy budgeting, and here&#39;s to your financial success!\u003C\u002Fp>\r\n","https:\u002F\u002Fcdn.cloudblast.io\u002Fuploads\u002Fc5ce014ec66b6fee.png",{"id":24,"title":25,"content":26,"keywords":8,"category":9,"image":27,"date":28,"totalPages":12},190,"How-to-Install-Hasty-Paste-on-Ubuntu-Server","\u003Cp>\u003Cstrong>Unlock seamless code collaboration with Hasty Paste, the lightweight open-source solution for sharing snippets. Follow our step-by-step guide to set up your own Hasty Paste server on Ubuntu.\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>In today&#39;s fast-paced development world, sharing code snippets efficiently is crucial. Hasty Paste offers a simple yet powerful platform for developers to collaborate and exchange ideas. By hosting your own Hasty Paste server, you gain control over your data while enjoying a smooth code-sharing experience.\u003C\u002Fp>\r\n\r\n\u003Cp>Before we dive in, ensure you have:\u003C\u002Fp>\r\n\r\n\u003Cul>\r\n\t\u003Cli>A server running the latest Ubuntu Server\u003C\u002Fli>\r\n\t\u003Cli>Root access or sudo privileges\u003C\u002Fli>\r\n\t\u003Cli>Basic familiarity with the command line\u003C\u002Fli>\r\n\u003C\u002Ful>\r\n\r\n\u003Cp>\u003Cstrong>Step 1: Acquire Hasty Paste\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Begin by obtaining the latest Hasty Paste package. Visit the official website or use the command line for a direct download:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>wget https:\u002F\u002Fgithub.com\u002Fmajek\u002Fhasty-paste\u002Freleases\u002Fdownload\u002Fv0.0.7\u002Fhasty-paste-linux-amd64-0.0.7.tar.gz\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 2: Unpack and Install\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Extract the downloaded archive and place Hasty Paste in the appropriate directory:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>tar xvfz hasty-paste-linux-amd64-0.0.7.tar.gz\u003Cbr \u002F>\r\ncd hasty-paste-linux-amd64-0.0.7\u003Cbr \u002F>\r\nsudo cp hasty-paste \u002Fusr\u002Flocal\u002Fbin\u002F\u003Cbr \u002F>\r\nsudo chmod +x \u002Fusr\u002Flocal\u002Fbin\u002Fhasty-paste\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 3: Configure Your Instance\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Customize Hasty Paste to fit your needs. Create a configuration directory and file:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>sudo mkdir \u002Fetc\u002Fhastypaste\u003Cbr \u002F>\r\ncd \u002Fetc\u002Fhastypaste\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Now, create a configuration file named hastypaste.yaml with the following content:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>production:\u003Cbr \u002F>\r\n&nbsp; domain: &quot;your-domain.tld&quot;\u003Cbr \u002F>\r\n&nbsp; port: 8080\u003Cbr \u002F>\r\n&nbsp; mysql:\u003Cbr \u002F>\r\n&nbsp; &nbsp; dsn: &quot;root:mysqlpassword@tcp(localhost:3306)\u002Fhastypaste?charset=utf8mb4&amp;parseTime=True&amp;loc=Local&quot;\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Remember to replace &quot;your-domain.tld&quot; with your actual domain name.\u003C\u002Fp>\r\n\r\n\u003Cp>\u003Cstrong>Step 4: Launch Hasty Paste\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>With everything in place, it&#39;s time to start your Hasty Paste server:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>sudo hasty-paste start --config \u002Fetc\u002Fhastypaste\u002Fhastypaste.yaml\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>If successful, you&#39;ll see a confirmation message:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>Hasty Paste started at http:\u002F\u002Fyour-domain.tld:8080\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Congratulations! Your Hasty Paste server is now operational.\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>By following these steps, you&#39;ve successfully set up a personal Hasty Paste instance. This allows you to share code snippets securely and efficiently, enhancing your development workflow. Remember to configure SSL for added security, ensuring your code sharing remains private and protected.\u003C\u002Fp>\r\n\r\n\u003Cp>Embrace the power of self-hosting with Hasty Paste, and take control of your code-sharing environment today!\u003C\u002Fp>\r\n","https:\u002F\u002Fcdn.cloudblast.io\u002Fuploads\u002F6f86fc20ee504346.png","2024-08-29",{"id":30,"title":31,"content":32,"keywords":8,"category":9,"image":33,"date":28,"totalPages":12},191,"How-to-Install-HedgeDoc-on-Ubuntu-Server","\u003Cp>\u003Cstrong>Elevate your team&#39;s productivity with HedgeDoc, the ultimate real-time collaborative markdown editor. Follow our comprehensive guide to set up your own HedgeDoc instance on Ubuntu Server.\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>In the digital age, seamless collaboration is key to successful projects. HedgeDoc offers a secure, open-source platform for teams to create, edit, and share markdown documents in real-time. By hosting your own HedgeDoc server, you ensure data privacy while enjoying the benefits of collaborative editing.\u003C\u002Fp>\r\n\r\n\u003Cp>Before we begin, make sure you have:\u003C\u002Fp>\r\n\r\n\u003Cul>\r\n\t\u003Cli>A server running the latest Ubuntu Server\u003C\u002Fli>\r\n\t\u003Cli>Root access or sudo privileges\u003C\u002Fli>\r\n\t\u003Cli>Basic command line knowledge\u003C\u002Fli>\r\n\u003C\u002Ful>\r\n\r\n\u003Cp>\u003Cstrong>Step 1: Prepare Your System\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Start by updating your system and installing necessary dependencies:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>sudo apt update\u003Cbr \u002F>\r\nsudo apt upgrade\u003Cbr \u002F>\r\nsudo apt-get install git build-essential pkg-config curl\u003Cbr \u002F>\r\nsudo apt-get install libssl-dev libffi-dev python3-dev\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 2: Install Node.js\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>HedgeDoc requires Node.js. Install it using NVM (Node Version Manager):\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>curl -o- https:\u002F\u002Fraw.githubusercontent.com\u002Fnvm-sh\u002Fnvm\u002Fv0.38.0\u002Finstall.sh | bash\u003Cbr \u002F>\r\nsource ~\u002F.bashrc\u003Cbr \u002F>\r\nnvm install node\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 3: Set Up PostgreSQL\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Install and configure PostgreSQL for HedgeDoc:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>sudo apt-get install postgresql\u003Cbr \u002F>\r\nsudo -u postgres psql\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Once in the PostgreSQL prompt, create a user and database:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>CREATE USER username WITH PASSWORD &#39;password&#39;;\u003Cbr \u002F>\r\nCREATE DATABASE hedgedoc;\u003Cbr \u002F>\r\nGRANT ALL PRIVILEGES ON DATABASE hedgedoc TO username;\u003Cbr \u002F>\r\n\\q\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 4: Install HedgeDoc\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Clone the HedgeDoc repository and install its dependencies:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>git clone https:\u002F\u002Fgithub.com\u002Fhedgedoc\u002Fhedgedoc.git\u003Cbr \u002F>\r\ncd hedgedoc\u003Cbr \u002F>\r\nnpm install\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 5: Configure HedgeDoc\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Create and edit the configuration file:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>cp .env.example .env\u003Cbr \u002F>\r\nnano .env\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Update the following lines in the .env file:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>DB_TYPE=postgres\u003Cbr \u002F>\r\nDB_HOST=localhost\u003Cbr \u002F>\r\nDB_PORT=5432\u003Cbr \u002F>\r\nDB_NAME=hedgedoc\u003Cbr \u002F>\r\nDB_USERNAME=username\u003Cbr \u002F>\r\nDB_PASSWORD=password\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 6: Launch HedgeDoc\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Build and start your HedgeDoc instance:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>npm run build\u003Cbr \u002F>\r\nnpm start\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Congratulations! Your HedgeDoc server is now up and running.\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>By following these steps, you&#39;ve successfully set up a personal HedgeDoc instance. This powerful tool enables real-time collaboration on markdown documents, enhancing your team&#39;s productivity and creativity. Remember to configure SSL for added security, ensuring your collaborative efforts remain private and protected.\u003C\u002Fp>\r\n\r\n\u003Cp>Embrace the future of collaborative editing with HedgeDoc, and transform the way your team works together!\u003C\u002Fp>\r\n","https:\u002F\u002Fcdn.cloudblast.io\u002Fuploads\u002Fa52a647df6617fcc.png",{"id":35,"title":36,"content":37,"keywords":8,"category":9,"image":38,"date":28,"totalPages":12},193,"How-to-install-PiVPN-on-Ubuntu-Server","\u003Cp>\u003Cstrong>Unlock the power of secure remote access with PiVPN, the user-friendly VPN solution. Follow our step-by-step guide to set up your own VPN server on Ubuntu and enjoy safe, unrestricted internet access from anywhere.\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>In today&#39;s interconnected world, secure remote access to your home network is more important than ever. PiVPN offers a straightforward, open-source solution to create your personal VPN server. By following this guide, you&#39;ll establish a secure gateway to your home network, ensuring privacy and unrestricted access to your digital world.\u003C\u002Fp>\r\n\r\n\u003Cp>Before we begin, ensure you have:\u003C\u002Fp>\r\n\r\n\u003Cul>\r\n\t\u003Cli>A server running the latest Ubuntu Server\u003C\u002Fli>\r\n\t\u003Cli>Root access or sudo privileges\u003C\u002Fli>\r\n\t\u003Cli>Basic familiarity with terminal commands\u003C\u002Fli>\r\n\u003C\u002Ful>\r\n\r\n\u003Cp>\u003Cstrong>Step 1: Prepare Your System\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>Start by updating your system to ensure you have the latest security patches:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>sudo apt-get update &amp;&amp; sudo apt-get upgrade\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 2: Install PiVPN\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>PiVPN offers a convenient installation script. Run it with this command:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>curl -L https:\u002F\u002Finstall.pivpn.io | bash\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>\u003Cstrong>Step 3: Configure PiVPN\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>After installation, set up your VPN connection:\u003C\u002Fp>\r\n\r\n\u003Cblockquote>\r\n\u003Cp>sudo pivpn add\u003C\u002Fp>\r\n\u003C\u002Fblockquote>\r\n\r\n\u003Cp>Follow the prompts to:\u003C\u002Fp>\r\n\r\n\u003Cul>\r\n\t\u003Cli>Name your VPN connection\u003C\u002Fli>\r\n\t\u003Cli>Choose between UDP (default) and TCP protocols\u003C\u002Fli>\r\n\t\u003Cli>Select a port number (default is 1194)\u003C\u002Fli>\r\n\u003C\u002Ful>\r\n\r\n\u003Cp>\u003Cstrong>Step 4: Connect to Your VPN\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>To use your new VPN, install a compatible client on your devices:\u003C\u002Fp>\r\n\r\n\u003Cul>\r\n\t\u003Cli>PiVPN clients (Android\u002FiOS)\u003C\u002Fli>\r\n\t\u003Cli>OpenVPN (Windows\u002FmacOS\u002FLinux)\u003C\u002Fli>\r\n\t\u003Cli>L2TP (Windows\u002FmacOS\u002FiOS)\u003C\u002Fli>\r\n\u003C\u002Ful>\r\n\r\n\u003Cp>Configure your client with:\u003C\u002Fp>\r\n\r\n\u003Cul>\r\n\t\u003Cli>Your server&#39;s IP address\u003C\u002Fli>\r\n\t\u003Cli>Chosen protocol (UDP\u002FTCP)\u003C\u002Fli>\r\n\t\u003Cli>Selected port number\u003C\u002Fli>\r\n\t\u003Cli>Client key (generated during setup)\u003C\u002Fli>\r\n\u003C\u002Ful>\r\n\r\n\u003Cp>\u003Cstrong>Congratulations! Your personal VPN server is now operational.\u003C\u002Fstrong>\u003C\u002Fp>\r\n\r\n\u003Cp>By following these steps, you&#39;ve successfully set up a secure, private VPN using PiVPN. This powerful tool allows you to access your home network safely from anywhere in the world, bypassing geographical restrictions and ensuring your online activities remain private. Remember to keep your server updated and regularly review your VPN settings to maintain optimal security.\u003C\u002Fp>\r\n\r\n\u003Cp>Embrace the freedom and security of your personal VPN with PiVPN!\u003C\u002Fp>\r\n","https:\u002F\u002Fcdn.cloudblast.io\u002Fuploads\u002F0deb130dccefeacd.png"]