ENiGMA½ BBS on EL7: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
# Install stuff | # Install stuff | ||
yum -y groupinstall development | yum -y groupinstall development | ||
yum -y install httpd gcc gcc-c++ nodejs npm | yum -y install httpd gcc gcc-c++ mlocate vim nodejs npm | ||
# Enable and start apache | # Enable and start apache | ||
Line 28: | Line 28: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
mkdir /var/www/html | mkdir /var/www/html | ||
cd /var/www/html | cd /var/www/html | ||
npm -g install npm@latest | npm -g install npm@latest | ||
npm install | npm install | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Setup SSH: | |||
<syntaxhighlight lang="bash"> | |||
mkdir /var/www/html/misc | |||
openssl genrsa -des3 -out ./misc/ssh_private_key.pem 8191 | |||
</syntaxhighlight> | |||
Initial config: | |||
<syntaxhighlight lang="bash"> | |||
vim /var/www/config.hjson | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="dot"> | |||
general: { | |||
boardName: AN!BBS | |||
} | |||
servers: { | |||
ssh: { | |||
privateKeyPass: <passphrase used in keygen> | |||
enabled: true /* set to false to disable the SSH server */ | |||
} | |||
} | |||
messages: { | |||
areas: [ | |||
{ name: "anvil_discusssion", desc: "Anvil! Discussion", groups: [ "users" ] } | |||
] | |||
} | |||
</syntaxhighlight> | |||
Start it up; | |||
Revision as of 22:45, 1 January 2016
Warning: This is just a raw dump on notes. Built on internal VMs for now. |
CentOS 7
# Setup our internal repo (to be moved to external repo)
curl http://192.168.122.231/repo/el7/alteeve.repo > /etc/yum.repos.d/alteeve.repo
# Install stuff
yum -y groupinstall development
yum -y install httpd gcc gcc-c++ mlocate vim nodejs npm
# Enable and start apache
systemctl start httpd
systemctl enable httpd
# Open http
firewall-cmd --add-service http
firewall-cmd --add-service https
firewall-cmd --runtime-to-permanent
Browse to http://enigma-bbs, verify default apache page is visible.
Download ENiGMA½:
mkdir /var/www/html
cd /var/www/html
npm -g install npm@latest
npm install
Setup SSH:
mkdir /var/www/html/misc
openssl genrsa -des3 -out ./misc/ssh_private_key.pem 8191
Initial config:
vim /var/www/config.hjson
general: {
boardName: AN!BBS
}
servers: {
ssh: {
privateKeyPass: <passphrase used in keygen>
enabled: true /* set to false to disable the SSH server */
}
}
messages: {
areas: [
{ name: "anvil_discusssion", desc: "Anvil! Discussion", groups: [ "users" ] }
]
}
Start it up;
References
- ENiGMA½ BBS on Github
- Author's blog
Any questions, feedback, advice, complaints or meanderings are welcome. | |||
Alteeve's Niche! | Enterprise Support: Alteeve Support |
Community Support | |
© Alteeve's Niche! Inc. 1997-2024 | Anvil! "Intelligent Availability®" Platform | ||
legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions. |