-
Update server first:
yum update
-
Generate install command from:
https://vestacp.com/install
-
Change Vesta port:
- Change port on VestaCP firewall at
https://YourIPAddress:8083/list/firewall
- Edit
/usr/local/vesta/nginx/conf/nginx.conf
anc change port here too - Restart:
service vesta restart
- Change port on VestaCP firewall at
-
Enable SSL for Vesta:
cd /usr/local/vesta/ssl
, make backup of current filesln -s /home/admin/conf/web/domain.key /usr/local/vesta/ssl/certificate.key
ln -s /home/admin/conf/web/domain.crt /usr/local/vesta/ssl/certificate.crt
-
Enable http2 in default template:
- Edit
/usr/local/vesta/data/templates/web/nginx/default.stpl
, add ssl http2
- Edit
-
Update OpenSSH version:
https://gist.github.com/fernandoaleman/f42540a59c8ddff664543e84fddf088b
-
Allow security keys for login:
- Edit
/etc/ssh/sshd_config
, add:PubkeyAcceptedKeyTypes [email protected],[email protected],rsa-sha2-512
- Edit
Last active
May 23, 2022 19:35
-
-
Save reanim8ed/51edba895882ace1ba0024da9c132085 to your computer and use it in GitHub Desktop.
[Vesta installation in CentOS7] #vesta #centos
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment