![]() If you’re using EC2 which run Amazon Linux, and you’d like to try Google’s Puppeteer (Chrome Headless), below’s tutorial verified on a EC2 instance run the latest Amazon Linux AMI release 2017.09.ġ. In nginx.Update 05/18: This work well with Puppeteer 1.3.0 on the latest AMI release (2018.03). Step 6 - Install and setup nginx sudo yum install nginx Minimum what you will require is g++: yum install gcc-g++įor Fedora 20: apt-get install build-essential ![]() You can check it using command: yum group info 'Development Tools' There are some dependencies require to start Node server ( ex. Python)Įasiest way - install group of Development Tools - will install (automake, gcc, perl, python, flex, make, gdb, bison) yum groupinstall 'Development Tools' To use specific version: nvm use x.x.xī) Install via yum sudo curl -sL | sudo bash Specific version installation: nvm install x.x.x Node\npm installation: nvm install node Download and install nvm: sudo curl -o- | bash Step 2 - Install git for project version control sudo yum install gitĪ) Install via nvm (node version manager) - will give you a possibility to switch between node versions in a second Let update it to the latest version: sudo yum update On AWS console: Step 1 - Update dependenciesįrom scratch ec2 linux machine use yum package manager. ![]() What should we do now? In this topic I will describe step by step what you need for ready to go Node server on linux machine. Ok, now you have clear ec2 machine on AWS (if you don't know how to setup machine look throught this link).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |