Category: Uncategorized

mysql too many connections

By admin, August 31, 2010 7:31 PM

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.

Adding a Mysql user with privileges

By admin, August 14, 2010 9:17 PM

CREATE USER ‘monty’@'%’ IDENTIFIED BY ‘some_pass’;
GRANT ALL PRIVILEGES ON *.* TO ‘monty’@'%’
WITH GRANT OPTION;

TRIXBOX on your NETWORK, Trixbox and Samba

By admin, August 14, 2010 7:57 PM

[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

Static IP-where to change it, at Asterisk or at TrixBox?

By admin, August 14, 2010 7:46 PM

system-config-network

How to Install Openfire on Trixbox

By admin, August 14, 2010 7:34 PM

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

g729 on asterisk trixbox

By admin, August 12, 2010 7:35 PM

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

Outlook Auto Bcc all messages

By admin, March 12, 2010 10:13 PM

Outlook to automatically Bcc all outgoing messages

Outlook has a rule to automatically Cc another person on outgoing messages, but no equivalent for Bcc. This page offers two code samples for adding such an automatic Bcc. Both use the Application.ItemSend event, which fires whenever a user sends a message or other item.

Method #1 (Basic)

This version is suitable for Outlook 2003 or later. It uses Outlook objects exclusively and includes error handling to avoid problems with an invalid Bcc address.

Place this VBA code in the built-in ThisOutlookSession module:

Private Sub Application_ItemSend(ByVal Item As Object, _
 Cancel As Boolean)
 Dim objRecip As Recipient
 Dim strMsg As String
 Dim res As Integer
 Dim strBcc As String
 On Error Resume Next

 ' #### USER OPTIONS ####
 ' address for Bcc -- must be SMTP address or resolvable
 ' to a name in the address book
 strBcc = "someone@somewhere.dom"

 Set objRecip = Item.Recipients.Add(strBcc)
 objRecip.Type = olBCC
 If Not objRecip.Resolve Then
 strMsg = "Could not resolve the Bcc recipient. " & _
 "Do you want still to send the message?"
 res = MsgBox(strMsg, vbYesNo + vbDefaultButton1, _
 "Could Not Resolve Bcc Recipient")
 If res = vbNo Then
 Cancel = True
 End If
 End If

 Set objRecip = Nothing
End Sub

Continue reading 'Outlook Auto Bcc all messages'»

Video on Trixbox

By admin, February 15, 2010 10:11 PM

sip_custom.conf

language=au
videosupport=yes
allow=g729
allow=g723
allow=h261
allow=h263
allow=h263p
useragent = PAP2T

make office 2007 like 2003

By admin, February 10, 2010 9:50 PM

UBitMenu is a free tool that can emulate the Office 2003 interface in Office 2007 without any performance loss. It’s basically for anyone who can no longer find the same functions in Office 2007 that were easily findable in Office 2003.

What I like about this program is that it does not actually get rid of the ribbon interface, but instead just adds the classic menu as a new ribbon. So you can continuing using the ribbon interface, but when you want to find something quickly the old way, just go to the classic ribbon.

Click on this download link Michelle HERE

Nexus One editing Hosts file

By admin, February 7, 2010 1:22 AM

Ok your device must be rooted

follow androidandme.com

then

on the device settings, Applications,
Unknown sources – yes
Development, USB debugging – Yes

then

If your Nexus one is rooted, then

adb-windows.exe pull system/etc/hosts hosts
modify it
adb-windows.exe remount
adb-windows.exe push hosts system/etc/hosts

If its not rooted, then i doubt you will be able modify it.

After Hours Doctors After Hours Doctors