Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 21:26:00

Author Topic: Where are httpd.conf and my.conf  (Read 6383 times)

0 Members and 1 Guest are viewing this topic.

Offline mawerick

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Where are httpd.conf and my.conf
« on: 2015-09-29, 22:00:45 »
Hello,
I'm new to Kloxo MR(used original Kloxo before).
I want to change configuration of Apache, for example KeepAlive, max connections e.t.c, but I'm not sure which is correct httpd.conf file. Server settings: php 5.4, php fpm.
I can't find my.cnf config file for MySQL.

Great work !



Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Where are httpd.conf and my.conf
« Reply #1 on: 2015-09-29, 23:01:26 »
Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mawerick

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Where are httpd.conf and my.conf
« Reply #2 on: 2015-09-30, 20:17:37 »
I try this, but i receive an error.

Code: [Select]
PHP Fatal error:  Out of memory (allocated 4595908608) (tried to allocate 130968 bytes) in /usr/local/lxlabs/kloxo/httpdocs/lib/php/lxlib.php on line 862

How can i continue with apache/mysql configuration?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Where are httpd.conf and my.conf
« Reply #3 on: 2015-10-01, 02:39:33 »
There are something wrong with your server, try 'yum clean all; yum update' and then 'sh /script/upcp -y' (if no error as 'conflict' between packages/rpms).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mawerick

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Where are httpd.conf and my.conf
« Reply #4 on: 2015-10-04, 21:59:21 »
After execution of command and some hours of downtime, here is response from sh /script/sysinfo:

Code: [Select]
sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015092401
   - Web: hiawatha-9.14.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: host.****
C. Services:
   1. MySQL: --uninstalled--
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.x86_64
   9. Qmail: --uninstalled--
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          6144       2333       3810          0          0          0
   -/+ buffers/cache:       2333       3810
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs      400G  148G  253G  37% /

How can i find httpd.conf & my.cnf for my server configuration?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Where are httpd.conf and my.conf
« Reply #5 on: 2015-10-05, 03:04:05 »
Because using MariaDB, your 'my.cnf' is '/etc/my.cnf.d/server.cnf'.

About httpd config, what's the purpose to need changed?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mawerick

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Where are httpd.conf and my.conf
« Reply #6 on: 2015-10-05, 20:40:09 »
Currently i'm with MariaDB and I have databases in it. I want to install/configure MySQL and to migrate to it.
How can i install/configure MySQL, instead of MariaDB ?
« Last Edit: 2015-10-05, 21:20:44 by mawerick »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Where are httpd.conf and my.conf
« Reply #7 on: 2015-10-06, 02:12:58 »
MariaDB is backward compatible to MySQL.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mawerick

  • Junior Member
  • *
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Where are httpd.conf and my.conf
« Reply #8 on: 2015-10-07, 20:19:15 »
Yes, i know that. I have two questions.

1. Why by default last version of Kloxo MR is with MariaDB. Do you think it's better than original MySQL, or there is a problem with MySQL and Kloxo MR?

2. I want/need to configure Apache. I hosted more than 5 web sites, with huge monthly bandwidth 5TB+. Traffic is mainly from photos/jpeg files. Can you tell me please, which is config file of APache.

Thanks for help/good job, Kloxo is great!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Where are httpd.conf and my.conf
« Reply #9 on: 2015-10-08, 02:04:22 »
1. MariaDB is backward compatible with MySQL and have many features (like Aria storage-engine)
2. Create client and then use this client for your websites. Set 'fastcgi children' to 12 or more (define on your RAM; 12 is accept for 512MB) on 'Limit' (no exist in Admin)
3. Select 'high' for 'apache optimize' in 'webserver configure'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.032 seconds with 18 queries.

web stats analysis