mysql too many connections
mysql too many connections
go to my.ini
max_connections=500
Please note that an instruction of the form
set-variable=max_connections=500
should be placed in the [mysqld] section. Otherwise MySQL will ignore it.
mysql too many connections
go to my.ini
max_connections=500
Please note that an instruction of the form
set-variable=max_connections=500
should be placed in the [mysqld] section. Otherwise MySQL will ignore it.
CREATE USER ‘monty’@'%’ IDENTIFIED BY ‘some_pass’;
GRANT ALL PRIVILEGES ON *.* TO ‘monty’@'%’
WITH GRANT OPTION;
[global]
log file = /var/log/samba/log.%m
load printers = no
smb passwd file = /etc/samba/smbpasswd
browseable = no
server string = trixbox PBX
path = /
workgroup = workgroup
os level = 2000
username map = /etc/samba/smbusers
preferred master = no
max log size = 50
[share]
browseable = yes
writeable = yes
write list = root
comment = server
valid users = root
path = /
public = yes
system-config-network
make a DB in mysql
login to mysql
mysql -u root -p
then
CREATE DATABASE `openfire`;
CREATE USER ‘openfire’@'localhost’ IDENTIFIED BY ‘password’;
GRANT USAGE ON *.* TO ‘openfire’@'localhost’ IDENTIFIED BY ‘password’ WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES ON `openfire`.* TO ‘openfire’@'localhost’;
FLUSH PRIVILEGES;
quit
find your CPU architecture
cat /proc/cpuinfo
Goto
http://asterisk.hosting.lv/
DL the right one
# choose codec binary appropriate for your Asterisk version and CPU type, use x86_64 for 64-bit mode, scroll to the end of the list for FreeBSD binaries
# delete old codec_g729/723*.so files (if any) from /usr/lib/asterisk/modules directory
# copy new codec_g729/723*.so files into /usr/lib/asterisk/modules directory
# restart Asterisk
Then connect to the Asterisk console with:
asterisk -r
and type (adjust accordingly):
load codec_g729-ast14-gcc4-glibc-core2.so
You should then see something like:
Loaded /usr/lib/asterisk/modules/codec_g729-ast14-gcc4-glibc-core2.so => (G729/PCM16 (signed linear) Codec Translator, based on IPP)
== Registered translator ‘g729tolin’ from format g729 to slin, cost 1
== Registered translator ‘lintog729′ from format slin to g729, cost 6
Exit from the console with:
quit
Then use nano to edit /etc/asterisk/sip.conf and just below:
allow=ulaw
add:
allow=gsm
allow=g729
# check the codec is loaded with ‘core show translation recalc 10′ on Asterisk console (‘show translation’ in Asterisk 1.2)
# G.723.1 send rate is configured in Asterisk codecs.conf file (Linux Asterisk 1.2, 1.4, 1.6, TRUNK and Callweaver, FreeBSD 7.x Asterisk 1.4 binaries only):
other cool linux commands
cat /proc/cpuinfo
cat /proc/meminfo
dmesg
lspci
After Hours Doctors
After Hours Doctors