Show Posts

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.


Topics - techcomputerworld

Pages: [1]
1
SSL / problem with certificate on the subdomain
« on: August 05, 2020, 09:59:26 AM »
the problem is that I have the subdomain registered in Web Server Setting, SSL certificates, there I have the certificate of a subdomain and it keeps giving me the warning that the certificate is wrong when I enter the web page.
In addition to having registered it and there I really want to make an index.html page to redirect everything to my main domain because it keeps taking me to the page www.domain.com, what solution does it have?

2
I need to disable the clamd or ClamAV forever I have tried it in several ways, for example from the CentOS Web Panel I did it and it does not work, from the CentOS console either.
From the console I did it with:
# systemctl stop clamd
# systemctl disable clamd
and from the control panel also no method works

3
Hello I have a problem my vps is set to 100% if I have clamd active or clamAV I have tried with the script that is supposed to solve the problem, but I do not solve the problem that the virtual machine is set to 100%.
you can run this script and wait
sh /scripts/clamd_fix_100_cpu_usage
this script can not fix the problem CPU 100%
There is no way to put the image where you see that I have disabled the clamd or clamav service on the system.
In Services config - Startup services
In the CentOS 7 console:
[root@mail ~]# systemctl status clamd
● clamd.service - clamd scanner () daemon
   Loaded: loaded (/usr/lib/systemd/system/clamd.service; disabled; vendor preset: disabled)
   Active: inactive (dead) since Thu 2020-07-16 10:05:19 UTC; 1h 33min ago
     Docs: man:clamd(8)
           man:clamd.conf(5)
           https://www.clamav.net/documents/
  Process: 32257 ExecStart=/usr/sbin/clamd -c /etc/clamd.d/amavisd.conf --foreground=yes (code=killed, signal=TERM)
 Main PID: 32257 (code=killed, signal=TERM)

Jul 16 10:05:19 mail.midominio.com systemd[1]: clamd.service holdoff time over, scheduling restart.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopped clamd scanner () daemon.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Started clamd scanner () daemon.
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopping clamd scanner () daemon...
Jul 16 10:05:19 mail.midominio.com systemd[1]: Stopped clamd scanner () daemon.
long ago I put the line:
systemctl disable clamd
What is the solution to the problem? thank you.

4
CentOS Configuration / why can not I configure ClamAV always stop?
« on: June 22, 2020, 10:02:34 AM »
My problem is that the virtual machine with ClamAV is set to 100% and the web pages are not going well, I have to work without ClamAV and I have tried the method both from the control panel to stop ClamAV and to set a task that directly stops the clamd service, every hour, and no method works, how do I solve the problem?

5
Hello I have a performance problem using just what they recommend here in this link
https://forum.centos-webpanel.com/index.php?topic=5804.0
but I can't get the desired performance and that the websites are going well in any domain I have for the VPS
I have tried to put nginx with php-fpm but I have not succeeded I think it is the best option for optimal performance but there is no way to do it and make each page work as it should in WordPress. I have simply set up the VPS to run WordPress and am not even a PHP developer.

6
I have seen that the performance tested with all the options that apache enters and it does not go well I want to try with nginx and php-fpm but it fails me to navigate between web pages within WordPress, the issue is that I have read that it is fixed with this command and I have also seen this link and the problem does not fix it

https://forum.centos-webpanel.com/index.php?topic=6548.0
I have seen that the problem can be solved with this line but as I put it in the vhost
 location / {
                try_files $uri $uri/ /index.php?$args;
        }
when trying to put it where it does not matter it does not work for example on this site:
Code: [Select]
nano /etc/nginx/conf.d/vhosts/dominio.com.vhosts

server {
        listen 188.166.23.139:80;
        server_name quedamosencasa.com  www.quedamosencasa.com;
        root /home/brujo/public_html;
        index index.php index.html index.htm;
        access_log /usr/local/apache/domlogs/quedamosencasa.com.bytes bytes;
        access_log /usr/local/apache/domlogs/quedamosencasa.com.log combined;
        error_log /usr/local/apache/domlogs/quedamosencasa.com.error.log error;


        location / {

                location ~.*\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
                        expires max;
                }

                location ~ [^/]\.php(/|$) {
                        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                        if (!-f $document_root$fastcgi_script_name) {
                                return  404;
                        }

                        fastcgi_pass    unix:/opt/alt/php-fpm73/usr/var/sockets/brujo.sock;
                        fastcgi_index   index.php;
                        include         /etc/nginx/fastcgi_params;
                }

        }

        location ~* "/\.(htaccess|htpasswd)$" {deny all;return 404;}

        disable_symlinks if_not_owner from=/home/brujo/public_html;

        location /.well-known/acme-challenge {
                default_type "text/plain";
                alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
        }
}

7
High Performance / How do i get high performance? Can you help me?
« on: March 25, 2020, 12:28:22 PM »
Hi, I'm looking for high performance in WordPress and in the server in general.
The server is with CentOS 7 and CentOS Web Panel I have done everything that is explained in the article that by the way you explain very well, but it is clear that something I am not doing well because I can not have high performance, it is worse than in a VPS that I have with Ubuntu Server 18.04 nginx and php-fpm in version 7.2.
I have configured the CentOS Web Panel with:
Nginx -> Varnish -> Apache in select webserver and in the domains I have them all configured like this and I don't get a good performance like in this photo.

I have put the image because I think it is important to put an image so that you can see what I have done. That is the configuration of webserver domain conf

8
I have the problem with Postfix and OpenDKIM that obtains double signature from DKIM what I have seen, in several ways the supposed arrangement searching on Google.
Or it fails in the DKIM signature without signature.
He did not find a real solution to the problem.

