-
Notifications
You must be signed in to change notification settings - Fork 6
Custom installation under Plesk CentOS
Alexandru Trandafir Catalin edited this page Nov 16, 2016
·
2 revisions
- dev-web.heavydots.com (frontend)
- dev-admin.heavydots.com (backend)
- Go to the directory of the first subdomain
- Remove all files inside this directory
- (Add ssh keys if required previously)
- Clone the repo inside of it with SSH user of domain
- That will create a new folder inside of it that we will need to rename / move
- Rename
/var/www/vhosts/heavydots.com/dev-web.heavydots.com
to/var/www/vhosts/heavydots.com/dev-web.heavydots.com_old
- Rename
/var/www/vhosts/heavydots.com/dev-web.heavydots.com_old/hdweb-yii2
to/var/www/vhosts/heavydots.com/dev-web.heavydots.com
- Switch to root privileges and change ownership as this:
chown heavydots:psaserv dev-web.heavydots.com
- Edit subdomains settings and set those as root folders:
- For
dev-web.heavydots.com
SETdev-web.heavydots.com/frontend/web
- For
dev-admin.heavydots.com
SETdev-web.heavydots.com/backend/web
- For