# Scratch Installation Guide Request

**URL:** <https://forum.genieacs.com/t/scratch-installation-guide-request/4144>\
**Category:** Uncategorized\
**Created:** [June 30, 2023, 1:12pm UTC](https://forum.genieacs.com/t/scratch-installation-guide-request/4144 "2023-06-30T13:12:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nion](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/nion/32/1804_2.png) [@nion](https://forum.genieacs.com/u/nion)\
**Post date:** [June 30, 2023, 1:12pm UTC](https://forum.genieacs.com/t/scratch-installation-guide-request/4144/1 "2023-06-30T13:12:49Z")

</div>

Hello,  
Can anyone share steps for installation from scratch since most of the time the services fail to start or installation does not work. Also i am unable to find any scratch installation method for installing the genieacs on 18.04. i actually need to change the auth.ts file and create a build.

Please help.

---

<div class="post-metadata">

**Author:** ![mike99](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mike99](https://forum.genieacs.com/u/mike99)\
**Post date:** [June 30, 2023, 6:39pm UTC](https://forum.genieacs.com/t/scratch-installation-guide-request/4144/2 "2023-06-30T18:39:16Z")

</div>

Have you tried the documentation ?  
[https://docs.genieacs.com/en/latest/installation-guide.html](https://docs.genieacs.com/en/latest/installation-guide.html)

---

<div class="post-metadata">

**Author:** ![nion](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/nion/32/1804_2.png) [@nion](https://forum.genieacs.com/u/nion)\
**Post date:** [July 1, 2023, 11:19am UTC](https://forum.genieacs.com/t/scratch-installation-guide-request/4144/3 "2023-07-01T11:19:34Z")

</div>

Yes i have tried the installation guide and its does have steps for scratch installation.

---

<div class="post-metadata">

**Author:** ![mike99](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mike99](https://forum.genieacs.com/u/mike99)\
**Post date:** [July 1, 2023, 1:47pm UTC](https://forum.genieacs.com/t/scratch-installation-guide-request/4144/4 "2023-07-01T13:47:48Z")

</div>

You need to install node and mangodb first.

Instruction for node but you should change the version for the current LTS  
[https://nodejs.org/en/download/package-manager#debian-and-ubuntu-based-linux-distributions](https://nodejs.org/en/download/package-manager#debian-and-ubuntu-based-linux-distributions)

Mango can be simply install from repo.

---

<div class="post-metadata">

**Author:** ![nion](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/nion/32/1804_2.png) [@nion](https://forum.genieacs.com/u/nion)\
**Post date:** [July 1, 2023, 2:58pm UTC](https://forum.genieacs.com/t/scratch-installation-guide-request/4144/5 "2023-07-01T14:58:34Z")

</div>

I have already installed nodejs and mongodb successfuly have also cloned the genieacs from git.

need the steps post that.

---

<div class="post-metadata">

**Author:** ![mike99](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mike99](https://forum.genieacs.com/u/mike99)\
**Post date:** [July 1, 2023, 5:35pm UTC](https://forum.genieacs.com/t/scratch-installation-guide-request/4144/6 "2023-07-01T17:35:11Z")

</div>

You want to compile it. Why not simply install it with npm ?

Anyway, from my old note, for debian 8 and node 8. You will probably have to adjust some stuff but it could probably help.

```auto
curl -sL https://deb.nodesource.com/setup_8.x | bash -
apt install checkinstall build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev sudo unzip redis-server libsqlite3-dev curl tmux git nodejs
cd /opt
git clone https://github.com/zaidka/genieacs.git
cd genieacs
git checkout $(git tag -l v1.1.* --sort=-v:refname | head -n 1)
npm install
npm run compile
mkdir /var/log/genieacs
useradd genieacs
chown -R genieacs:genieacs /opt/genieacs
chown -R genieacs:genieacs /var/log/genieacs

```

after, follow the previous install instruction after the Attention part for startup script.

---

<div class="post-metadata">

**Author:** ![rudymartin](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@rudymartin](https://forum.genieacs.com/u/rudymartin)\
**Post date:** [July 2, 2023, 1:12pm UTC](https://forum.genieacs.com/t/scratch-installation-guide-request/4144/7 "2023-07-02T13:12:02Z")

</div>

> [@nion](#):
>
> I have already installed nodejs and mongodb successfuly have also cloned the genieacs from git.
> 
> need the steps post that.

you were following the old documentation.
