Control Web Panel

WebPanel => Information => Topic started by: Administrator on September 26, 2014, 06:42:03 PM

Title: CentOS Configuration File Locations (CWP)
Post by: Administrator on September 26, 2014, 06:42:03 PM
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


Title: Re: CentOS Configuration File Locations (CWP)
Post by: apmuthu on November 05, 2014, 04:26:16 PM
RoundCube Password stored in:
/usr/local/cwpsrv/htdocs/resources/admin/include/.passwords
Title: Re: CentOS Configuration File Locations (CWP)
Post by: ashokjp on November 21, 2014, 03:16:44 PM
Configuration file locations for the following please

Email Forwarders
Auto Responders
Title: Re: CentOS Configuration File Locations (CWP)
Post by: apmuthu on November 22, 2014, 12:12:17 PM
There is a MySQL postfix database and all postfix config are generally in /etc/postfix.
Most paths are stored in /etc/postfix/main.cf.
Title: Re: CentOS Configuration File Locations (CWP)
Post by: Darkroom on January 05, 2016, 02:44:17 AM
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.
Title: Re: CentOS Configuration File Locations (CWP)
Post by: apmuthu on January 05, 2016, 02:52:17 AM
Did you try the sysctl (https://www.centos.org/docs/4/4.5/Reference_Guide/s1-proc-sysctl.html) method in this link (http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/)?

Otherwise, check the databases for any clues.
Title: Re: CentOS Configuration File Locations (CWP)
Post by: Darkroom on January 05, 2016, 03:01:02 AM
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
Title: Re: CentOS Configuration File Locations (CWP)
Post by: apmuthu on January 05, 2016, 03:45:14 AM
Thought as much. Thanks for the feedback. Hope it makes it to the core in CWP.
Title: Re: CentOS Configuration File Locations (CWP)
Post by: Administrator on July 25, 2016, 08:40:32 AM
by editing account you can modify security limits.
Title: Re: CentOS Configuration File Locations (CWP)
Post by: so1976 on October 15, 2016, 04:20:29 PM
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
Title: Re: CentOS Configuration File Locations (CWP)
Post by: shoulders on March 05, 2023, 08:45:00 AM
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
Title: Re: CentOS Configuration File Locations (CWP)
Post by: overseer on March 06, 2023, 07:01:20 AM
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.
Title: Re: CentOS Configuration File Locations (CWP)
Post by: shoulders on March 06, 2023, 09:08:10 AM
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

Title: Re: CentOS Configuration File Locations (CWP)
Post by: overseer on March 07, 2023, 03:15:58 AM
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.
Title: Re: CentOS Configuration File Locations (CWP)
Post by: shoulders on April 18, 2023, 01:08:04 PM
I was hoping for the CWP Panel configs and things like that.
Title: Re: CentOS Configuration File Locations (CWP)
Post by: overseer on April 18, 2023, 02:02:09 PM
CWP mostly lives in /usr/local/cwpsrv
So you would want to look at the /usr/local/cwpsrv/conf and /usr/local/cwpsrv/conf.d directories
Title: Re: CentOS Configuration File Locations (CWP)
Post by: shoulders on April 18, 2023, 02:18:07 PM
thanks for the info

I would like to see a single file server config backup to allow easy server migration.