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.


Messages - techcomputerworld

Pages: [1] 2
1
jajajaa, If I could solve this problem I would not be here asking in the forum about the problem that I don't see the way to solve it and it took quite some time.
I do not know how to solve it and the performance I have on my websites is very poor

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

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

4
High Performance / Re: How do i get high performance? Can you help me?
« on: March 25, 2020, 07:55:52 PM »
I've tried the configuration Nginx / Apache / php-fpm but it goes the same as putting varnish in the configuration I do not see any improvement I do not see any way to get, better performance I have tried precisely put nginx with php-fpm and the websites do not look good surely the websites must be configured by hand or something like that , but I can't get them to show fail.

5
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

6
Postfix / Re: problem with multiple email account in centos web panel
« on: March 02, 2020, 03:04:14 PM »
ok,
could you tell me that I have badly configured or that I have not configured to operate the opendkim in the 2 domains that does not work, added the domains as I explain in the gitlab I have it as it is there.
https://gitlab.com/hechicero666/postfix-and-dkim-fix-problem

$ date; dig txt default._domainkey.comoligarbien.com +short
Code: [Select]
$ date; dig txt default._domainkey.comoligarbien.com
Mon Mar  2 16:00:53 CET 2020

; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> txt default._domainkey.comoligarbien.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52724
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;default._domainkey.comoligarbien.com. IN TXT

;; ANSWER SECTION:
default._domainkey.comoligarbien.com. 3565 IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlTtO1qRFaK955gz16Y8c1EMCqtaT4exCrwfor2yT438ZVjrUcqo2tPUNR4eqkD+xcKRQnWSw931uVUY6YJWtOrgrXTIrHnTkf5Xtg+jaXr0OhjdeVDIG/Le7oOVWncMf+9J4ZSRybOpb+XZPp/JLjis6pmCLrt5j82yBC9DCbsEPSOVVOC1mr5lq8irQs+qAv" "6M/DnjNcUrdiRBJyNrs2lfuvfs8BFceZAk1AwcVBcYCmZl5OkxZBn8liTC34FPJLLHm6jMp9+c0OaEtxo8zr3QX0ZYEWC3XqZ/p9fo4Pcg+fpyjee79wBVqUzhVAWdzE5+qAIn4e1Dmslyb6IX4mwIDAQAB"

;; Query time: 18 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Mon Mar 02 16:00:53 CET 2020
;; MSG SIZE  rcvd: 489
if I put the mail that works the DKIM does exactly the same to me
Code: [Select]
$ date; dig txt default._domainkey.despedidasexclusivas.com
Mon Mar  2 16:02:48 CET 2020

; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> txt default._domainkey.despedidasexclusivas.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44049
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1452
;; QUESTION SECTION:
;default._domainkey.despedidasexclusivas.com. IN        TXT

;; ANSWER SECTION:
default._domainkey.despedidasexclusivas.com. 3600 IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBUycaDUpr2h1b6CoBFdAPNetxSIU2pAVoJLMdcoYS5xzXm/269QwSiFU+CVMwJtVTL+1YZncf1V1c/AlsqtBZI+dLjxccIaJ9P0GHflY9A3gtpvwhQaYxh6evEZGkgXA1KUc7WTpqfRgFMfdELnybDAY6y+BlXdWl1QxeACSmcQIDAQAB"

;; Query time: 97 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Mon Mar 02 16:02:48 CET 2020
;; MSG SIZE  rcvd: 319
I would really like to find the fault. Thank you very much, regards.

7
Postfix / Re: problem with multiple email account in centos web panel
« on: March 02, 2020, 12:46:38 PM »
 Ok and as it is fixed because I do not give the solution to the problem, I have been looking for a solution for a long time I need to be able to send emails with the domain that agrees with the server, if not, so I want a VPS.
Besides, where are you seeing that?
He tried many possible solutions searching the Internet and I have not found any that works, the domain of farewellsexclusivas.com works perfectly are the other 2 domains that fail in the DKIM signature, why fails is what I would like to know? and if Amavisd does not use it, it is interfering with the signature in some way.

8
Postfix / Re: problem with multiple email account in centos web panel
« on: March 01, 2020, 12:03:46 PM »
well maybe I explained badly, the problem I have can see here really the problem is that I only signed with a domain that is placed in mydomain in the main.cf file and the file structure I have it here.
https://gitlab.com/hechicero666/postfix-and-dkim-fix-problem
I wish someone could help me because I have been with this problem for some time and I can't fix it and I really need it.
To mount postfix and opendkim I have used everything preferably from the control panel centos web panel.

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

10
Postfix / Re: problem with multiple email account in centos web panel
« on: February 09, 2020, 11:04:12 AM »
my dns host is digitalocean and I have the server with its IP in a CentOS 7.x with CentOS Web Panel and I have it configured as I show in the image each domain is a separate file.

11
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

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


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

14
CentOS 7 Problems / Re: Hi Problem with install php-fpm 7.2.27 and 7.3.x
« on: January 31, 2020, 10:15:36 AM »
I am installing php-fpm the different versions for CentOS Web hence the error that maybe can be installed as you say and then it does not give problems. Start up the different versions of php-fpm

15
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

Pages: [1] 2