-
-
Couldn't load subscription status.
- Fork 15
Installation in Detail
Elad Avron edited this page Feb 20, 2020
·
6 revisions
SSH to Server as initial user
ssh -i KEYNAME.pem [email protected]
setup new sudo user with password
sudo adduser usernamesudo usermod -aG sudo username-
sudo vi /etc/ssh/sshd_configand setPasswordAuthentication yes sudo systemctl restart sshd- Login as the new user
Install Apache
sudo apt update-
sudo apt install apache2and go to your server root to see if it worked
Install Let's Encrypt
Make sure htaccess files will work
sudo vi /etc/apache2/sites-available/YOURCONFIG-le-ssl.conf- add the following block
<Directory /var/www/YOURPATH/> AllowOverride All </Directory> sudo apache2ctl configtestsudo systemctl restart apache2
Install
sudo apt install mysql-server-
sudo mysql_secure_installationNOTE: the VALIDATE PASSWORD PLUGIN can cause issues. Use with caution if at all.
Create the MySQL table and user
mysql -u root -pCREATE DATABASE csb DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;GRANT ALL ON csb.* TO 'csbuser'@'localhost' IDENTIFIED BY 'password';
sudo apt install php libapache2-mod-php php-mysql
sudo apt-get install php-pearsudo pear install mailsudo pear install Net_SMTPsudo pear install Auth_SASLsudo pear install mail_mime
see SASS
sudo apt install nodejssudo apt install npmsudo npm install -g sass
- go to where you want to install CSB, example
cd /var/www/html sudo git clone https://github.com/CosmoQuestX/CSB7.0.git- Make the software owned by apache
sudo chown -R www-data CSB7.0 - go to
https://YOURDOMAIN/CSB7.0/csb-installer/and follow instructions