File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 23
23
# Install Google Chrome
24
24
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
25
25
sudo sh -c ' echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
26
- sudo apt update && sudo apt install google-chrome-stable # 79 .0.3945.130-1
26
+ sudo apt update && sudo apt install google-chrome-stable # 80 .0.3987.87
27
27
google-chrome-stable --version
28
28
29
29
sudo apt install -y curl python-software-properties
30
30
curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
31
31
sudo apt update && sudo apt install -y nodejs
32
32
node -v
33
33
34
- git clone git@ github.com: Steemhunt/prerender.git
34
+ git clone https:// github.com/ Steemhunt/prerender.git
35
35
cd ~ /prerender && npm install
36
36
37
37
# Demonize server
38
38
sudo npm install -g pm2@latest
39
39
# CACHE_MAXSIZE=10000 CACHE_TTL=1200 pm2 start prerender.js --node-args="--max_old_space_size=15000" # 10,000 items for 10 minutes / memory limit 15G
40
- pm2 start prerender.js --max-memory-restart 500M
40
+ pm2 start prerender.js # --max-memory-restart 200M
41
41
pm2 startup systemd # and copy the last command
Original file line number Diff line number Diff line change @@ -17,3 +17,5 @@ cd ~/prerender && npm install
17
17
sudo npm install -g pm2@latest
18
18
CACHE_MAXSIZE=10000 CACHE_TTL=600 pm2 start server.js # 10,000 items for 10 minutes
19
19
pm2 startup systemd # and copy the last command
20
+
21
+ yum -y install epel-release && yum -y update && yum -y install htop
You can’t perform that action at this time.
0 commit comments