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

Pages: [1]
1
Hi  So try lot of stuff, so basically what i found to be working.. Not the old or the latest php version. I end up with the 7.2.10 and when redoing the Webservers Domain Conf :
it has to be : nginx - apache - php-fpm.

nginx default vhost: defaut
nginx defaul vhost templace : force-https
apache default vhost : php-fpm
php service config.. nothing there.

As i don't need apache.. i gues only nginx+php is there for test or another reason.. But it don't work on it's own.

All made from a fresh install, just domain pointing, a user created, AutoSsl put for each user and only csf firewall put turn at on.

So is all ok ?

And is the varnish.. is this can do any good.. or really going faster.. for a vps ?

thanks again

2
Hi
 So yeah, i did try the nginx - apache- php-fpm, and nginx- php-fpm. , always said rebuilding all confirured vhost. all in green.  nginx in : force-https.

 The php version, i try to do the php switcher but it look it still stick with the v5.6.37. I try the latest, also in phpversion switcher v2.. but no change.

Did i have to install from the start, only nginx and apache.. ?


3
SSL / nginx - php-fpm don't resolve https, stay in http with autossl
« on: April 10, 2019, 08:13:35 PM »
Hi
 So i've check a lot for the autossl and i still can't instal properly for 2 domain.
I have my domain.com reg with my registrar with the proper dns and a A record pointing to cwp ip.
And the second nameserver is set to ns2.centosweb... and the ip being 127.0.0.0
both ns resolve to the correct ip of their own.
in the centos free dns, i put mydomain.com and the ip of the cwp server. Is set at active.

2 user created, i can log in http directly to the sample centos webpage.

When i check the domain1.com , over the centos ns, it give me :
resolves to  ( cwp ip.)
    
Server Type: nginx/1.14.2
    
No SSL certificates were found on domain1.com. Make sure that the name resolves to the correct server and that the SSL port (default is 443) is open on your server's firewall.

 and in leafdns, it give : parent nameservers do not have your nameservers listed

 Port 443 is open in-out.

For domain1.com i did install autossl: Webserver / ssl certificates, Autossl.
webserver / webserver Domain Conf:
 config: nginx-) php-fpm , nginx default=php-fpm , nginx def vhost: force-https
. All said ok. But i cannot reach the https page.

///
And on the main domain2, with proper result with proper dns into leafdns.com result.
I can go on the centos test page html.
i did also install fine autossl, and in
webserver / webserver Domain Conf:
 config: nginx-php-fpm , nginx default=php-fpm , nginx def vhost: force-https
 or put a default, or put force-http2.   And click the rebuilt page at the bottom.

. All said ok. But i cannot reach the https page. going to domain.com stay only in http.
and https://domain.com  , give cannot reach.

Do i have to put ngins -) apache -) php-fpm.. or only nginc-php-fpm... ?

 I just want to point all web directly to https. I should have at least 1 working in ssl..

Thanks for tips.

4
Postfix / postfix cannot install dkim -unit not found
« on: November 08, 2017, 03:10:55 PM »
Hi

 I got problem for installing dkim service. I go on Postfix manager, click on the add dkim and spf.. rebuild. And it result into :
Failed to restart opendkim.service: Unit not found.

 So is there a package missing ? I was just a plain install and nothing change over the main cwp install. running on : CentOS-7-64bit.
How to install it manually ? or ..

Thanks in advance

5
Installation / Re: Nothing change but can't log anymore 2030-2031
« on: March 04, 2016, 06:33:53 PM »
Hi
So not sure if something else I should do. I :
 vi error_log

and I got :
[Sat Jan 23 12:52:25 2016] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Jan 23 12:52:29 2016] [notice] Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips PHP/5.4.27 configured -- resuming normal operations
[Sat Jan 23 13:19:19 2016] [error] [client myhomeip] PHP Notice:  Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login.php(1) : eval()'d code(1) : eval()'d code on line 20
[Sat Jan 23 13:19:19 2016] [error] [client myhomeip] PHP Notice:  Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login.php(1) : eval()'d code(1) : eval()'d code on line 20
[Sat Jan 23 13:19:19 2016] [error] [client myhomeip] PHP Notice:  Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login.php(1) : eval()'d code(1) : eval()'d code on line 20
[Sat Jan 23 13:19:19 2016] [error] [client myhomeip] PHP Notice:  Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login.php(1) : eval()'d code(1) : eval()'d code on line 20
[Sat Jan 23 13:19:19 2016] [error] [client myhomeip] PHP Notice:  Undefined index: login in /usr/local/cwpsrv/htdocs/admin/login.php(1) : eval()'d code(1) : eval()'d code on line 20
"error_log" 3758L, 180803C
Sat Jan 23 12:52:24 2016] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]

6
Installation / Nothing change but can't log anymore 2030-2031
« on: March 03, 2016, 06:01:30 PM »
Hi

 So it's my third server that were install and suddenly just stop working. I can't access it anymore over port 2030 or 2031. All 3 got different setup on nameserver but all run fine for about 1-2 month let say. Running with a wordpress on each.
 But now got another one defective. Why is that?
I can log with ssh over putty on port 22

service iptables stop
 :give 3 OK.

and then wrote:
service cwpsrv restart

Stopping cwpsrvd:                                          [FAILED]
Starting cwpsrvd: cwpsrvd: apr_sockaddr_info_get() failed for myserver.com
cwpsrvd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName  [FAILED]
     
I check the port with :
netstat -plunt
and got
 10025,3306,587,465,21,22,8891,783

I check the config on : /etc/csf/csf.conf
but all port look fine as :
allow incoming tcpÈ 20,21,22,25,53,80,110,143,443,465,587,993,995,2030,2031
allow outgoing : 20,21,22,25,53,80,110,113,443,2030,2031,587

I also add the 2030 port manually, :
iptables -I INPUT -p tcp --dport 2030 -j ACCEPT

I check over a port scanner webpage and basically I got a result just on port 21 and 25 but don't work... And It was already there at first, as it was working for over a month.

So have no idea.. ?

Thanks

7
Information / Vcpu recommended option tested
« on: February 01, 2016, 06:53:36 PM »
Hi

 I would like to know what will be the faster and more reliable server to sustain any webattack or webload... Here is the option :

1-  4 vCpu with 6gig ram
2-  8 vCpu with 6gig ram
3-  4 vCpu with 7gig ram
4-  2vCpu with 6gig ram

 Some info look to tel me an high count of vCpu might cause issues.. But so far, with test :
a server running 1vCpu with 3g ram  run faster than a system of 3vCpu with 1g ram.
 I also try to install over a 8vCpu, but installer fail, I don't know if it fail due to link of the server or the scripts installer.

So far a CWP install took about 5hr to deploy on a vps of 2vcpu with 2gig ram. And the 4vCpu of 6g ram took around 2hr

Thanks for input

8
E-Mail / What dns zone config look like with dkim and spf
« on: January 27, 2016, 03:56:21 PM »
Hi

 So if I do a fresh install with a domain name working accessing my site, without touching the email setting I can received mail from everywhere, but can't send. When I config Dkim et spf, did the full rebuild, restart all ok, fully active and green on the domain name used. I now can only send mail, that goes to spam in gmail and received in less secure mail.

Here is the dns zone record file with the config :

http://postimg.org/image/4znvwadif/

 Is this config are ok ? perhaps something missing..

And what should look like the dns at the domain provider :
i got :
name  / type A  / TTL  / target

 ----    /    A     / 1440 / 45.62.1...
WWW  /    A     / 1440 / 45.62.1...
MAIL   /    MX    / 1440 / 45.62.1....
 ---     /   TXT    /  1440  / v=spf1 a mx ip4:45.62.1....

 I see some place that's a mx.yourdomain .. but do i need to add a prefix mx. in front of the domain into the DNS zone file of CWP ?

Many thanks

9
E-Mail / Re: How to change mail MX records?
« on: January 25, 2016, 01:02:30 AM »
Hi mostly related :
So right after an install, i created the package, the user, the DB , a domain and go to add email account. All website is working, accessing by the domain. When I open
Roundcube mail : I can received email. But I cannot sending out to hotmail or gmail.

 For using an external mail service, like Zohomail do i just change 1 line as :

I go at DNS Functions /List DNS Zones/ Select the domain name and click edit record.

 The record show as :

Mail     /  0   / IN   / CNAME   /  TheExternalMailDomain


 Without having to put DKIM.. and rdns that i don't know how ?

Many thanks

10
Aplications / Re: How to install wordpress to linux server
« on: January 03, 2016, 04:45:43 PM »
Hi

 Indeed that was the culprit. I haven't figure that yet. The log show me the 950117 was denied. I put some rules, as found over the forum, in mod security :
http://forum.centos-webpanel.com/mod_security/enable-mod_security-for-wordpress/
http://forum.centos-webpanel.com/mod_security/enable-mod_security-for-wordpress/

 But don't know if it's better to just enable the one show in the Security log each time it pop out or to config as this post..?

 Also, after a reboot, the apache web server can't autostart.. is there an option to ?

Thanks again

11
Aplications / Re: How to install wordpress to linux server
« on: January 02, 2016, 05:16:50 PM »
Hi

 So I also get error for logging into the wordpress:
1- i created a new user, a new database.
2- I can access my temporary index.html.
3- i rename the index.html file
4- i upload the WP.
5-i open the file paste db user.. and do the installation, wp 5min said : install is ok.
6- when i go to login : i put user and pw and :

    Error you don'T have permission...    I can't log in.

 I follow the first post, file and folder are as per the : fix permission. But it's just not working. I can't log in.  I can see the WP page without issues, but login... not.
 I try to put permission to 777 on wplogin file and all execute on other file, but not work..

 Is there a user need to be member of.. ? is the user need to be member of apache group ? There's no www-data as if a straight install were made.

Thanks for help

12
Indeed, the process just created a user account with folder on the server. But there's no file or so. I confirm too it's not working

 Basically, if we run a Wordpress site on a Cpanel, we should migrate all the sql and the wordpress file automatically up to the new server Centos.
 If you might have a picture tutorial it will be handy.
Thanks

Pages: [1]