Control Web Panel
WebPanel => Information => Topic started 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
-
RoundCube Password stored in:
/usr/local/cwpsrv/htdocs/resources/admin/include/.passwords
-
Configuration file locations for the following please
Email Forwarders
Auto Responders
-
There is a MySQL postfix database and all postfix config are generally in /etc/postfix.
Most paths are stored in /etc/postfix/main.cf.
-
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.
-
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.
-
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
-
Thought as much. Thanks for the feedback. Hope it makes it to the core in CWP.
-
by editing account you can modify security limits.
-
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
-
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
-
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.
-
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
-
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.
-
I was hoping for the CWP Panel configs and things like that.
-
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
-
thanks for the info
I would like to see a single file server config backup to allow easy server migration.
-
Very beneficial.
-
CWP has a Wiki article, we also have a slightly updated one at:
https://kb.starburstservices.com/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/control-web-panel-cwp-configuration-file-locations/ (https://kb.starburstservices.com/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/control-web-panel-cwp-configuration-file-locations/)
Along with one for Log Locations:
https://kb.starburstservices.com/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/control-web-panel-cwp-log-file-locations/ (https://kb.starburstservices.com/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/control-web-panel-cwp-log-file-locations/)
If anyone has any updates or new paths, let us know. :)
-
Very useful.
-
CWP has a Wiki article, we also have a slightly updated one at:
https://kb.starburstservices.com/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/control-web-panel-cwp-configuration-file-locations/ (https://kb.starburstservices.com/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/control-web-panel-cwp-configuration-file-locations/)
Along with one for Log Locations:
https://kb.starburstservices.com/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/control-web-panel-cwp-log-file-locations/ (https://kb.starburstservices.com/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/control-web-panel-cwp-log-file-locations/)
If anyone has any updates or new paths, let us know. :)
Top job very handy buddy.
-
thank you for sharing this information.
-
I'm fairly certain the congratulatory messages by first time posters was just a test to see if they had permissions to post a reply, and therefore spam. "Useful information" and "Thanks for sharing" are pretty worthless contributions to the thread.