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.
196
CentOS-WebPanel GUI / Re: Resources monitor per user/website
« on: September 03, 2018, 01:39:47 AM »Code: [Select]
Ok, figured it out after some search.
You first have to run this:
[codee]yum install ipset-service
Now it works. Thanks!
I'll go and check this. Looks great.
197
CentOS-WebPanel GUI / Re: Resources monitor per user/website
« on: September 03, 2018, 01:32:51 AM »Does this helpsYes, it does. Thanks!
yum install python-devel -y
BUT... then I get this error:
Code: [Select]
[root@cwp netdata]# rpm -ivh https://github.com/firehol/packages/releases/download/2018-08-19-1732/firehol-3.1.6-1.el7.noarch.rpm
Retrieving https://github.com/firehol/packages/releases/download/2018-08-19-1732/firehol-3.1.6-1.el7.noarch.rpm
error: Failed dependencies:
ipset is needed by firehol-3.1.6-1.el7.noarch
So I can't write the file /etc/firehol/fireqos.conf
198
CentOS-WebPanel GUI / Re: Resources monitor per user/website
« on: September 02, 2018, 07:26:18 PM »
Unfortunately, it resulted in an error, quite early.
Right after the command
I guess I shouldn't continue the installation...
Any idea what's wrong?
Right after the command
Code: [Select]
pip install mysqlclient
I was getting these errors:Code: [Select]
Installing collected packages: mysqlclient
Running setup.py install for mysqlclient ... error
Complete output from command /usr/bin/python2 -u -c "import setuptools, toke nize;__file__='/tmp/pip-install-WBKL5o/mysqlclient/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(comp ile(code, __file__, 'exec'))" install --record /tmp/pip-record-G1r32T/install-re cord.txt --single-version-externally-managed --compile:
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distributio n option: 'long_description_content_type'
warnings.warn(msg)
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/compat.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb
copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb
creating build/lib.linux-x86_64-2.7/MySQLdb/constants
copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb/ constants
copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.7/MySQLdb/co nstants
copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.7/MySQLdb/consta nts
copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.7/MySQLdb/consta nts
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.7/MySQLd b/constants
copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.7/MySQLdb/cons tants
copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.7/MySQLdb/c onstants
running build_ext
building '_mysql' extension
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-sw itches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wa ll -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buf fer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Dversion_info=(1,3,13,'final',0) -D__version__=1.3.13 -I/usr/include/mys ql -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o
_mysql.c:37:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip- install-WBKL5o/mysqlclient/setup.py';f=getattr(tokenize, 'open', open)(__file__) ;code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exe c'))" install --record /tmp/pip-record-G1r32T/install-record.txt --single-versio n-externally-managed --compile" failed with error code 1 in /tmp/pip-install-WBK L5o/mysqlclient/
I guess I shouldn't continue the installation...
Any idea what's wrong?
199
Apache / Re: HTTP2 / SPDY
« on: September 02, 2018, 02:54:49 PM »https://www.mysterydata.com/how-to-enable-http-2-for-apache-in-cwp-with-mod_http2-module/
Ok, I’ve finished this tutorial but still get negative when testing one of my sites.
Was it ok if I’ve followed this tutorial on a server built with Apache+Nginx+Varnish?
200
CentOS-WebPanel GUI / Resources monitor per user/website
« on: September 01, 2018, 08:54:37 PM »
Hi,
Is there a way for me as admin to see how many resources each user/site is using (RAM/CPU/etc...)?
Couldn't find a page with such info.
TIA.
Is there a way for me as admin to see how many resources each user/site is using (RAM/CPU/etc...)?
Couldn't find a page with such info.
TIA.
201
Addons / Re: Wordpress Addon is not working
« on: September 01, 2018, 06:22:36 PM »
Correct. I've found it the hard way myself. Here's a post I added here: http://forum.centos-webpanel.com/centos-webpanel-bugs/wordpress-installation-issue/msg18945/
Anyway, here's the process to go for installing wordpress via the addon:
1. Go to Wordpress within the addon menu: http://IP:2082/USER/?module=addons&acc=wordpress (change IP and USER to your own).
2. Make sure the password used does NOT include special characters. If it does, either change it manually or click the round icon aside to it till it gives you another password with no special characters.
3. Of course change all installation options as you see fit.
4. Click Install.
5. Copy the password you chose (remember, no special characters!) and go to Mysql manager under SQL services menu - http://IP:2082/USER/?module=mysql_manager
6. Click password and input the password you've copied in both fields and save changes.
7. Go to FTP file manager - http://IP:2082/USER/fileManager2.php and access your wordpress installation under public_html.
8. Delete the file WP-CONFIG.PHP.
9. Access your site's URL and the Wordpress' installation should properly start now.
Would appreciate to know if this helped you.
Anyway, here's the process to go for installing wordpress via the addon:
1. Go to Wordpress within the addon menu: http://IP:2082/USER/?module=addons&acc=wordpress (change IP and USER to your own).
2. Make sure the password used does NOT include special characters. If it does, either change it manually or click the round icon aside to it till it gives you another password with no special characters.
3. Of course change all installation options as you see fit.
4. Click Install.
5. Copy the password you chose (remember, no special characters!) and go to Mysql manager under SQL services menu - http://IP:2082/USER/?module=mysql_manager
6. Click password and input the password you've copied in both fields and save changes.
7. Go to FTP file manager - http://IP:2082/USER/fileManager2.php and access your wordpress installation under public_html.
8. Delete the file WP-CONFIG.PHP.
9. Access your site's URL and the Wordpress' installation should properly start now.
Would appreciate to know if this helped you.
202
Installation / Can I remove php-memcached and php-redis directories after uninstalling them?
« on: August 31, 2018, 01:28:37 PM »
I've installed memcached and redis but found out it's causing severe issued on my server, so I've uninstalled them.
But I still see there are 2 folders under the root folder named php-memcached and php-redis which are about 22mb altogether.
Is it safe to remove them?
But I still see there are 2 folders under the root folder named php-memcached and php-redis which are about 22mb altogether.
Is it safe to remove them?
203
Installation / Re: phpMyAdmin error after installing
« on: August 31, 2018, 01:23:37 PM »Apache/2.4.7 (Ubuntu)I think you're in the wrong place. This forum is about CWP (CentOS Web Panel) which needs to be installed on CentOS, hence anything on Ubuntu is not related to here.
204
CentOS-WebPanel Bugs / Re: Wordpress installation issue
« on: August 30, 2018, 08:22:47 PM »
Any estimation when will this be fixed?
Customers can't install Wordpress alone.
Customers can't install Wordpress alone.

