CentOS Configuration File Locations (CWP)

Started by Administrator, September 26, 2014, 06:42:03 PM

Previous topic - Next topic

Administrator

Webmail & roundcube location
/usr/local/apache/htdocs/roundcube/

phpMyAdmin
/usr/local/apache/htdocs/phpMyAdmin/

MySQL root Password locations files
/root/.my.cnf
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php

CWP SSL Configuration File
/usr/local/cwpsrv/conf.d/cwp-ssl.conf



apmuthu

RoundCube Password stored in:
/usr/local/cwpsrv/htdocs/resources/admin/include/.passwords

ashokjp

Configuration file locations for the following please

Email Forwarders
Auto Responders

apmuthu

There is a MySQL postfix database and all postfix config are generally in /etc/postfix.
Most paths are stored in /etc/postfix/main.cf.

Darkroom

How do you increase the number of open files a user (CWP or system)?  Editing /etc/security/limit.conf and /etc/sysctl.conf and then # sysctl -p doesn't do it.

apmuthu

Did you try the sysctl method in this link?

Otherwise, check the databases for any clues.

Darkroom

I figured it out. Had to read through the comments, this one fixed it:
Edit the /etc/pam.d/system-auth, and add this entry:
session required /lib/security/$ISA/pam_limits.so

apmuthu

Thought as much. Thanks for the feedback. Hope it makes it to the core in CWP.

Administrator

by editing account you can modify security limits.

so1976

check current connections:

    ulimit -n

To increase the limit, open file:

    nano /etc/security/limits.conf

add the following lines at the end:
* soft nofile 65535

* hard nofile 65535

shoulders

is there a single list of all of the config files that I would need to copy if I wanted to transfer all my settings etc.. to another CWP server.

Example scenario: I  have done a new install on Almalinux and want copy my setup there

I know about user account migration tools but if there is a manually option for completeness those file locations could be added here.

thanks

overseer

That's a pretty vast question... I built my first CWP server and muddled around with the configs for roughly 2 weeks until I got things to a workable, satisfied state. It actually wasn't too bad because my years of cPanel experienced gave me a good reference point. Then I was able to build 2 more CWP servers in a matter of a few hours once that initial learning curve had been done. And then I was able to shuffle some accounts back & forth between them to better load balance and take advantage of more resources on one server.

shoulders

I don't think it is a difficult thing to do because cPanel already allow you to save the sever settings in a server backup.

This would be the server settings and not client data. I can see there might need to be checks on import for such things as the presence of a particular PHP version. A message once import is finished saying what was not imported and what needs to be done. Maybe even a pre-import report telling the admin what he needs to manually install before import.

Further uses would be


  • CWP to CWP when moving from stream to alma
  • Backing up your server settings
  • Allow cloning of your server for testing
  • Potential sharing of your server settings with a colleague

overseer

Sorry, but I trust my own methods and intuition for customization over CWP's automated & buggy toolset. Hopefully it will improve with time, but I feel it to be beta quality at its current level.

shoulders

I was hoping for the CWP Panel configs and things like that.