Created
July 9, 2013 03:13
-
-
Save max-mapper/5954398 to your computer and use it in GitHub Desktop.
commands typed when initially setting up the browserify-cdn VPS ubuntu installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // root | |
| ls | |
| vim | |
| ls | |
| ls -alh | |
| pwd | |
| mkdir .ssh | |
| cd .ssh | |
| vim known_hosts | |
| exit | |
| vim /etc/ssh/sshd_config | |
| cd .ssh | |
| ls | |
| mv known_hosts authorized_keys | |
| exit | |
| ls | |
| vim /etc/sudoers | |
| add-user | |
| adduser | |
| useradd | |
| adduser max | |
| vim /etc/sudoers | |
| exit | |
| exec start-stop-daemon --start -u max --chdir /home/max --exec /usr/local/bin/mongroup start | |
| exec start-stop-daemon --start -u max --chdir /home/max --exec /usr/local/bin/mongroup start & | |
| ls | |
| ps -fe | |
| ps -fe | grep mon | |
| ps -fe\ | |
| ps -fe | |
| ps -fe | grep mon | |
| ps -fe | grep node | |
| ls | |
| cd /home/max | |
| ls | |
| mongroup start | |
| ps -fe | grep node | |
| cat mongroup.conf | |
| ls | |
| cat index.js | |
| node index.js | |
| ps -fe | grep mon | |
| ls | |
| cd src/node/ | |
| git checkout v0.10.12 | |
| ./configure | |
| make | |
| make install | |
| node -v | |
| cd .. | |
| ls | |
| cd | |
| cd /home/max | |
| ls | |
| mongroup start | |
| mongroup stop | |
| exit | |
| // max | |
| vim .ssh/authorized_keys | |
| exit | |
| ls | |
| cd .ssh | |
| ls | |
| cat authorized_keys | |
| vim authorized_keys | |
| exit | |
| ls -alh | grep node | |
| ls -alh | |
| ps -fe | grep node | |
| ps -fe | |
| ps -fe | grep mon | |
| initctl list | |
| initctl list | grep mon | |
| start mongrou | |
| start mongroup | |
| history | grep mong | |
| history | grep vim | |
| which initctl | |
| ls /etc/upstart | |
| ls /etc | |
| cd /etc/init | |
| ls | |
| cat ssh.conf | |
| cat mongroup.conf | |
| /usr/local/bin/mongroup | |
| start-stop-daemon | |
| exec start-stop-daemon --start -u max --chdir /home/max --exec /usr/local/bin/mongroup start | |
| ls | |
| mv mongroup/mongroup.conf . | |
| ls | |
| rm -rf mongroup | |
| exec start-stop-daemon --start -u max --chdir /home/max --exec /usr/local/bin/mongroup start | |
| sudo exec start-stop-daemon --start -u max --chdir /home/max --exec /usr/local/bin/mongroup start | |
| su root | |
| exit | |
| ls | |
| sudo mongroup stop cdn | |
| cd src/ | |
| rm -rf browserify-cdn/ | |
| sudo rm -rf browserify-cdn/ | |
| git clone https://github.com/jesusabdullah/browserify-cdn.git | |
| cd browserify-cdn/ | |
| npm install | |
| cd | |
| sudo mongroup start | |
| sudo mongroup tail cdn | |
| sudo mongroup status | |
| ls -alh /var/log/cdn.log | |
| ls | |
| npm install -g lev | |
| sudo npm install -g lu | |
| lu cdn.db | |
| sudo mongroup stop | |
| lu cdn.db | |
| sudo lu cdn.db | |
| ps -fe | grep node | |
| sudo lu cdn.db | |
| lu cdn.db | |
| sudo mongroup start | |
| less /var/log/cdn.log | |
| sudo mongroup tail |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment