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

Pages: 1 ... 13 14 [15] 16 17 ... 28
211
SSL / Re: SSL on webpanel
« on: April 14, 2019, 04:18:58 AM »
AutoSSL is for Letsencrypt certificates.
If you have already a Comodo Certificate, supposedly you must put the (file with the) cert in the "/etc/pki/tls/certs/" and put the key in "/etc/pki/tls/private/", and access CWP -> Webserver Settings -> Tab "Install From Server", and choose the file certificate, and user and the domain, and click in install.

Regards,
Netino

212
Apache / Re: HSTS in CWP
« on: April 14, 2019, 04:09:57 AM »
In Apache, add the following parameter in the VHOST site:
Code: [Select]
Header add Strict-Transport-Security "max-age=15768000"

or

Code: [Select]
Strict-Transport-Security: max-age=15768000; includeSubDomains

The max-age parameter sets the browser the validity period in seconds that HTTPS will be forced, in which case it will be 6 months. The "includeSubDomains" parameter indicates that this rule will apply to subdomains.

Regards,
Netino

213
How to / Re: How do I get rid of Netdata?
« on: April 13, 2019, 11:18:20 PM »
Netdata apeared in my server just by clicking on CWP -> Graphs -> Netdata.
I did not installed.
Check if this was not your case.

Regards,
Netino

214
Check the following site:
http://www.coders.pro/2017/01/got-error-primary-script-unknown-update-php-fpm-apache-2-4/

Perhaps your site is being attacked, and answering like that.
So, you would need adapt the mentioned '/fc2/' directory to your custom directory.

Regards,
Netino

215
It's not possible to precisely to define "the most memory efficent configuration for Shared Wordpress Hosting" in any server.
You can have several specific needs.
As much memory your would you have on your server, it's better.

But you can optimize other areas.
For example, I installed Rspamd.
I could to save 1 Gb memory.
So I disable the amavisd, policyd-spf, opendkim, and spamassassin (I think it's a greedy memory eater).
I'm suspect, because I posted a Rspamd howto in this forum.

But with no one optimizations in my customer's sites, I'm running several Wordpress sites, in two VPS servers with exactly identical configuration as you, and I have no problems other than normal security worries.

Regards,
Netino

216
Apache / Re: Stats shows visitors from my own ip
« on: April 03, 2019, 01:54:49 AM »
So, you can create the file /usr/local/apache/conf.d/rpaf.conf (change [YOUR-IP-ADDRESS] with the correct information) with the following content:
Code: [Select]
<IfModule !mod_rpaf.c>
LoadModule rpaf_module modules/mod_rpaf.so
</IfModule>
RPAF_Enable On
RPAF_ProxyIPs 127.0.0.1 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 [YOUR-IP-ADDRESS]
RPAF_SetHostName On
RPAF_SetHTTPS On
RPAF_SetPort On
RPAF_ForbidIfNotProxy Off
RPAF_Header X-Forwarded-For

Regards,
Netino

217
OK.
So, make a ssh connection to your server, and run:
Code: [Select]
# netstat -nat | grep 2030

218
How to / Re: [Howto] Install Rspamd
« on: April 03, 2019, 01:36:46 AM »
Yes, I'm running this configuration with rspamd version 1.9.0, to be more precise, with rspamd-1.9.0-3 rpm from their repository.

Regards,
Netino

219
CentOS 7 Problems / Re: Changing Hostname Inserts Junk into Hostname
« on: April 03, 2019, 01:11:52 AM »
The problem maybe the /etc/hostname file was created without the linefeed character.
Then, change it manually, adding the linefeed at the end of that line, and after, create your certificates.

Depending on your server, this file could go back to the previous version alone, automatically.

If so, to solve it, you can set the immutable attribute of the file (after your changes):
Code: [Select]
# chattr +i /etc/hostname

Regards,
Netino

220
The "root" password is the password of the administrative access to your server.
How you did access it..??
Before you attempt to install CWP, you must have accessed your server through a password. This is the "root" password for the system administrator.

Regards,
Netino

221
CentOS 7 Problems / Re: Trying To Upgrade Php Version But Not Working
« on: April 02, 2019, 04:23:40 AM »
What 'User/Bin' directories?
/home ?
/usr/bin ?
/usr/sbin ?
/bin ?
/sbin ?
/usr/local/bin ?
/usr/local/sbin ?

222
This is a too extensive discussion, too beyond CWP.
You can check this discussion about the subject:
https://serverfault.com/questions/597115/why-drop-caches-in-linux

Basicly, drop cache is not a good practice to free up RAM, it causes the kernel to look for files on the disk rather than in the cache which can cause performance issues. It is needed only in a needed exception situation. Periodically, kernel will clear the cache when the available RAM is depleted.

Regards,
Netino

223
Try to run:

Code: [Select]
# /scripts/update_ioncube

Regards,
Netino

224
CentOS 6 Problems / Re: error in admin panel
« on: March 30, 2019, 09:52:23 PM »
You must contact support.

Regards,
Netino

225
DNS / Re: DNS or Nameserver
« on: March 30, 2019, 09:50:04 PM »
Is not possible to anyone, not yourself, to register a domain 'ns1.hosting-ns.net' or 'ns2.hosting-ns.net' because is not a tld (top level domain).
The tld domain is: 'hosting-ns.net'.
Is possible only to you configure it in your DNS server, and to point ns1 or ns2 to yours or another server, if desired.

Or I did not understand your question .. ??

Regards,
Netino

Pages: 1 ... 13 14 [15] 16 17 ... 28