Please enable JavaScript.
Coggle requires JavaScript to display documents.
Standard Requests (Server (Future (Password/Security (IDS, Firewall, SSH,…
Standard Requests
-
Server
Future
-
-
-
-
-
upgrade ssl, letsencrypt might be bad
-
-
-
Client
Now
Settings
-
Approver Change
-
Make sure its valid, aka it will work
-
-
-
-
-
Pagination
Change Number to Input Field, allows inputing custom number
Upon Invalid Number Entered, automatically go to the last page
-
-
-
-
Future
-
Admin Panel
-
-
-
Display all user info, minus password
-
-
-
-
-
-
-
-
-
-
-
-
-
-
sudo ufw allow ssh
sudo ufw allow 25/tcp
sudo ufw allow 443/tcp
sudo ufw allow 80/tcp
sudo ufw show added
sudo ufw enable
-
curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh
sudo bash nodesource_setup.sh
sudo apt-get install nodejs
sudo apt-get install build-essential
( for some npm modules)
sudo npm update npm -g
-
reset.sh on server!/bin/bash
pm2 delete server
sudo rm -r standard-requests/
git clone ssh://git@github.com/adamloe/standard-requests
cd standard-requests/
sudo npm install
pm2 start server/server.js
update.sh on dev machine!/bin/bash
git add *
git commit -a -m "automated commit"
git push
ssh -t adam@192.241.128.166 "./reset.sh; exit; bash"
PostgreSQL short version
./configure
make
su
make install
adduser postgres
mkdir /usr/local/pgsql/data
chown postgres /usr/local/pgsql/data
su - postgres
/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
/usr/local/pgsql/bin/createdb test
/usr/local/pgsql/bin/psql test
-
-
Bcrypt Only Needs to be setup on the client but it doesn't inherently change the flow Only hides the password from being sent on the server