setting permissions on web server

Hi crm gurus

I’ve been failing to install suitecrm on a vps. I think it may be because I don’t understand, and haven’t completed this step from the installation guide under "Copying suiteCRM files to the server;

Set ownership of the SuiteCRM directory:
    chgrp ApacheUser.ApacheGroup <suitecrmroot> -R recursively sets ownership for root directory to Apache user and group. 
The system user that your web server uses varies depending on your operating system. Common web server users are as follows:
    apache (Linux/Apache)
    nobody (Linux/Apache)
    IUSR_computerName (Windows/IIS) 

If you are unsure how to set your web server user on your operating system, contact your web server host. If you are installing SuiteCRM locally and need assistance, visit our support forums.

Set the following permissions on the SuiteCRM directory(Linux):
    sudo chown -R www-data:www-data .
    sudo chmod -R 755 .
    sudo chmod -R 775 cache custom modules themes data upload config_override.php 

The commands/steps taken to setting permissions differs dependant on your operating system. If you are experiencing issues with setting permissions on your SuiteCRM instance, visit our support forums.

… I could use a little more detailed instruction. I have no idea where to enter those commands or what impact it might have.

Can anyone help a newbie out?

Is your VPS Linux? And does your user on the server have root access?

Yes, the server is Linux and I have root access. Not 100% sure that the database user I am telling suiteCRM to use has root access. Can you provide any insight on the best way to test that?

Is your database on the same server as SuiteCRM?

Yes, I host several websites there, and I just made a sub-directory to install the suiteCRM.

You can test to see if the username and password are correct by going to a command prompt on that server and try logging into MySQL: mysql -uYOURSUITECRMUSER -pYOURSUITECRMPASSWORD

1 Like

Thanks, I’ll give that a try and let you all know how it worked out.