Install on Fedora VPS
- Get a VPS, my preference is Fedora
- dnf remove cockpit* gssproxy ModemManager
- dnf install mc htop install httpd mariadb php composer git
- dnf update
- dnf clean all
- Firewall Config
- firewall-cmd --permanent --remove-service=cockpit
- firewall-cmd --permanent --add-service=http
- firewall-cmd --list-all
- firewall-cmd --state
- disable selinux
- mc -e /etc/sysconfig/selinux
- set to disabled
- reboot
Get Framework
- Create Workspace
- mkdir -p /opt/data/core
- chmod 777 /opt/data/core
- cd /opt/data/core
- Get composer.json
- wget https://raw.githubusercontent.com/bravedave/dvc/master/example/composer.json
- Create a User
- useradd [a user]
- chown [a user].[a user] composer.json
- su [a user] -c 'composer install'
ready to deploy
- e.g.
- cd /opt/data/core
- cp -R vendor/bravedave/dvc/example/ [project]
- mkdir -p --mode=0777 [project]/application/app/public/js
- mkdir -p --mode=0777 [project]/application/app/public/css
apache stuff
- create apache config
- start apache