|
@@ -0,0 +1,100 @@
|
|
|
+ <!DOCTYPE html>
|
|
|
+ <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
|
+ <head>
|
|
|
+ <title>Install Actual Budget - Open Source Finance Management - on Linux</title>
|
|
|
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
+ <meta charset="UTF-8">
|
|
|
+ <meta name="keywords" content="Accounting,Accounting Software,Browser Based,Debian,Expense Tracker,Expense Tracking,Home Lab Ideas,Home Lab,Income Tracking,Web Based,Web Based Tools,Homelab,Install Guide,Linux,Ubuntu,Self-Hosted,NodeJS,How To,Tutorial,i12bretro">
|
|
|
+ <meta name="author" content="i12bretro">
|
|
|
+ <meta name="description" content="Install Actual Budget - Open Source Finance Management - on Linux">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
+ <meta name="revised" content="10/27/2024 09:12:10 PM" />
|
|
|
+ <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
|
|
|
+ <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
|
|
+ <script type="text/javascript" src="includes/js/steps.js"></script>
|
|
|
+ <link href="css/steps.css" rel="stylesheet" type="text/css" />
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ <div id="gridContainer">
|
|
|
+ <div class="topMargin"></div>
|
|
|
+ <div id="listName" class="topMargin">
|
|
|
+ <h1>Install Actual Budget - Open Source Finance Management - on Linux</h1>
|
|
|
+ </div>
|
|
|
+ <div></div>
|
|
|
+ <div id="content">
|
|
|
+ <h2>What is Actual Budget?</h2>
|
|
|
+
|
|
|
+<blockquote><em>Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -<a href="https://github.com/actualbudget/actual" target="_blank">https://github.com/actualbudget/actual</a></em></blockquote>
|
|
|
+
|
|
|
+<h2>Installing NodeJS</h2>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li>Log into the Linux device</li>
|
|
|
+ <li>Run the following commands in a terminal window
|
|
|
+ <div class="codeBlock"># add nodejs software repository<br />
|
|
|
+ curl -sL https://deb.nodesource.com/setup_20.x | sudo bash -<br />
|
|
|
+ # install nodejs<br />
|
|
|
+ sudo apt install nodejs -y<br />
|
|
|
+ # test node & npm are working<br />
|
|
|
+ node -v && npm -v</div>
|
|
|
+ </li>
|
|
|
+</ol>
|
|
|
+
|
|
|
+<h2>Installing Actual</h2>
|
|
|
+
|
|
|
+<ol>
|
|
|
+ <li>Continue with the following commands:
|
|
|
+ <div class="codeBlock"># install git<br />
|
|
|
+ sudo apt install git -y<br />
|
|
|
+ # create working directory<br />
|
|
|
+ sudo mkdir /usr/local/actualbudget -p<br />
|
|
|
+ # set folder ownership<br />
|
|
|
+ sudo chown -R "$USER":"$USER" /usr/local/actualbudget<br />
|
|
|
+ # clone actual github repo<br />
|
|
|
+ git clone https://github.com/actualbudget/actual-server.git /usr/local/actualbudget<br />
|
|
|
+ # cd into git clone<br />
|
|
|
+ cd /usr/local/actualbudget<br />
|
|
|
+ # checkout the latest tagged release<br />
|
|
|
+ git checkout "$(git tag --sort=v:refname | tail -n1)"<br />
|
|
|
+ # install yarn<br />
|
|
|
+ sudo npm install -g yarn<br />
|
|
|
+ # install dependencies<br />
|
|
|
+ yarn install<br />
|
|
|
+ # create a service file<br />
|
|
|
+ sudo nano /etc/systemd/system/actualbudget.service</div>
|
|
|
+ </li>
|
|
|
+ <li>Paste the following configuration
|
|
|
+ <p>[Unit]<br />
|
|
|
+ Description=Actual Server<br />
|
|
|
+ <br />
|
|
|
+ [Service]<br />
|
|
|
+ Type=simple<br />
|
|
|
+ ExecStart=/usr/bin/yarn start<br />
|
|
|
+ WorkingDirectory=/usr/local/actualbudget<br />
|
|
|
+ Environment=NODE_ENV=production<br />
|
|
|
+ Restart=always<br />
|
|
|
+ # Restart service after 10 seconds if node service crashes<br />
|
|
|
+ RestartSec=10<br />
|
|
|
+ <br />
|
|
|
+ [Install]<br />
|
|
|
+ WantedBy=multi-user.target</p>
|
|
|
+ </li>
|
|
|
+ <li>Press CTRL+O, Enter, CTRL+X to write the changes</li>
|
|
|
+ <li>Continue with the following commands
|
|
|
+ <div class="codeBlock"># reload services<br />
|
|
|
+ sudo systemctl daemon-reload<br />
|
|
|
+ # start and enable actual budget service<br />
|
|
|
+ sudo systemctl enable actualbudget.service --now</div>
|
|
|
+ </li>
|
|
|
+ <li>Open a web browser and navigate to http://DNSorIP:5006</li>
|
|
|
+ <li>Enter and confirm an admin password</li>
|
|
|
+ <li>Click the link to create an account</li>
|
|
|
+ <li>Click Start Fresh</li>
|
|
|
+ <li>Welcome to Actual Budget</li>
|
|
|
+</ol>
|
|
|
+
|
|
|
+<p>Source: <a href="https://actualbudget.org/docs/install/local/" target="_blank">https://actualbudget.org/docs/install/local/</a></p> </div>
|
|
|
+ </div>
|
|
|
+ </body>
|
|
|
+ </html>
|
|
|
+
|