Hello,
I have a local server running Debian 8 and accessible from outside with static IP (Zone DNS modified per project). This server is omy for development environment and my personal projects or tools.
This server runs Apache2.4 and MySQL and runs more than 25 projects (Magento, wordpress and symphony).
Path configuration for the projects /srv/projects/dev/www/*.[local|com]/htdocs
So my questions :
1.- Can I install ERPNext on /srv/projects/dev/www/erp.mydomain.com/htdocs ?
2.- Can I run only apache and not nginx ?
3.- So do you have any experience with this or any input ?
I’d be best if you can get a server / machine with a minimal OS install. You can get erpnext running with your existing server with some effort (figure out the apache config, upgrading to MariaDB, etc).
You can install frappe on any path as long as you make sure to manage config files yourself
You may able to run it using Apache with some additional modules but nginx is well supported by frappe/erpnext and you can sit relax if you use bench tool
If you manage to install dependencies and bench tool manually for development environment, then you dont even need Apache/nginx, bench start will start web server and it uses honcho to manage multiple processes in developer mode.
bash setup_frappe.sh --setup-production
Installing for debian 8 amd64
In case you encounter an error, you can post on https://discuss.frappe.io
Adding debian mariadb repo
Installing packages for debian. This might take time...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version.
fontconfig is already the newest version.
git is already the newest version.
htop is already the newest version.
libcrypto++-dev is already the newest version.
libxext6 is already the newest version.
libxrender1 is already the newest version.
libxslt1-dev is already the newest version.
libxslt1.1 is already the newest version.
libssl-dev is already the newest version.
postfix is already the newest version.
python-dev is already the newest version.
python-pip is already the newest version.
python-setuptools is already the newest version.
redis-server is already the newest version.
supervisor is already the newest version.
vim is already the newest version.
xfonts-75dpi is already the newest version.
xfonts-base is already the newest version.
ntp is already the newest version.
screen is already the newest version.
nodejs is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nodejs : Conflicts: npm
E: Unable to correct problems, you have held broken packages.
Hello,
Seems that I’m getting closer.
First of all in my preview comment I have 2 different versions between nodejs and node… but they must be the same.
So I fix this removing node and creating a symlink from nodejs. Now I get:
# nodejs -v
v0.12.8
# node -v
v0.12.8
Then apt-get was not upgrading MariaDB and all the other dependencies due 2 lines added to my source-list by “bash setup_frappe.sh”
#So I deleted this lines and now all is working
deb http://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/debian jessie main
deb-src http://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/debian jessie main
#mariadb is updated
Now this is working :
cd ~
bench init frappe-bench
cd frappe-bench
bench get-app erpnext https://github.com/frappe/erpnext # Add ERPNext to your bench apps
bench new-site site1.local # Create a new site
bench install-app erpnext # Install ERPNext for the site