Project

General

Profile

Actions

Wiki

Polarity Server init
• server name: wsp-01
• adduser wsc
• sudo apt install net-tools
• usermod -aG sudo wsc
• mkdir /home/wsc/polarity
• sudo apt install nginx
• sudo chmod -R a+rw /var/log/nginx
• sudo usermod -a -G www-data wsc
• sudo ufw allow ssh
• sudo ufw allow 80
• sudo ufw allow 443
• sudo apt install cmake
• sudo apt install build-essential
• sudo apt install libboost-all-dev
• sudo apt install libssl-dev
• follow the steps in libraries/libbcrypt/README.md and remove installation files after the Process has finished
• cd /usr/local/lib
• sudo git clone https://github.com/mysql/mysql-connector-cpp.git
• cd mysql-connector-cpp
• sudo cmake ./ -DBUILD_STATIC=ON
• sudo cmake --build . (watch out for problems caused by limited memory)
• cmake environments
• cd environments
• git clone https://cyberCollie:<access_token>@github.com/cyberCollie/PolarityEnvironments.git environments
• sudo apt install mysql-client-core-8.0
• sudo apt install php (needs > 8.2)
• sudo apt install sshpass
• curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
• sudo apt install nodejs
• sudo apt install mysql-client-core-8.0

Dev init
• sudo apt install gdb-server
• server /home/wsc/deploy/server/ vboxsf defaults,uid=1000,gid=1000 0 0

Updated by Cyber Collie 11 months ago · 1 revisions