Setting up YetiForce, an open-source CRM system, can be straightforward, especially if you’re familiar with web applications and PHP-based systems. Here’s a step-by-step guide:
/var/www/html/yetiforce for Apache).CREATE DATABASE yetiforce_db;
CREATE USER 'yetiforce_user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON yetiforce_db.* TO 'yetiforce_user'@'localhost';
FLUSH PRIVILEGES;
yetiforce_db, yetiforce_user, and password with your actual database name, username, and password.Apache: Ensure .htaccess is enabled and mod_rewrite is installed. You may add a virtual host configuration for YetiForce:
<VirtualHost *:80>
ServerName yourdomain.com
DocumentRoot /var/www/html/yetiforce
<Directory /var/www/html/yetiforce>
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Enable the site and restart Apache:
sudo a2ensite yourdomain.com.conf
sudo systemctl restart apache2
NGINX: Add a server block:
server {
listen 80;
server_name yourdomain.com;
root /var/www/html/yetiforce;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
Enable the site and restart NGINX:
sudo ln -s /etc/nginx/sites-available/yourdomain.com /etc/nginx/sites-enabled/
sudo systemctl restart nginx
sudo chown -R www-data:www-data /var/www/html/yetiforce
sudo chmod -R 755 /var/www/html/yetiforce
http://yourdomain.com. Follow the on-screen instructions to complete the YetiForce installation.