MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: amitkumar on 2016-12-28, 11:57:56

Title: How to install Letsencrypt and memcache [Solved]
Post by: amitkumar on 2016-12-28, 11:57:56
Hello,

i am trying to verify my domain through ssforfree service.

.well-known

. <== this folder showing 404 error
http://webquicksolution.com/.well-known/acme-challenge/index.html

without [ . ] . its reading the data.

Please help me to make it wokring.
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2016-12-28, 12:50:45
Inform here your 'sh /script/sysinfo'.
Title: Re: [Dot] format folder showing 404 error page
Post by: amitkumar on 2016-12-28, 14:19:00
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016120401
   - Web: hiawatha-10.4.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: vps95665.vps.ovh.ca
C. Services:
   1. MySQL: MariaDB-server-10.0.28-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.28-1.ius.el6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.28-1.ius.el6
          * php70m-7.0.13-1.w6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.4.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.43-2.el6.x86_64
     - Nginx: nginx-1.11.6-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: none
      - smtp: none
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1829       1525        303          0        210        801
   -/+ buffers/cache:        514       1315
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1       9.8G  5.0G  4.3G  54% /


*** Process Time: 00:00:00:18.18531 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2016-12-28, 14:46:50
In Kloxo-MR 7.0, '/.well-known/' is alias for '/var/run/letsencrypt/.well-known/'. This alias need by letsencrypt ssl (ready in Kloxo-MR 7.0).
Title: Re: [Dot] format folder showing 404 error page
Post by: amitkumar on 2016-12-28, 15:08:30
yes

https://www.sslforfree.com/

i am getting the ssl from here which is by Let's Encrypt.
i have 4 to 5 domains.
i am facing the above error.



Or please help he how to add ssl .
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2016-12-28, 15:22:37
Go to 'admin > all > all domains > (select one) > ssl certificate > add letsencrypt'. Make sure already have 'A record' for stats under this domain (or run 'sh /script/fixdnsaddstatsrecord') and no redirect for www, cp and webmail. If set redirect, remove this part in 'SAN'.
Title: Re: [Dot] format folder showing 404 error page
Post by: amitkumar on 2017-04-20, 21:10:11
I have followed all the step and successfully installed the SSL.

but its having issue

https://desktophdwallpaper.com/

your connection is not private how to solve it?
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2017-04-21, 05:09:24
I have followed all the step and successfully installed the SSL.

but its having issue

https://desktophdwallpaper.com/

your connection is not private how to solve it?
Your domain still using 'default' ssl.
Title: Re: [Dot] format folder showing 404 error page
Post by: amitkumar on 2017-04-21, 09:37:01
how to solve this??

i have installed the lenscrypt ssl from kloxomr admin panel.
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2017-04-21, 10:37:40
Go to 'admin > all > add domains > (select one) > ssl certificate > add letsencrypt'.
Title: Re: [Dot] format folder showing 404 error page
Post by: amitkumar on 2017-04-21, 12:29:06
i did but it's not working.
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2017-04-21, 12:33:36
Try 'sh /script/fixweb; sh /script/restart-web'.
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2017-04-21, 12:39:08
Make sure using acme.sh for letsencrypt with running 'sh /script/acme.sh-installer'.
Title: Re: [Dot] format folder showing 404 error page
Post by: amitkumar on 2017-04-21, 16:32:20
still not working you can check above website link desktophdwallpaper
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2017-04-21, 16:37:26
Give me your ssh and panel access. Remember, letsencrypt not work under CentOS 5 (now EOL).
Title: Re: [Dot] format folder showing 404 error page
Post by: amitkumar on 2017-04-21, 16:56:34
Now working cool.

followed your above procedure.

Make sure using acme.sh for letsencrypt with running 'sh /script/acme.sh-installer'.

Try 'sh /script/fixweb; sh /script/restart-web'.

and then

i removed the old letsensrypt and again installed it.

https://desktophdwallpaper.com

thank you so much.

how to install memcache on server?

yum reinstall memcached -y

i tried this and it's installed but i am unable to enable and unable to find its location on server.
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2017-04-21, 17:17:47
Set with 'chkconfig memcached on; sh /script/restart-web'.
Title: Re: [Dot] format folder showing 404 error page
Post by: amitkumar on 2017-04-21, 17:20:19
[root@vps99343 ~]# chkconfig memcached
[root@vps99344 ~]# sh /script/restart-web

*** Process for PHP-FPM service ***
  - Process: restart
Stopping php56m-fpm (PHP Used):                            [  OK  ]
Starting php56m-fpm (PHP Used):                            [  OK  ]
-------------------------------------------------------------------

*** Process for HTTPD service ***
  - Process: restart
Stopping httpd:                                            [  OK  ]
Starting httpd:
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2017-04-21, 17:29:31
Did you run 'chkconfig memcached on' or just 'chkconfig memcached'?.
Title: Re: [Dot] format folder showing 404 error page
Post by: amitkumar on 2017-04-21, 17:59:10
[root@vps99344 ~]# chkconfig memcached on
[root@vps99344 ~]# chkconfig memcached
[root@vps99344 ~]#




its showing nothing.


sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016120401
   - Web: hiawatha-10.4.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: vps99392.vps.ovh.ca
C. Services:
   1. MySQL: MariaDB-server-10.0.28-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.30-2.ius.el6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.38-1.ius.el6
          * php56m-5.6.28-1.ius.el6
          * php70m-7.0.13-1.w6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.4.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.43-2.el6.x86_64
     - Nginx: nginx-1.11.6-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_worker
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: none
      - smtp: none
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1829        888        940          1         96        304
   -/+ buffers/cache:        488       1340
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1       9.8G  7.1G  2.2G  77% /


*** Process Time: 00:00:00:22.22012 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)
Title: Re: [Dot] format folder showing 404 error page
Post by: MRatWork on 2017-04-21, 18:07:34
Try again 'sh /script/restart-web'.
Title: Re: [Dot] format folder showing 404 error page
Post by: amitkumar on 2017-04-21, 19:26:29
Now its start showing...
Thank you so much.