Fork me on GitHub

Install on Fedora VPS

  1. Get a VPS, my preference is Fedora
  2. dnf remove cockpit* gssproxy ModemManager
  3. dnf install mc htop install httpd mariadb php composer git
  4. dnf update
  5. dnf clean all
  6. Firewall Config
  7. firewall-cmd --permanent --remove-service=cockpit
  8. firewall-cmd --permanent --add-service=http
  9. firewall-cmd --list-all
  10. firewall-cmd --state
  11. disable selinux
  • mc -e /etc/sysconfig/selinux
  • set to disabled
  1. reboot

Get Framework

  1. Create Workspace
  2. mkdir -p /opt/data/core
  3. chmod 777 /opt/data/core
  4. cd /opt/data/core
  5. Get composer.json
  6. wget https://raw.githubusercontent.com/bravedave/dvc/master/example/composer.json
  7. Create a User
  8. useradd [a user]
  9. chown [a user].[a user] composer.json
  10. su [a user] -c 'composer install'

ready to deploy

  • e.g.
  1. cd /opt/data/core
  2. cp -R vendor/bravedave/dvc/example/ [project]
  3. mkdir -p --mode=0777 [project]/application/app/public/js
  4. mkdir -p --mode=0777 [project]/application/app/public/css

apache stuff

  1. create apache config
  2. start apache