Advertisement
shutdown57

c9

Mar 31st, 2023
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. sudo apt-get update && sudo apt-get -y install curl git build-essential ; curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - ; sudo apt-get -y install nodejs ; sudo adduser c9user ; sudo usermod -aG sudo c9user ; sudo su c9user
  4.  
  5. cd ~ ; git clone https://github.com/c9/core.git c9 ; cd c9 ; scripts/install-sdk.sh ; mkdir ~/my-projects ; sudo wget https://pastebin.com/raw/Zy5qKHdg -O /lib/systemd/system/c9.service ; sudo sed -i 's|{port}|8080|g' /lib/systemd/system/c9.service ; sudo sed -i 's|{username}|c9user|g' /lib/systemd/system/c9.service ; sudo sed -i 's|{password}|123456|g' /lib/systemd/system/c9.service ; sudo systemctl daemon-reload ; sudo systemctl enable c9 ; sudo systemctl start c9 ; sudo systemctl status c9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement