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
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.

2
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;
        }
}

3
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

4
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.

5
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

6
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.


7
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.
 

8
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

9
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]