Friday, September 28, 2007
Indian Food Names
Mango Lassi (mango-flavored milk, very good)
Aloo Tikki (Fried potato cake, good)
Sarson Ka Saag (Green mustard flavored ???)
Bread
Naan: white flour bread, garlic -flavored are even better
Makki Ki Roti: Pan Fried corn bread
Vegetarian dishes
Palak Paneer: Spinach Cheese
Biryani: rice with all ingredients, could be vegetarian or non-vegetarian
Malai Kofta: vegetarian balls
Non-Vegetarian dishes
Jallander Lamb (Lamb stew, spicy)
Chicken Masala (Chicken with tomato sauce? good)
Desert
Ras Malai (Cheese cake in milk sauce)
Kheer (Rice pudding)
Culfi with Falooda, Rabri (thin noodle with ice cream sauce? never tasted, but looks good)
Other
PAAN (Spice wrapped in grape leaf. Too strong for me)
Sunday, August 26, 2007
Web access authentication setup
- Create user passwd file: "htpasswd -c /etc/httpd/userfile username"; if "-c" flag is included, existing file will be overwritten, so no need for it when adding extra users.
- Insert
directive in httpd.conf file: - AuthName "Restricted Area"
- AuthType Basic
- AuthUserFile /etc/httpd/users
- require valid-user
Monday, August 20, 2007
Setting up Gallery on Home Linux
- Apache server: already installed on my server, but not automatically started.
- PHP:
- in order to compile PHP, we need "apxs", use "yum install httpd-devel" to get it installed.
- It turns out that I don't need to compile PHP anyway, since it is already available. The only thing is that php.ini is located under /etc instead of /user/local/lib.
- I checked all the settings suggested on gallery website. All seems fine except that "gettext" option is not available. Leave it open for now since I may not need the functionality provided by gettext.
- Mysql: (use "yum search mysql" to find all packages related to mysql)
- "yum install mysql mysql-server php-mysql mysql-devel", Mysql 5 is installed.
- Image Libraries
- yum install netpbm ImageMagick gd GraphicsMagick
- Gallery
- yum install gallery2
- The gallery package is installed under /usr/share, I have to create a symbolic link in the web server directory:
- ln -s /usr/share/gallery2 /var/www/html/gallery
- Optional packages
- yum install gallery2-ffmpeg jhead
- dcraw already installed
- Load up the gallery web page and follow the steps to finish install
- If need to check PHP setting, then a simple php file containing "" can be used to show all the info on a web page.
- Step 4, can not set my own directory (even if I chmod 777 on whatever directories created, the installation complains about not being able to access it); so have to use the default
- Step 5, database setup
- mysql_install_db: run this to initialize database
- myql tables are located under /var/lib/mysql. "cd /var/lib/mysql; chown -R mysql:mysql mysql test"; otherwise, mysqld cannot be started because the owner of those directories is root.
- "mysqld_safe --user=mysql &": start mysql server
- "mysqladmin version": check mysql is running
- "mysqladmin -u root create gallery2": create db for gallery
- "GRANT ALL PRIVILEGES ON gallery2.* TO 'user'@'domain' IDENTIFIED BY 'pass'" after login in to mysql as root "mysql -u root"
- Installer complains about not able to access database
- Login in as root to mysql and use the following command to check user info:
- connect mysql;
- select * from user;
- try "FLUSH PRIVILEGES" or restart mysql server "mysqladmin shutdown", but neither works.
- try to recompile PHP "configure --with-apxs2 --with-mysql --with-gd --with-bz2 --with-curl --with-pic --with-png"; does not work either
- It turns out that context for SELinux is not set up properly to allow httpd to write to the socket, error message can be found in /var/log/message. I disabled SELinux for now (change /etc/sysconfig/selinux).
- Everything else works fine just following the steps.
Tuesday, January 30, 2007
French Study Resources
The following information are quoted from one post on mitbbs.com:
--------------------- Start of quote ----------------------------------------------
先給个介绍法语读音的
http://www
(Does not work with Firefox, Need IE)
如果下标出现乱码,大
我爱法语 电子词典by:luc
http://spa
一个法英,法中语言翻
枫丹的luc斑竹制作
BBC的French
http://www
一个学习多国语言的网
http://www
里面有简单的日常法语
学语言的好站:htt
包括多国语言在线字典
该网站学法语课程。有
法语网上工具大集合,
法语游戏网站:htt
一些Verne的书,
http://www
法国黄页: http://www
法国的《世界报》:h
法语在线radio http://www
法国百科全书在线字典
code:eu (不知道这个密码还有
Original author info:
----------------------------------------
作者:jocelinezh
发表时间:2007-
更新时间:2007- |