{"id":23714439,"url":"https://github.com/zuna107/nodejs-linux_server_documentation","last_synced_at":"2025-10-24T18:11:22.363Z","repository":{"id":244241027,"uuid":"814672183","full_name":"zuna107/NodeJS-Linux_Server_Documentation","owner":"zuna107","description":"linux server documentation","archived":false,"fork":false,"pushed_at":"2024-09-26T13:11:34.000Z","size":3208,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-30T20:27:54.643Z","etag":null,"topics":["armbian","casaos","linux","nodejs"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zuna107.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-13T13:17:50.000Z","updated_at":"2024-12-15T05:01:23.000Z","dependencies_parsed_at":"2024-06-13T15:56:30.327Z","dependency_job_id":"1abedd7d-69a2-4cc9-a0ef-8f8f5f61a0af","html_url":"https://github.com/zuna107/NodeJS-Linux_Server_Documentation","commit_stats":null,"previous_names":["zuna107/linux-server-doc","zuna107/node_js-linux_server_documentation","zuna107/nodejs-linux_server_documentation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuna107%2FNodeJS-Linux_Server_Documentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuna107%2FNodeJS-Linux_Server_Documentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuna107%2FNodeJS-Linux_Server_Documentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zuna107%2FNodeJS-Linux_Server_Documentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zuna107","download_url":"https://codeload.github.com/zuna107/NodeJS-Linux_Server_Documentation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239800516,"owners_count":19699154,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["armbian","casaos","linux","nodejs"],"created_at":"2024-12-30T20:27:59.796Z","updated_at":"2025-10-17T17:12:40.818Z","avatar_url":"https://github.com/zuna107.png","language":null,"readme":"\n# Linux Server Documentation - Linux Armbian [B860H](https://github.com/topics/b860h)-[HG680P](https://github.com/topics/hg680p)\n\nThis documentation is used for Linux Server: `Armbian` - `Amlogic` - `Casa Os`\nwhich I use for `Node.js` servers.\n\nThis Armbian type is used for a Set Top Box (STB) that has an [Amlogic](https://github.com/topics/amlogic) type cipset.\n\n## [Install Armbian](https://www.mediafire.com/file/ic0kgvrr30tqlrh/Armbian_20.10.img.xz/file)\n\n- Prepare an SD Card with at least 8GB storage and a Card reader.\n- Burn the Armbian.img file with `balenaEtcher` or `Rufus` software and navigate to the SD Card.\n- Open the \"boot SD card\" and enter the `extlinux` folder and open the file named `extlinux.conf` with notepad. then remove the **#** in `rk-3399` and add **#** in `aml s9xxx`.\n- Next in the \"boot\" folder change `u-boot-s905-s912` to `u-boot.ext`.\n- then put the `u-boot-hg680p` file into boot and rename it to **uboot.bin**, you can get the **uboot** file in this Repository.\n\n**Important Notes:**\n1. The main requirement is that the Set Top Box (STB) is already **unlocked (Root)** and **[Open Wrt](https://github.com/topics/openwrt)** is installed on the system.\n2. For STB `b860h` must use **hg680p** bootloader.\n\n- Remove the SD card and insert it into the STB, then plug your network LAN port into the STB, wait for a while and look for the connected device on the router.\n- Search for the STB device's `IP Address` on the router's configuration page or you can search for it using the `Advanced IP Scanner` software, usually the device will be named **Arm-64**.\n\n## Set up Linux\n\n- Type the IP Address in the `Putty` software.\nDefault Username: root\nPassword : 1234\n(You will set a new username and password and etc.)\n- Update the Linux repository:\n```\nsudo apt update\n```\n\n## Install Casa Os\n```\ncurl -fsSL https://get.casaos.io | sudo bash\n```\nCasaOS fully supports ZimaBoard, Intel NUC, and Raspberry Pi. Also, more computers and development boards and fully compatible with Ubuntu, Debian, Raspberry Pi OS, and CentOS with one-liner installation.\n\n#### Hardware Compatibility\n- amd64 / x86-64\n- arm64\n- armv7\n#### System Compatibility\nOfficial Support\n\n- Debian 12 (✅ Tested, Recommended)\n- Ubuntu Server 20.04 (✅ Tested)\n- Raspberry Pi OS (✅ Tested)\n \n\n## Node JS Server Setup\n\n- Upload the application (bot/app, etc) into the `DATA/name_folder` by excluding the `node_modules` folder when uploading your project.\n- Open Casa Os terminal \u003e change directory to your application folder (cd.. \u003e cd DATA \u003e cd folder_application).\n- Install `node_modules` with the command:\n```\nnpm install\n```\n\n#### [PM2 Setup](https://pm2.keymetrics.io/)\n- Open Casa Os terminal and install Pm2:\n```\nnpm install pm2 -g\n```\n- Create a file named `ecosystem.config.js` in your application directory folder, and fill it in:\n```js\nmodule.exports = {\n  apps: [\n    {\n      name: 'your_application_name',\n      script: './src/index.js', //customize index.js location\n      instances: 1,\n      autorestart: true,\n      watch: true,\n      watch_delay: 1000,\n      max_memory_restart: '1G', //restart when memory usage reaches 1GB\n      env: {\n        NODE_ENV: 'development',\n      },\n      env_production: {\n        NODE_ENV: 'production',\n      },\n    },\n  ],\n};\n\n\n```\n- Run the application with the command:\n```\npm2 start ecosystem.config.js\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuna107%2Fnodejs-linux_server_documentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuna107%2Fnodejs-linux_server_documentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuna107%2Fnodejs-linux_server_documentation/lists"}