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

Pages: 1 2 [3] 4 5 ... 31
31
SSL / Re: Invalid certificate/key pair and Apache server fails to start
« on: October 08, 2018, 04:27:51 AM »
what is output of

Code: [Select]
systemctl status httpd.service -l

32
SSL / Re: ssl expire
« on: October 08, 2018, 04:26:28 AM »
This command used to trigger ssl installation
Code: [Select]
sh /root/.acme.sh/acme.sh --home /root/.acme.sh/cwp_certs --issue -d www.yourdomain.com -d yourdomain.com -w /usr/local/apache/autossl_tmp --debug 2
So basically ssl are installed in "/root/.acme.sh/cwp_certs" and from there moved to respective directory and added in vhosts-ssl.conf file.


34
what is output of

Code: [Select]
ss -nlp | grep 2082

35
CentOS-WebPanel Bugs / Re: coin hive attack on my server ... how?
« on: October 08, 2018, 04:14:28 AM »
Do remember CentOS kernels are not symlink patched. If one site gets hacked then all sites on your server may get compromised using symlink attack. Its better to use symlink patch for protection as multiple sites are hosted on your server.

Code: [Select]
https://www.cloudlinux.com/kernelcare-blog/entry/symlink-protection-patchset-centos-6-7-kernelcare

36
Is not possible to understand what is your problem.

He is saying when he rebuild Apache the httpd.conf file have just 3 lines and all other config lines just wipes out. The thing is CWP team is overwriting httpd.conf file after compilation not appending it :P

37
Updates / Re: Update MariaDB >= 10.2
« on: October 08, 2018, 03:49:58 AM »
CentOS have not that version for MariaDB.
'yum update' install the latest version, that is 10.1.36, for CentOS 7.
(what is your CentOS version?)

But nothing can stop you from install it from sources.
Or install rpms from RHEL7, that possibly will work too.
At yout risk.

RHEL7 have the '10.2.8-5.el7.x86_64.rpm' version available.

Regards,
Netino

First of all MariaDB has it's own repository and is not provided by base CentOS repository.

Quote
yum whatprovides mariadb
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.iitm.ac.in
 * epel: mirror1.ku.ac.th
 * extras: ftp.iitm.ac.in
 * updates: ftp.iitm.ac.in
MariaDB-client-10.1.36-1.el7.centos.x86_64 : MariaDB: a very fast and robust SQL database server
Repo        : mariadb
Matched from:
Provides    : mariadb = 1:10.1.36-1.el7.centos


Below is its repository location.

Quote
cat /etc/yum.repos.d/mariadb.repo

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

This will show you what version of MariaDB is installed. So in our case its 10.1

Quote
rpm -qa | grep -i '^mariadb-'

MariaDB-shared-10.1.36-1.el7.centos.x86_64
MariaDB-compat-10.1.36-1.el7.centos.x86_64
MariaDB-common-10.1.36-1.el7.centos.x86_64
MariaDB-server-10.1.36-1.el7.centos.x86_64
MariaDB-client-10.1.36-1.el7.centos.x86_64

Now if I want to upgrade this I will modify mariadb.repo file and change 10.1 to 10.2

Quote
vi /etc/yum.repos.d/mariadb.repo

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.2/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

First I will make full backup of my database if something goes wrong

Code: [Select]
mysqldump --all-databases > /home/fullbackup.sql.gz
Simply go ahead and remove these packages

Code: [Select]
yum remove MariaDB-server MariaDB-client -y
Now install the new latest packages again for version 10.2.

Code: [Select]
yum install MariaDB-server MariaDB-client -y
You can change 10.1 to 10.3 MariaDB repository "/etc/yum.repos.d/mariadb.repo" in if you wish to use that version.

Verify the packages again

Quote
[root@localhost ~]# rpm -qa | grep -i '^mariadb-'
MariaDB-shared-10.2.18-1.el7.centos.x86_64
MariaDB-server-10.2.18-1.el7.centos.x86_64
MariaDB-compat-10.2.18-1.el7.centos.x86_64
MariaDB-common-10.2.18-1.el7.centos.x86_64
MariaDB-client-10.2.18-1.el7.centos.x86_64

Start Mariadb

Code: [Select]
systemctl start mariadb
Upgrade MySQL database for compatibility

Code: [Select]
mysql_upgrade


38
CentOS-WebPanel GUI / Re: non WWW to WWW and HTTP to HTTPS??
« on: September 30, 2018, 11:31:54 AM »
If www is working and without www redirecting to /cgi-sys/defaultwebpage.cgi then that means you are redirected to cpanel for all other protocols except www. Look in your domain dns.

40
Other / Re: How Can I Only Access My Panel Via My Static IP Adress?
« on: September 21, 2018, 04:57:08 PM »
Logout from admin panel and run the below command. Replace xxx.xxx.xxx.xxx with your IP address.

Code: [Select]
echo 'xxx.xxx.xxx.xxx' >> /usr/local/cwp/.conf/.access_root

41
CentOS 7 Problems / Re: Nginx not working
« on: September 16, 2018, 06:56:10 AM »
Did you open port 8181 and 82?

42
PHP Selector / Re: Add modules with PHP selector
« on: September 16, 2018, 06:31:00 AM »
You need to install php version of memcache/memcached  for all versions of php.

43
for /var/vmail user is vmail and group is mail

44
CentOS-WebPanel Bugs / Re: Client side login issue
« on: September 15, 2018, 02:13:07 AM »
Does the below commands solve your issue?

Quote
yum reinstall cwpsrv cwpphp -y
sh /scripts/cwpsrv_rebuild_user_conf

45
0.9.8.733 is latest version. Isnt it?

Pages: 1 2 [3] 4 5 ... 31