Apparently it is a failure of OpenDKIM or Postfix but it is not fixed and here I am going to put all the configuration parameters that I have worked on.

The configuration files where you have to look is in:
/postfix/main.cf
/postfix/master.cf

/opendkim/userkeys/comoligarbien.com/
/opendkim/userkeys/orgasmxvideos.com/
/opendkim/userkeys/despedidasexclusivas.com/ This email works perfectly

I've uplodaded the files and folder on:
https://gitlab.com/hechicero666/postfix-and-dkim-fix-problem
thank you.

9
Postfix / problem with multiple email account in centos web panel
« on: February 08, 2020, 02:46:24 PM »
Hi, I have a problem with CentOS Web Panel and the email server, I just get it to work because of DKIM (DomainKeys Identified Mail) 2 domains are not thrown at me I have it this way configured. Each one in your file. The fact is that I do not see how to set up several email accounts and they work well in CentOS Web Panel, how could I do it ?, greetings and thanks ..
https://www.facebook.com/photo.php?fbid=10219409222895635&set=gm.2719297948153379&type=3&theater&ifg=1

10
DNS / could you help me with DNS server?
« on: February 04, 2020, 03:19:32 PM »
hello, I am trying to configure the DNS zone I have it as explained in this forum post on dns.
http://forum.centos-webpanel.com/index.php?topic=33.0
ns1.digitalocean.com resolves to 173.245.58.51
ns2.digitalocean.com resolves to 173.245.59.41
I think it is set as explained in the forum entry, but even so when you send an email the DKIM record does not work and I think I have it correctly put the DKIM record.


11
SSL / problem creating the certificate the web doesn't work for me
« on: February 04, 2020, 10:12:23 AM »
hello my problem is this that I created the certificate with autossl.
Does Autossl use let's encrypt to create certificates?
The problem I have is that it gives me this message when I say about entering the website where I generated the certificate.
Código de error: SSL_ERROR_RX_RECORD_TOO_LONG
this file is /etc/nginx/conf.d/vhosts/despedidasexclusivas.com.ssl.conf
server {
        listen 188.166.23.139:443 ;
        server_name despedidasexclusivas.com  www.despedidasexclusivas.com;
        root /home/onzulin/public_html;
        index index.php index.html index.htm;
        access_log /usr/local/apache/domlogs/despedidasexclusivas.com.bytes bytes;
        access_log /usr/local/apache/domlogs/despedidasexclusivas.com.log combined;
        error_log /usr/local/apache/domlogs/despedidasexclusivas.com.error.log error;

        #deprecated
        #ssl                  on;
        listen          443 ssl;
        ssl_certificate      /etc/pki/tls/certs/despedidasexclusivas.com.bundle;
        ssl_certificate_key  /etc/pki/tls/private/despedidasexclusivas.com.key;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA!RC4:EECDH:!RC4:!aNULL:!eN$        ssl_prefer_server_ciphers   on;

        ssl_session_cache   shared:SSL:10m;
        ssl_session_timeout 60m;

        location / {

                add_header Strict-Transport-Security "max-age=31536000";
                add_header X-Content-Type-Options nosniff;

                location ~.*\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
                        expires max;
                }

                location ~ [^/]\.php(/|$) {
                        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                        if (!-f $document_root$fastcgi_script_name) {
                                return  404;
                        }

                        fastcgi_pass    unix:/opt/alt/php-fpm72/usr/var/sockets/onzulin.sock;
                        fastcgi_index   index.php;
                        include         /etc/nginx/fastcgi_params;
                }

        }

        location ~* "/\.(htaccess|htpasswd)$" {deny all;return 404;}

        disable_symlinks if_not_owner from=/home/onzulin/public_html;

        location /.well-known/acme-challenge {
                default_type "text/plain";
                alias /usr/local/apache/autossl_tmp/.well-known/acme-challenge;
        }
}
I also have another file:
despedidasexclusivas.com.conf
What solution does this problem have? in the forums they say that you just have to put
listen 443 ssl;
but don't run the nginx with php-fpm webserver.
 

12
CentOS 7 Problems / Hi Problem with install php-fpm 7.2.27 and 7.3.x
« on: January 30, 2020, 11:13:58 PM »
I have a problem and I want to install phpfpm of version 7.2.27 and 7.3 because it fails me and gives me this error message:
php-7.2.27/makedist
php-7.2.27/README.md
php-7.2.27/README.SELF-CONTAINED-EXTENSIONS
php-7.2.27/php.ini-development
configure: WARNING: unrecognized options: --enable-gd-native-ttf
configure: error: cannot find sources (README.GIT-RULES) in . or ..
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
mkdir: cannot create directory '/opt/alt/php-fpm72/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm72/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm72/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.2.sh: line 81: /opt/alt/php-fpm72/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.2.sh: line 82: /opt/alt/php-fpm72/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.2.sh: line 84: /opt/alt/php-fpm72/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
exe:/opt/alt/php-fpm72/usr/sbin/php-fpm
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################


Failed loading /usr/local/ioncube/ioncube_loader_lin_7.0.so:  /usr/local/ioncube/ioncube_loader_lin_7.0.so: cannot open shared object file: No such file or directory
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.0.so:  /usr/local/ioncube/ioncube_loader_lin_7.0.so: cannot open shared object file: No such file or directory

13
Hello, Is it possible to use 7 centos with web panel centos without having to pay for the CWP Pro? to be able to change the php version without having to go to the paid version of CWP Pro because it throws me a little behind to have to pay for that truth.
I need to be able to switch to PHP 7.3 or whatever the idea of using CWP was to be able to use it without having to pay anything to use it, thanks and regards.

Pages: [1]