A raspberry pi Freeswitch PBX with default installation on 8Gb SD Card

Raspberry is good device to run a home PBX. In case you want to run only SIP calls then this is the device for you. It took me almost a day to install all dependencies and compile. But in the end it was worth the effort.

I will be uploading the image shortly.

Advertisements

Educating 4 year kid

Children at the age of four are learning at a very fast pace. There are many skills and lessons that are vital at this tender age. Two of the most important skills at this age are gross motor skills and fine motor skills. Gross motor skills consist of activities such as jumping, and running. Fine motor skills involve activities such as movements of the hands and related body parts. These types of skills will help your preschool student have an easier time when it comes to writing and problem solving. If you are in the market for the best educational products for four-year olds, it is important that you find products that will build these types of skills.

Some of the best educational products for four-year olds are things that they can write with, on, and color. This means that you should have plenty of art supplies in your home. You will want to have a large collection of coloring books, crayons, markers, pens, pencils, paints, and so on. When buying for four-year olds, it is important to start with jumbo size crayons, pencils, and markers. This will help them get comfortable in using these types of items. Many parents, caregivers, and teachers have found that sidewalk chalk is also very beneficial as far as an educational product for four-year olds. Drawing, coloring, painting, and similar activities will help four-year olds learn to control their hand movements and will help them use their imagination.

Scissors, under the proper supervision, is one of the best educational products for four-year olds. Adults can draw various shapes on paper and/or material and allow the child to practice cutting out the shape. This will enhance control over the hand and wrist and will be extremely rewarding for the child, especially if it is part of a bigger project. This is one of the most popular and enjoyed ways of developing the fine motor skills of the average four-year old.

Various items around the home can also be viewed as some of the best educational products for four-year olds. Old buttons, bowls, blocks, cups, and containers are wonderful educational products for four-year olds. They can stack, stick in, undo, roll, and fill these various types of items in order to learn and build important educational skills. The home is a great place for learning, and since all learning begins in the home, there are many materials in and around the average home, that can benefit children.

Install Openoffice on Centos 6.3 and Scientific Linux

What’s new in Apache OpenOffice 3.4.1 (maintenance release)
Additional language support
Bug fixes
Performance Improvements/Enhancements
Check full feature list here.

Install Apache OpenOffice 3.4.1 on CentOS/Scientific Linux (RHEL) 6.3
1. Download Apache OpenOffice 3.4.1 Linux Package
Apache OpenOffice 3.4.1 32-bit version
wget http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86_install-rpm_en-US.tar.gz/download -O OpenOffice_3.4.1_Linux_x86_install-rpm_en-US.tar.gz
Apache OpenOffice 3.4.1 64-bit version
wget http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.1/Apache_OpenOffice_incubating_3.4.1_Linux_x86-64_install-rpm_en-US.tar.gz/download -O OpenOffice_3.4.1_Linux_x86-64_install-rpm_en-US.tar.gz

2. Change to root User
su –
## OR ##
sudo -i

3. Remove OpenOffice.org and LibreOffice.org Packages with following command
yum remove openoffice* libreoffice*

4. Extract Package and Access Directory
Apache OpenOffice 3.4.1
tar -xvf OpenOffice_3.4.1*

cd en-US

5. Block openoffice.org-ure and libreoffice-ure package updates
In other words, “pin” openoffice.org-ure and libreoffice-ure packages
Add exclude row to /etc/yum.conf file, under the section [main]:
## Edit file
nano -w /etc/yum.conf

## Add exclude row
[main]
exclude=openoffice.org-ure* libreoffice-ure*

6. Install / Update Apache OpenOffice 3.4.1 RPM packages
rpm -Uvh RPMS/*.rpm RPMS/desktop-integration/openoffice.org3.4-redhat-*.rpm

7. Start Apache OpenOffice 3.4.1
Start OpenOffice with Clicking Icons (found normally from menus) or Start OpenOffice with Following Command:

openoffice.org3

Installing swftools and pdf2swf on CentOS / Scientific Linux

Main site, http://swftools.org, has pretty good wiki for documentation and a tidy installation walkthrough. Unfortunately for me I had a ton of problems getting pdf2swf to work properly on CentOS 6.3 x86_64, but fortunately for you I finally got it working and also put together this guide, which will hopefully save you some time.

Note: swftools version that comes default with yum would not work for me hence the need to compile from source.
Note2: this guide assumes the distro is up to date and all system libraries have been installed

Get necessary libraries and extract, I m using 0.9.1 as 0.9.2 as on date give error while make install.
wget http://swftools.org/swftools-0.9.1.tar.gz
tar -zvxf swftools-0.9.1.tar.gz

wget http://www.ijg.org/files/jpegsrc.v7.tar.gz
tar -zvxf jpegsrc.v9.tar.gz

wget http://download.savannah.gnu.org/releases-noredirect/freetype/freetype-2.4.11.tar.gz
tar -zvxf freetype-2.4.11.tar.gz

Now order of install. First we install jpeg:
cd jpeg-9
sudo ./configure
sudo make
sudo make install

Freetype is a little trickier. For install you have to reset cache, set flags, run ranlib (not sure why but it wouldn’t work without for me, if you know I’d love an explanation)
cd freetype-2.4.11
rm -f config.cache
sudo ranlib /usr/local/lib/libjpeg.a
sudo ldconfig /usr/local/lib
sudo LDFLAGS=”-L/usr/local/lib” CPPFLAGS=”-I/usr/local/include” ./configure
sudo make
sudo make install

If you want to be able to convert pdf files into text you have to install xpdf. This comes with latest version of swftools. /lib/pdf/xpdf

And now for the final step:
cd swftools-0.9.1
sudo LDFLAGS=”-L/usr/local/lib” CPPFLAGS=”-I/usr/local/include” ./configure
sudo make
sudo make install
Big thanks to swftools for making this possible.

/usr/libexec/mysqld: Can’t create/write to file ‘/tmp/’ (Errcode: 13)

A detailed log from /var/log/mysqld.log file:

/usr/libexec/mysqld: Can’t create/write to file ‘/tmp/ibCfJwf1’ (Errcode: 13)
070420 10:07:58 InnoDB: Error: unable to create temporary file; errno: 13
070420 10:07:58 [ERROR] Can’t init databases
070420 10:07:58 [ERROR] Aborting

070420 10:07:58 [Note] /usr/libexec/mysqld: Shutdown complete

/etc/init.d/mysql start command returned following output:
Initializing MySQL database: [ OK ]
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]

How do I fix this problem?

A. MySQL is not able to access your /tmp directory to wirte and create temporary files. Make sure /tmp is owned by root and sticky bit is set on /tmp directory. Type the following commands to fix the error:
# chown root:root /tmp
# chmod 1777 /tmp
# /etc/init.d/mysqld start

Now mysql should start without a problem.

Sysprep how to remove repetitive message

Make the following reg changes:

HKLM\SYSTEM\Setup
AuditInProgress = 0
cmdLine = “setup -newsetup”
FactoryPreInstallInProgress = 0
MiniSetupInProgress = 0
SetupType = 0 //this one is important!!!
SystemSetupInProgress = 0

HKLM\SOFTWARE\Microsoft\Factory
delete this entire key

and on the HDD:
c:\sysprep (or wherever you extracted it to)… delete it.