This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
481
CentOS 7 Problems / Re: Google indexing link to CWP
« on: September 15, 2023, 10:20:46 PM »
You may have to create the files on the server via a root shell using the nano text editor. Then you would also want to make them immutable, otherwise the next CWP update would likely delete them.
Code: [Select]
chattr +i /usr/local/cwpsrv/htdocs/admin/robots.txt
chattr +i /usr/local/cwpsrv/htdocs/admin/admin/robots.txt
482
DNS / Re: domain1 to domain2
« on: September 15, 2023, 05:48:46 PM »
You want domain1 and domain2 to have the same content? If so, you don't need separate user accounts, you just make domain2 and Add-on domain to user A's account, so it contains both domain1 and domain2.
483
MySQL / Re: FTP stopped after the MariaDB upgrade
« on: September 15, 2023, 02:05:15 PM »
Duplicate thread?
484
FTP / Re: FTP stopped after the MariaDB upgrade
« on: September 15, 2023, 02:02:56 PM »
What version of pure-ftpd are you running? Did you originally configure it with the recommended changes in the wiki?
https://wiki.centos-webpanel.com/category/ftp
Also, this is a good general working guide to configuring a CWP server from scratch:
https://www.awsmonster.com/cwp-installation-and-configuration_12
https://wiki.centos-webpanel.com/category/ftp
Also, this is a good general working guide to configuring a CWP server from scratch:
https://www.awsmonster.com/cwp-installation-and-configuration_12
485
How to / Re: Direct domain name to proper directory
« on: September 15, 2023, 01:58:39 PM »
When you made the new user account, did it not create the public_html folder under the /home/userdir path, along with a www symlink?
To replicate your live server to a staging/backup server, are you using CWP Migration to clone your accounts?
To replicate your live server to a staging/backup server, are you using CWP Migration to clone your accounts?
486
Installation / Re: ubuntu with arm64
« on: September 14, 2023, 10:46:39 PM »
I would not recommend CentOS Stream 8, as it is EOL soon. Look toward AlmaLinux 8.8, as you can then ELevate to v9 when CWP fully support EL9 distributions (hopefully soon, per the devs).
487
CentOS 7 Problems / Re: Which files should I remove to decrease the /dev/mapper/centos-root size.
« on: September 14, 2023, 08:42:37 PM »
Scan for large, ballooning log files, as Igor indicated. Truncate them to zero bytes:
Code: [Select]
truncate -s0 /usr/local/apache/logs/*
truncate -s0 /usr/local/apache/domlogs/*.log
Then implement logrotate to keep logs from growing exponentially in size.
488
PHP / Re: Fail PHP-FPM build
« on: September 14, 2023, 08:39:13 PM »
Opposite of TMI (too much information); too little information to help you properly! Are you trying to build php 7.0? If so, why? Why not 7.4, which granted is EOL, but at least more current and secure than 7.0.
489
Installation / Re: ubuntu with arm64
« on: September 14, 2023, 08:36:46 PM »
CWP still references CentOS, even though they are abstracting it to be Control Web Panel. It currently requires an EL7 or EL8 distribution.
https://control-webpanel.com/installation-instructions#step2
https://control-webpanel.com/installation-instructions#step2
Quote
3. Software Requirements
You must have a clean/fresh installation of supported operating systems:
CentOS 7 MINIMAL is recommended version. (RECOMMENDED STABLE)
The best version to be used with CWP as it provides the most features and CWP Secure Kernel.
CWP-CentOS 8 MINIMAL or BOOT Stream-Delayed. (RECOMMENDED LATEST)
We have our custom repositories making CentOS 8 Stream a stable version. More Info
CentOS 8 Stream MINIMAL or BOOT
Direct installation or converted from CentOS 8 Linux. (Recommended)
Rocky Linux 8 MINIMAL or BOOT
Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7
Alma Linux 8 MINIMAL or BOOT
Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7
Oracle Linux 7 & 8 MINIMAL or BOOT
Compatible but with possible issues, Recommended is to use CentOS 8 Stream or CentOS 7
492
CentOS 7 Problems / Re: Google indexing link to CWP
« on: September 14, 2023, 02:25:35 AM »
Sorry, but that's not correct syntax. You can't specify a domain in the robots.txt -- it just has to be at the site root for whatever domain you are wanting to control.
Code: [Select]
User-agent: Googlebot
Disallow: /
493
How to / Re: how to change max_execution_time in centos 7 main server
« on: September 14, 2023, 02:21:46 AM »
Your phpinfo link is not accessible currently, but I would hazard a guess to say perhaps you are editing the wrong php.ini -- one that doesn't apply to your active PHP. Otherwise, if it is php-fpm, you would need to restart that version of PHP after editing the php.ini for that version.
494
CentOS 7 Problems / Re: Google indexing link to CWP
« on: September 13, 2023, 02:35:07 PM »
You can use robots.txt to control what gets indexed and what doesn't. You can also ask Google to delete admin areas of your site from their index. They are usually prompt about those kind of takedown requests.
495
PHP Selector / Re: in alma PHP SELECTOR no active pgsql,
« on: September 12, 2023, 08:47:51 PM »
Is this AlmaLinux 8 or 9? Be aware that EL9 support is a work-in-progress, so expect issues if you are using AlmaLinux 9. We haven't had clear communication from the dev team yet about full EL9 support.