205
CentOS-WebPanel Bugs / Re: rebiulding mail server keeps on reinstalling spamassassin
« on: August 30, 2018, 04:25:17 PM »
0.9.8.714 and still can't uninstall...
206
Installation / How to enable Expires headers
« on: August 30, 2018, 03:05:40 PM »
Hi there, I hope this is the right forum to post this question to.
I'm getting "Add Expires headers" in GTmetrix. I'm using Apache + Nginx + Varnish.
According to this tutorial (dated 2015):
But I don't see any text box to add these.
Can you please advise how to properly enable Expires headers?
TIA!
I'm getting "Add Expires headers" in GTmetrix. I'm using Apache + Nginx + Varnish.
According to this tutorial (dated 2015):
Quote
For additional module activation you only need to add a new line in the text box, like for example:
--enable-expires
--enable-headers
--enable-proxy
But I don't see any text box to add these.
Can you please advise how to properly enable Expires headers?
TIA!
207
How to / Re: Perfectly Installing Comdo WAF on Centos Web panel with GUI
« on: August 30, 2018, 01:51:34 PM »
Wow, this was a fast reply. Thanks a lot!
I currently have issues with saving posts/pages on Wordpress with Elementor (page builder).
Any idea if Comodo WAF will fix that?
I currently have issues with saving posts/pages on Wordpress with Elementor (page builder).
Any idea if Comodo WAF will fix that?
208
How to / Re: Perfectly Installing Comdo WAF on Centos Web panel with GUI
« on: August 30, 2018, 01:37:18 PM »
Will this install new ModSecurity rules, overriding CWP's rules?
If yes - will they be updated automatically when there are new ones?
If yes - will they be updated automatically when there are new ones?
209
I can build it / Re: Boxbilling Integration
« on: August 30, 2018, 07:43:58 AM »https://github.com/yokowasis/boxbilling-cwpI couldn't find an installation guide.

210
Apache / Re: Apach fails when I add a new domain
« on: August 28, 2018, 03:25:47 PM »
I just experienced the same! I thought I'm dreaming.
I've added a domain and suddenly I see the apache is down.
Have you opened a support ticket for that? They should know about it...
I've added a domain and suddenly I see the apache is down.
Have you opened a support ticket for that? They should know about it...