Exported on 08-Oct-2021 11:28:44
Parameters
1 - Install Node.js and NPM
Installs NodeJS and npm
The connection details have changed from the last step.
Login as user {s1c} on node {s1}
# update yum repository
sudo yum -y update
# Download setup script
sudo curl -fsSL https://rpm.nodesource.com/setup_12.x -o nodesource.sh
# Configure install script
sudo bash nodesource.sh
# Start installation
sudo yum install -y nodejs
2 - Setup Angular Project
Installs angular cli and creates a new Angular project
The connection details have changed from the last step.
Login as user {Linux User} on node {Linux Node}
# Install angular and angular-cli
sudo npm i -g @angular/cli
# Create new project
echo "y" | ng new angular-project --style css
3 - Install screen package
Installs screen package, used to keep the development server running in background
Login as user {Linux User} on node {Linux Node}
# Install screen
sudo yum -y install screen
# Configure zombie mode
sudo echo "zombie xy" >> ~/.screenrc
4 - Start Angular Development Server
Starts Angular development server on http://YOUR_IP:4200,
To access the server process run: screen -x
Login as user {Linux User} on node {Linux Node}
# Change directory
cd angular-project
# Start dev server
screen -m -d ng serve --host 0.0.0.0
Install Angular Development Environment On RHEL Based Server With AttuneOps
This Blueprint Installs Angular Development Environment On RHEL Based Server
AngularJS is a front-end web framework base on Javascript for developing single-page applications. It is maintained mainly by Google and a community of individuals and corporations.
The framework is most suited to your application development. It is fully extensible and works well with other libraries. AngularJS is a JavaScript framework. It can be added to an HTML page with a script tag. AngularJS is maintained mainly by Google, and extends HTML attributes with Directives, and binds data with Expressions.
Pre-Blueprint Attune setup
Steps Involved
Supported Operating Systems