0967.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install Actual Budget - Open Source Finance Management - on Linux</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <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">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install Actual Budget - Open Source Finance Management - on Linux">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="10/27/2024 09:12:10 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install Actual Budget - Open Source Finance Management - on Linux</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Actual Budget?</h2>
  26. <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>
  27. <h2>Installing NodeJS</h2>
  28. <ol>
  29. <li>Log into the Linux device</li>
  30. <li>Run the following commands in a terminal window
  31. <div class="codeBlock"># add nodejs software repository<br />
  32. curl -sL https://deb.nodesource.com/setup_20.x | sudo bash -<br />
  33. # install nodejs<br />
  34. sudo apt install nodejs -y<br />
  35. # test node &amp; npm are working<br />
  36. node -v &amp;&amp; npm -v</div>
  37. </li>
  38. </ol>
  39. <h2>Installing Actual</h2>
  40. <ol>
  41. <li>Continue with the following commands:
  42. <div class="codeBlock"># install git<br />
  43. sudo apt install git -y<br />
  44. # create working directory<br />
  45. sudo mkdir /usr/local/actualbudget -p<br />
  46. # set folder ownership<br />
  47. sudo chown -R &quot;$USER&quot;:&quot;$USER&quot; /usr/local/actualbudget<br />
  48. # clone actual github repo<br />
  49. git clone https://github.com/actualbudget/actual-server.git /usr/local/actualbudget<br />
  50. # cd into git clone<br />
  51. cd /usr/local/actualbudget<br />
  52. # checkout the latest tagged release<br />
  53. git checkout &quot;$(git tag --sort=v:refname | tail -n1)&quot;<br />
  54. # install yarn<br />
  55. sudo npm install -g yarn<br />
  56. # install dependencies<br />
  57. yarn install<br />
  58. # create a service file<br />
  59. sudo nano /etc/systemd/system/actualbudget.service</div>
  60. </li>
  61. <li>Paste the following configuration
  62. <p>[Unit]<br />
  63. Description=Actual Server<br />
  64. <br />
  65. [Service]<br />
  66. Type=simple<br />
  67. ExecStart=/usr/bin/yarn start<br />
  68. WorkingDirectory=/usr/local/actualbudget<br />
  69. Environment=NODE_ENV=production<br />
  70. Restart=always<br />
  71. # Restart service after 10 seconds if node service crashes<br />
  72. RestartSec=10<br />
  73. <br />
  74. [Install]<br />
  75. WantedBy=multi-user.target</p>
  76. </li>
  77. <li>Press CTRL+O, Enter, CTRL+X to write the changes</li>
  78. <li>Continue with the following commands
  79. <div class="codeBlock"># reload services<br />
  80. sudo systemctl daemon-reload<br />
  81. # start and enable actual budget service<br />
  82. sudo systemctl enable actualbudget.service --now</div>
  83. </li>
  84. <li>Open a web browser and navigate to http://DNSorIP:5006</li>
  85. <li>Enter and confirm an admin password</li>
  86. <li>Click the link to create an account</li>
  87. <li>Click Start Fresh</li>
  88. <li>Welcome to Actual Budget</li>
  89. </ol>
  90. <p>Source: <a href="https://actualbudget.org/docs/install/local/" target="_blank">https://actualbudget.org/docs/install/local/</a></p> </div>
  91. </div>
  92. </body>
  93. </html>