Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-04-2009, 06:23 PM
elenh elenh is offline
 
Join Date: Jun 2009
Location: Germany
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default I need help for Debian and Centos server.

Hello,

Some questions because i search in google and i cant find the correct results.

How do i with putty commands:

Incrase the connections on Mysql on Debian
Incrase the connections on Mysql on Centos
Incrase the php memory limit (php.ini) on Debian
Incrase the php memory limit (php.ini) on Centos

And where are located this file?

Regards,
Thank you.
Reply With Quote
  #2  
Old 12-04-2009, 06:44 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Debian = /etc/mysql/my.cnf
Centos = /etc/my.cnf

Run these commands:
updatedb
find / -name my.cnf -print
nano /etc/mysql/my.cnf
vi /etc/mysql/my.cnf

max_connections = 500

find / -name php.ini -print
nano /etc/php.ini
vi /etc/php.ini

memory_limit = 16M
Reply With Quote
  #3  
Old 12-04-2009, 07:48 PM
elenh elenh is offline
 
Join Date: Jun 2009
Location: Germany
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.

Run these commands:
updatedb
This is for both os? : find / -name my.cnf -print
this for debian?: nano /etc/mysql/my.cnf
this is for centos?: vi /etc/mysql/my.cnf

Where and how i put it?: max_connections = 500

find / -name php.ini -print
nano /etc/php.ini
vi /etc/php.ini

where i put it?: memory_limit = 16M

(How excactly do i that? after the command vi /etc/mysql/my.cnf i get some lines and at the end they say INSERT only and i dont know how i continue..)
Reply With Quote
  #4  
Old 12-05-2009, 12:21 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elenh View Post
Where and how i put it?: max_connections = 500
You can place it anywhere after this:
[mysqld]
max_connections = 500

Quote:
Originally Posted by elenh View Post
where i put it?: memory_limit = 16M
That is already in php.ini, just change the value, ie 32M or 64M or 128M etc
Quote:
Originally Posted by elenh View Post

(How excactly do i that? after the command vi /etc/mysql/my.cnf i get some lines and at the end they say INSERT only and i dont know how i continue..)
Use nano instead of vi if you do not know vi commands, just use your keyboard arrow keys to navigate within the file when editing w/ nano
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03550 seconds
  • Memory Usage 2,187KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete