Thursday, April 5, 2012

Install Horde 4 Webmail For ISPConfig On Debian Squeeze Through PEAR


Introduction

Horde is a groupware suite that offers email, calendar, task, contact management and more things. It also offers SyncML and ActiveSync to synchronize with your cell phones or other software. You can find out more about Horde on their webpage: http://www.horde.org/

1. Install necessary packages

apt-get install php5-sasl php5-intl libssh2-php php5-curl php-http php5-xmlrpc php5-geoip php5-ldap php5-memcache php5-memcached php5-tidy

2. Register the Horde Pear channel

pear channel-discover pear.horde.org

3. Set the Horde installation directory

pear install horde/horde_role
pear run-scripts horde/horde_role
You'll be asked the following question:
Filesystem installation for base Horde application: /var/www/horde
You can also chose another folder for the web-accessible horde files. However you'll need to adjust the path in the following steps then.

4. Install Horde Groupware Webmail Edition

pear install -a -B horde/webmail
There will be some errors regarding missing pear packages. Those will be fullfilled later.

5. Create MySQL Database

The Horde installation script will not create a MySQL database on its own. So we have to create it first and also the according user.
Enter the MySQL shell as
mysql -u root -p
Once entered, create database and the user 'horde' with passwod 'PASSWORD'. If you want to alter the database name, username, change according information. Set your own password of course.
CREATE DATABASE horde;
GRANT ALL ON horde.* TO horde@localhost IDENTIFIED BY 'PASSWORD';
FLUSH PRIVILEGES;
Exit the MySQL Shell again
exit;

6. Run installation script

webmail-install
You'll be asked the following questions:
What database backend should we use? mysql
Request persistent connections? 0
Username to connect to the database as: The username you set in the previous step
Password to connect with: The password you set in the previous step
How should we connect to the database? unix
Location of UNIX socket: Just press [enter]
Database name to use: The database name you set in the previous step
Internally used charset: utf-8
Use SSL to connect to the server: 0 *
Certification Authority to use for SSL connection: Just press [enter]
Split reads to a different server? false
Filesystem installation for base Horde application: /var/www/horde
Specify an existing mail user who you want to give administrator permissions (optional): user@domaincom **
* Only set SSL to 1 if you can provide for each domain a SSL cert.
** Select an existing email user. That user then has configuration rights from within Horde itself. This is needed to create initial configuration files.

7. Create custom phptmp folder and chown horde folder to Apache user

mkdir /var/www/horde/phptmp/
chown -R www-data:www-data /var/www/horde

8. Add additional PEAR components

pear install channel://pear.php.net/SOAP-0.13.0
pear install pear/MDB2#mysql
pear install channel://pear.php.net/HTTP_WebDAV_Server-1.0.0RC7
pear install channel://pear.php.net/XML_Serializer-0.20.2
pear install channel://pear.php.net/Date_Holidays-0.21.6
pear install Net_LDAP
pear install channel://pear.php.net/Text_CAPTCHA-0.4.3
pear install pear/HTTP_Request2
pear install channel://pear.php.net/Console_Color2-0.1.1

9.Add local PEAR holiday calendars (optional)

There are several holiday calendars already in PEAR available. By default they are not installed. Select one or more of the following calendars if you want to install them. This enables in Horde Kronolith (=calendar) to show holidays for that country. Of course you could also add your own custom calendar to the PEAR installation.
pear install channel://pear.php.net/Date_Holidays_Austria-0.1.4
pear install channel://pear.php.net/Date_Holidays_Brazil-0.1.2
pear install channel://pear.php.net/Date_Holidays_Denmark-0.1.3
pear install channel://pear.php.net/Date_Holidays_Discordian-0.1.1
pear install channel://pear.php.net/Date_Holidays_EnglandWales-0.1.4
pear install channel://pear.php.net/Date_Holidays_Germany-0.1.2
pear install channel://pear.php.net/Date_Holidays_Iceland-0.1.2
pear install channel://pear.php.net/Date_Holidays_Ireland-0.1.3
pear install channel://pear.php.net/Date_Holidays_Italy-0.1.1
pear install channel://pear.php.net/Date_Holidays_Japan-0.1.2
pear install channel://pear.php.net/Date_Holidays_Netherlands-0.1.2
pear install channel://pear.php.net/Date_Holidays_Norway-0.1.2
pear install channel://pear.php.net/Date_Holidays_PHPdotNet-0.1.2
pear install channel://pear.php.net/Date_Holidays_Romania-0.1.2
pear install channel://pear.php.net/Date_Holidays_Slovenia-0.1.2
pear install channel://pear.php.net/Date_Holidays_Sweden-0.1.3
pear install channel://pear.php.net/Date_Holidays_Ukraine-0.1.2
pear install channel://pear.php.net/Date_Holidays_UNO-0.1.3
pear install channel://pear.php.net/Date_Holidays_USA-0.1.1

10. Create /etc/apache2/conf.d/horde.conf with the following content

Alias /Microsoft-Server-ActiveSync /var/www/horde/rpc.php
Alias /horde /var/www/horde

Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
php_value include_path ".:/usr/share/php"
php_value open_basedir "none"
php_value upload_tmp_dir "/var/www/horde/phptmp/"

11. Restart apache

/etc/init.d/apache2 restart

12. Edit /var/www/horde/conf/conf.php and set

$conf['testdisable'] = false; 

13. Open the horde test page on any domain

http://www.domain.com/horde/test.php
Most of the settings should be ok now. However you might want to alter some of the default php garbage collection stuff.
Re-edit the /var/www/horde/conf/conf.php and disable the test page
$conf['testdisable'] = true;

14. Allowing users to change their password from Horde (optional)

Horde can enable to let people change their ISPConig password from within Horde. For this, Horde provides a Passwd addon that needs to be configured to work with ISPConfig
Install the addon and chown it to Apache user:
pear install -a -B horde/passwd
chown -R www-data:www-data /var/www/horde/passwd
Horde also provides a simple way to alter configuration files with local values. This is done by copying an existing config file (e.g. conf.php) to conf.local.php. This can be usefull if you want to alter the default preference settings of some Horde applications e.g. use by default a 24h clock. So you can provide a homogenous starting configuration for new users. The same also goes for the Passwd addon. By using a local config file we make sure, a future update of horde won't override our settings.
cp -a /var/www/horde/passwd/config/backends.php /var/www/horde/passwd/config/backends.local.php
The above command is one line.
Now edit the /var/www/horde/passwd/config/backends.local.php file and search for
$backends['hordesql'] = array (
'disabled' => false,
Alter that to
$backends['hordesql'] = array (
'disabled' => true,
Then find the block that starts with
$backends['sql'] = array (
'disabled' => false,
'name' => 'SQL Server',
[...]
// 'query_lookup' => 'SELECT user_pass FROM horde_users WHERE user_uid = %u',
// 'query_modify' => 'UPDATE horde_users SET user_pass = %e WHERE user_uid = %u',
),
);
and replace the whole block with this
$backends['sql'] = array (
'disabled' => false,
'name' => 'SQL Server',
'preferred' => '',
'policy' => array(
'minLength' => 7,
'maxLength' => 64,
'maxSpace' => 0,
'minNumeric' => 1,
),
'driver' => 'Sql',
'params' => array(
'phptype' => 'mysql',
'hostspec' => 'localhost',
'username' => 'root',
'password' => '***',
'encryption' => 'crypt-md5',
'database' => 'ISPCONFIG_DATABASE',
'table' => 'mail_user',
'user_col' => 'email',
'pass_col' => 'password',
'show_encryption' => false
// The following two settings allow you to specify custom queries for
// lookup and modify functions if special functions need to be
// performed. In places where a username or a password needs to be
// used, refer to this placeholder reference:
// %d -> gets substituted with the domain
// %u -> gets substituted with the user
// %U -> gets substituted with the user without a domain part
// %p -> gets substituted with the plaintext password
// %e -> gets substituted with the encrypted password
//
// 'query_lookup' => 'SELECT user_pass FROM horde_users WHERE user_uid = %u',
// 'query_modify' => 'UPDATE horde_users SET user_pass = %e WHERE user_uid = %u',
),
);
Of course replace the password with the root mysql password and change the database name to your ISPConfig database name. Once this is changed, you can use the Passwd tool to change the password from within Horde.
The policy section lets you set various options for what the password must look like. In this setup it has to be at least 7 characters and it must contain at least 1 number and no white spaces. Check the beginning of this file to find out what other options there are.

15. Finals things

Once you have made all the changes, login with the administrative user for horde. The email user you set during the webmail-install script setup. Once logged in, go into the adminsitration section and then horde configuration and create all the necessary configs. To start with, you can use the button that just creates them all or you can chose to review the configuration for each horde application yourself and apply changes that you want.
Horde also offers further applications. Visit http://www.horde.org/apps to see what's there.
Horde also offers a RSS feed so that you'll be notified on newer versions and for updating see here: http://www.horde.org/apps/webmail/docs/UPGRADING

Tuesday, April 3, 2012

أفضل المشروبات لفقدان الوزن

http://www.elfagr.org/index.php?option=com_content&view=article&id=149464:%D8%A3%D9%81%D8%B6%D9%84-%D8%A7%D9%84%D9%85%D8%B4%D8%B1%D9%88%D8%A8%D8%A7%D8%AA-%D9%84%D9%81%D9%82%D8%AF%D8%A7%D9%86-%D8%A7%D9%84%D9%88%D8%B2%D9%86&catid=20:%D8%A7%D9%84%D8%B5%D8%AD%D8%A9-%D9%88%D8%A7%D9%84%D9%85%D8%B1%D8%A3%D8%A9&Itemid=83

فقدان الوزن هاجس يلاحق عدد كبير من السيدات والفتيات ليس فقط في العالم العربي ولكaن في جميع أنحاء العالم، وانتقل هذا الهاجس إلى خبراء التغذية الذين تفننوا خلال السنوات العشر الأخيرة، ليقدموا لنا نصائح مكثفة تساعدنا على الاحتفاظ برشاقتنا كل دقيقة. 
وبين التمارين الرياضية الشاقة والأنظمة الغذائية الصارمة، مل البعض ويأس من الوصول إلى الوزن الذي ينشده، إلا أن الخبراء عادوا ليقدموا حلا سريعا وفعالا من خلال سبعة مشروبات أثبتت فعاليتها في مجال الرجيم.


1- الشاي الأخضر:
لا أحد يستطيع أن يتجاهل فوائد مشروب الشاي الأخضر، سواء في تنقية الجسم ونضارة الوجه والوقاية من الإصابة بالسرطان أو حتى في تخفيف نزلات البرد.
إلا أن المذهل في الأمر ان الدراسات العالمية أثبتت مؤخراً أنه بتناولك من ثلاثة لخمسة أكواب من الشاي الأخضر يومياً ولمدة أسبوع كامل دون انقطاع، فإنك تعطين إشارة لجسمك بحرق من 35% إلى 43 % من الدهون ، وذلك لاحتوائه على مضادات الأكسدة بشكل كبير للغاية، وهو ما يجعله على رأس قائمة مشروبات الرشاقة والرجيم.


2- مشروب “جيليان مايكلز” الشهير لفقدان الوزن:
يعتبر مشروب “جيليان مايكل” من أكثر المشروبات الفعالة في مجال الرجيم في أمريكا وأوروبا، وقد تم تطبيقه على أكثر من مليون شخص وأثبت فعاليته في تخليص الجسم من الماء الزائد مما ينعكس بشكل كبير على وزنك.
ولتحضير المشروب احضري الآتي:
- 60 أوقية من الماء المقطر النقي.
- ملعقة من السكر.
- ملعقة من عصير التوت البري.
- كيس شاي جذور الهندباء (موجود لدى محال العطارة).
- معلقتا عصير ليمون.
أضيفي المكونات السابقة معاً وقلبي، واشربي مقدار 60 أوقية يوميا لمدة 7 أيام وستلاحظين الفرق بتغير شكل الجسم للأفضل.


3- الماء المثلج:
قد يعاني البعض من ارتفاع أسعار بعض مكونات مشروبات الرجيم أو صعوبة الحصول عليها، إلا أن الدراسات أثبتت أنك لست مضطرة إلى إنفاق أموالك ووقتك للبحث عن هذه مكوناتها، لان الحل بسيط للغاية وموجود دائماً في منزلك.
فالتجارب العلمية أثبتت ان تناولك لحوالي عشرة أكواب من الماء المثلج يومياًُ، يجعلك تخسرين من 250 إلى 500 سعرا حراريا، والسبب بسيط للغاية، لأن بمجرد تناولك لهذا الماء ذي درجة الحرارة المنخفضة يقوم جسمك بإحراق عدد من السعرات لتعديل حرارة هذا الماء إلى درجة حرارة جسمك العادي، مما يترتب عليه خسارة وزنك بطريقة ملحوظة للغاية مع تكرار الأمر يومياً.


4- عصير الخضراوات:
من الخدع الفعالة في مجال خسارة الوزن تناول كوب كبير من عصير الخضراوات قبل تناولك للطعام مباشرة، فبحسب النتائج التي توصلت إليها جامعة “بنسلفانيا” مؤخراً، فإن تناولك لعصير الخضراوات قبل وجبة الغداء يومياً سيؤدي بالضرورة إلى تقليل وجبتك بمقدار 135 سعرا.
فكل ما عليك فعله هو اختيار الخضار المفضل لديك وضربه في الخلاط، وإضافة توابلك المفضلة إليه، لتبدئي بذلك وجبتك بطريقة صحية وفعالة.


5- الحليب خالي الدسم:
يوجد لدى البعض اعتقاد خاطئ بان الحليب يساعد على زيادة الوزن، إلا ان التجارب العلمية أكدت ان الكالسيوم الموجود بالحليب خالي الدسم يعزز قدرة الجسم على مضاعفة كمية الدهون التي سوف تخسرينها عند إتباعك لنظام غذائي معتدل.
فبتناولك لكوب من الحليب خالي الدسم يومياً، قد تخسرين الدهون من جسمك بمعدل 70% أكثر ممن لا يتناول الحليب إطلاقا.


6- مغلي الزنجبيل والشاي الأخضر والكمون والنعناع:


يعتبر هذا المشروب من الوصفات العربية التي تم تجربتها منذ قديم الأزل، وأثبت هذا المشروب فعاليته في حرق الدهون بكل سريع للغاية والمساعدة في التخلص من “الكرش”.
وطريقة عمل المشروب سهله للغاية، كل ما عليك هو إحضار كوب ماء وأضيفي إليه معلقة شاي أخضر ومعلقة كمون ونعناع وزنجبيل، وقلبي جيدا ثم اغلي المزيج لمدة 10 دقائق وصفيه.
وللحصول على نتيجة فعالة عليك تناول هذه الوصفة ثلاثة مرات يومياً، قبل الوجبات الثلاث بنصف ساعة، وحاولي الاستمرار في تناولها لمدة 15 يوماً وستلاحظين الفرق خاصةً بمنطقة البطن


7- عصير الأناناس والكيوي:
أثبتت التجارب العلمية أن تناولك لعصير الكيوي والأناناس يومياً لمده 15 يوما يساعد الجسم على فقدان حوالي 10 كيلو جرامات مع الالتزام بالتمارين الرياضية والنظم الغذائية المعتدلة.


طريقة عمل العصير: امزجي حبتين من الكيوي و5 شرائح من الأناناس في الخلاط وتناولي العصير بدلاً من العشاء يومياً دون إضافة السكر.

شاهد المحتوى الأصلي علي بوابة الفجر الاليكترونية - أفضل المشروبات لفقدان الوزن 

7 Essential Free Linux Speech Tools


Speech synthesizers are text-to-speech systems used with computers. This type of software is programmed to include phonemes and the grammatical rules of a language, so that words are pronounced correctly. This article identifies the finest open source speech synthesizers that are available for the Linux platform. This category of software is particularly useful for increasing the accessibility of the internet, but there are many other applications for speech synthesizers.
Although this article focuses on open source software, we would take this opportunity to mention the IVONA Text to Speech System, software that is compatible with Linux. IVONA is an incredibly impressive text-to-speech system, generating exceptionally natural sounding voices. Unfortunately, the software is released under a proprietary license. Whilst its open source competitors, eSpeak, Festival, and Praat Speech Analyser, sound somewhat robotic in comparison with the human-sounding IVONA, they do provide clear audio with text documents.
This article also highlights the best speech recognition software for Linux. Speech recognition is the translation of spoken words into text. This type of software helps users to operate their computer by speaking to it, and is a real blessing for anyone who finds it difficult to type, such as the elderly, or people with physical disabilities. Using speech recognition software, users can easily write emails, surf the net, manage their finances, chat to other users online, and perform many other computer activities.
To provide an insight into the quality of software that is available, we have compiled a list of 7 of the finest speech tools covering the spectrum of speech synthesizers, speech recognition software, speech recognition engines, and speech analysis.
Now, let's explore the 7 speech tools at hand. For each title we have compiled its own portal page, a full description with an in-depth analysis of its features, a screenshot of the software in action, together with links to relevant resources and reviews.
Speech Tools
eSpeak Speech synthesizer using a formant synthesis method
Simon Flexible speech recognition software
Julius Two-pass large vocabulary continuous speech recognition engine
Jovie Text-to-speech system for KDE
Orca Screen Reader Scriptable screen reader
Praat Speech Analyser Sofware for speech analysis and synthesis
Festival General multi-lingual speech synthesis system

How To Set Up WebDAV With Lighttpd On Debian Squeeze


This guide explains how to set up WebDAV with lighttpd on a Debian Squeeze server. WebDAV stands for Web-based Distributed Authoring and Versioning and is a set of extensions to the HTTP protocol that allow users to directly edit files on the lighttpd server so that they do not need to be downloaded/uploaded via FTP. Of course, WebDAV can also be used to upload and download files.
I do not issue any guarantee that this will work for you!

1 Preliminary Note

I'm using a Debian Squeeze server with the IP address 192.168.0.100 here.

2 Installing WebDAV

You can install lighttpd (if it's not already installed), the lighttpd WebDAV module and the apache2-utils package (which contains the tool htpasswd which we will need later on to generate a password file for the WebDAV share) as follows:
apt-get install lighttpd lighttpd-mod-webdav apache2-utils
Afterwards, we must make sure that the directory /var/run/lighttpd is owned by the www-data user and group. This directory will contain an SQLite database needed by WebDAV:
chown www-data:www-data /var/run/lighttpd/
Next, we enable the modules mod_auth and mod_webdav:
lighty-enable-mod auth
lighty-enable-mod webdav
Reload lighttpd afterwards:
/etc/init.d/lighttpd force-reload
 

3 Creating A Virtual Host

I will now create a lighttpd vhost (www.example.com) in the directory /var/www/web1/web. If you already have a vhost for which you'd like to enable WebDAV, you must adjust this tutorial to your situation.
First, we create the directory /var/www/web1/web and make the lighttpd user (www-data) the owner of that directory:
mkdir -p /var/www/web1/web
chown www-data:www-data /var/www/web1/web
Then we open /etc/lighttpd/lighttpd.conf and add the following vhost to the end of the file:
vi /etc/lighttpd/lighttpd.conf
[...]
$HTTP["host"] == "www.example.com" {
server.document-root = "/var/www/web1/web"
}
Afterwards we restart lighttpd:
/etc/init.d/lighttpd restart

4 Configure The Virtual Host For WebDAV

Now we create the WebDAV password file /var/www/web1/passwd.dav with the user test (the -c switch creates the file if it does not exist):
htpasswd -c /var/www/web1/passwd.dav test
You will be asked to type in a password for the user test.
(Please don't use the -c switch if /var/www/web1/passwd.dav is already existing because this will recreate the file from scratch, meaning you lose all users in that file!)
Now we change the permissions of the /var/www/web1/passwd.dav file so that only root and the members of the www-data group can access it:
chown root:www-data /var/www/web1/passwd.dav
chmod 640 /var/www/web1/passwd.dav
Now we modify our vhost in /etc/lighttpd/lighttpd.conf so that it looks as follows:
vi /etc/lighttpd/lighttpd.conf
$HTTP["host"] == "www.example.com" {
server.document-root = "/var/www/web1/web"
alias.url = ( "/webdav" => "/var/www/web1/web" )
$HTTP["url"] =~ "^/webdav($|/)" {
webdav.activate = "enable"
webdav.is-readonly = "disable"
webdav.sqlite-db-name = "/var/run/lighttpd/lighttpd.webdav_lock.db"
auth.backend = "htpasswd"
auth.backend.htpasswd.userfile = "/var/www/web1/passwd.dav"
auth.require = ( "" => ( "method" => "basic",
"realm" => "webdav",
"require" => "valid-user" ) )
}
}
The alias.url directive makes (together with $HTTP["url"] =~ "^/webdav($|/)") that when you call /webdav, WebDAV is invoked, but you can still access the whole document root of the vhost. All other URLs of that vhost are still "normal" HTTP.
Restart lighttpd afterwards:
/etc/init.d/lighttpd restart

5 Testing WebDAV

We will now install cadaver, a command-line WebDAV client:
apt-get install cadaver
To test if WebDAV works, type:
cadaver http://www.example.com/webdav/
You should be prompted for a user name. Type in test and then the password for the user test. If all goes well, you should be granted access which means WebDAV is working ok. Type quit to leave the WebDAV shell:
root@server1:~# cadaver http://www.example.com/webdav/
Authentication required for webdav on server `www.example.com':
Username: test
Password:
dav:/webdav/> quit
Connection to `www.example.com' closed.
root@server1:~#

6 Configure A Windows XP Client To Connect To The WebDAV Share

This is described on http://www.howtoforge.com/setting-up-webdav-with-apache2-on-debian-etch-p2.
Please specify the port in the WebDAV URL, e.g. http://www.example.com:80/webdav. For some strange reason this makes Windows XP accept the normal username (e.g. test) - otherwise Windows XP expects NTLM usernames (that would have the form www.example.com\test).

7 Configure A Linux Client (GNOME) To Connect To The WebDAV Share

This is described on http://www.howtoforge.com/setting-up-webdav-with-apache2-on-debian-etch-p3.

8 Links

Sunday, April 1, 2012

Top 10 Free Apps Designed for Android 4.0+ ICS

Android 4.0 code named Ice Cream Sandwich (ICS) was released more than three months ago. Google's own Galaxy Nexus is perhaps the only device that ships with it at the moment. And because of that, there are only a handful of Android apps available whose design has been updated for Android 4.0+. That will change as time goes by. But which all are the Android apps whose design has been updated for Android 4.0 ICS at the moment? Let's find out.


apps designed for ICS

Bump: Lets you share contact information and photos by simply bumping two phones together (both should have Bump installed of course and no music sharing supported at the moment).

Bump - apps designed for ICS
Calculator4.0-apps designed for ICS

Calculator 4.0: Advanced Calculator, Currency Converter, Measurement Converter, Mortgage Calculator, and Tip Calculator. Calculations Pro version also available.

Calculator Qrcode
Dropbox - apps designed for ICS

Dropbox client for Android received an update recently and its new look and feel is in tune with latest design enhancements of Android 4.0 ICS.

Dropbox-qrcode
Notes for ICS - apps designed for ICS

Notes for ICS is a simple note taking application with Google Tasks sync capability. It is tablet friendly and comes with widgets. Designed for ICS.

notes for ics - qrcode
redditnews - apps designed for ICS

Reddit News is a Reddit reader app for Android. It has got a beautiful Android 4.0 ICS inspired UI. Actually, there are quite a number of ICS friendly reddit apps for Android.

redditnews-qrcode
mxvideo player - apps designed for ICS

MX Video Player is my favorite alternative to stock video player in Android. It just plays everything and has a number of functionalities unseen in other popular videos players for Android. And it looks very native in Android 4.0 ICS environment.

mxvideoplayer qrcode
Rdio for Android ICS

Rdio is an incredibly well designed online music streaming app for Android. And all its design elements are in tune with latest Android. Free trial version of the Rdio is available.

rdio qrcode
Quickpic for Android ICS

QuickPic is perhaps the best designed picture viewer/gallery app for Android and it's free.
quickpic qrcode
File Explorer is a simple file browser app for Android. 

file explorer qrcode
Bold Twitter app for Android ICS

Boid is a brand new Twitter application designed for Android 4.0 with ICS in mind. Bold is in its early stages of development and its already receiving rave reviews from users.
boid qrcode
I have excluded official Google apps for obvious reasons. I have also deliberately excluded some other really popular apps from this list since we had already featured a number of them in our two previous articles: Most creatively designed apps for Android: Part 1 and Part 2.

Running LinOTP On CentOS 6.2


This howto will show how you can set up LinOTP on CentOS 6.2. LinOTP is a modular and flexible solution for two factor authentication with one time passwords. This howto uses the community packages that are available at the python package index PyPI.
yum install mysql-server
/etc/init.d/mysqld start
Create a new database:
mysql -u root
mysql> create database LinOTP2;
Query OK, 1 row affected (0.00 sec)
mysql> grant all privileges on LinOTP2.* to 'linotp'@'localhost' identified by 'goodSecret';
Query OK, 0 rows affected (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
We now need to install some more packages:
yum install MySQL-python
yum install http mod_wsgi mod_ssl
yum install python-setuptools
...and download the pip tool, which we will use to install LinOTP:
wget http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#md5=62a9f08dd5dc69d76734568a6c040508
tar -zxf pip-1.1.tar.gz
cd pip-1.1
python setup.py install
LinOTP has a RADIUS token, so we need to install the python radius packages:
pip install pyrad
We also need to create some directories:
mkdir /var/log/linotp/
mkdir /var/ssl/private/
Now we prepared everything to install the LinOTP stuff. This is also decribed on linotp.org:
sudo pip install linotp linotpuseridresolver
Edit the file /etc/linotp2/linotp.ini to access the database you just created.
sqlalchemy.url = mysql://linotp:goodSecret@localhost/LinOTP2
The OTP Keys are encrypted within the database. So create an encryption key:
dd if=/dev/random of=/etc/linotp2/encKey bs=1 count=96
You are now ready to create the database tables. This is done using paster:
paster setup-app /etc/linotp2/linotp.ini
OK. You are done, now! You can easily check the LinOTP installation by starting the server using the paster command:
paster serve /etc/linotp2/linotp.ini
Use your browser to go to http://localhost:5001/manage and you will be able to see the management interface, create a useridresolver with your /etc/passwd, create a realm and enroll a token for a user from your /etc/passwd.
Verify authenticating by going to http://localhost:5001/auth/index.
You probably want SSL encryption and authentication for the management. ;-)
So please follow the instructions on how to run LinOTP from within the apache webserver.

كيف تعرفين أنك لا تصلحين زوجة؟

1- إذا دخل زوجكِ البيت ولم تتركي كل شيء
في يديكِ وتذهبي لإستقباله والابتسامة في
 وجهك ومواساته بعد تعبه إذا فإنكِ لا تصلحين زوجة .مجموعة السماح البريدية
 إذا إحتاج الزوج لمن ينسيه تعب العمل
 ومشاغله خارج المنزل ولم يجدكِ تهتمين 
لذلك إذا ما فائدتكِ كزوجة !.مجموعة السماح البريدية
2- إذا كان زوجكِ لا يأكل من طبخ يديكِ
 ويذهب ويشتري الأكل من المطعم ولا يغسل ملابسه إلا عامل المغسلة إذا أنتِ لا تصلحين زوجة .مجموعة السماح البريدية
إذا كان لا يهتم لنظافة زوجكِ إلا عامل المغسلة ولا يأكل من يديكِ بل من يدين عامل المطعم بالرغم من أن عامل المطعم يديه كلها عرق
إذا ما فائدتكِ كزوجة !.
مجموعة السماح البريدية
3- إذا غضب زوجك ورددتي عليه الكلمة 
بعشر كلمات ورفعتي صوتكِ عليه إذا أنتِ لا 
تصلحين زوجة ، الزوج يتحمل ضغوط الحياة 
ومصاريفها وهموم إعاشة الزوجة 
ورعايتها وتولي شؤون البيت ورأسه مليء 
بالمشاغل والضغوط والهموم ويعيش في 
مجتمع قاسي لا يرحم  فمن الطبيعي أن يكون عصبي .مجموعة السماح البريدية
وينبغي للزوجة أن تهدأه وتصبر عليه إلى
 أن يهدأ أو تسمعه كلام جميل إذا غضب
وتكون حنونة معه لتنسيه كل معاناته
ومشاكله حتى تكون فعلا زوجة ولكن إذا
 لم تصبري عليه حتى يهدأ وتسمعيه
 كلام جميل يهدأه إذا ما فائدتكِ كزوجة ! . 
مجموعة السماح البريدية
4- إذا جلستي مع زوجكِ في البيت ورائحتكِ كريهة أو لباسكِ غير نظيف وغير أنيق إذا لا تصلحين زوجة . 
مجموعة السماح البريدية
 الزوجة لابد أن تكون بكامل زينتها وأناقتها
أمام زوجها ولكن إذا كنتِ لا تتزينين ولا
تتعطرين وتتنظفين إلا عند العزائم والمناسبات
إذا ما فائدتكِ كزوجة !
مجموعة السماح البريدية
5- إذا أفشيتي أسرار بيتكِ لأمك أو لأختكِ
أو لصديقاتك إذا فأنتِ لا تصلحين زوجة .
مجموعة السماح البريدية
الزوجة تكون بئر لأسرار الزوج ولا تفضح أسرار بيتها وتظهرها للناس سواء كانت  
مشاكل أو أمور تخص الزوج فلو أظهرتها للناس إذا ما فائدتكِ كزوجة !.
مجموعة السماح البريدية
6- إذا حرضتي زوجكِ على أهله ولم تعينيه
في بر أهله إذا فأنتِ لا تصلحين زوجة .مجموعة السماح البريدية
الزوجة لا بد أن تصل أهل زوجها وتعين زوجها على بر أهله وتعينه على أي شيء فيه طاعة لأمة أو لأبيه أو وصل لأرحامه فإذا لم تعينيه على الطاعة إذا ما فائدتكِ كزوجة ! .
مجموعة السماح البريدية
7- إذا حانت الصلاة ولم توقظي زوجكِ للصلاة ولم تأمريه بطاعة الله عز وجل وتطلبي منه ترك المحرمات وتعينيه على التوبة إذا فأنتِ لا تصلحين زوجة .
مجموعة السماح البريدية
 الزوجة لا بد أن تعين زوجها على الطاعة وتعينه على ترك ما حرم الله ولا تعينه على معصية الله فلو لم تعيني زوجكِ على طاعة الله وتعينيه على التوبة إذا ما فائدتكِ كزوجة !.
مجموعة السماح البريدية
8- إذا تكلم زوجك فاجعلي تركيزك وإنتباهك كله معه فلو تكلم وأنتِ لاهية في شيء من الأشياء مثل الكمبيوترأو التلفزيون ولم تعطيه أي إهتمام أوإنتباه إذا فأنتِ لا تصلحين زوجة.مجموعة السماح البريدية
 الزوجة لا بد أن تشعر زوجها بأهميته وتشعر زوجها أنها تهتم لكل ما يتعلق به فلو لم يحس الزوج بأنكِ مهتمة له إذا ما فائدتكِ كزوجة ! .