Server Configuration
- Virtual Server, Linux CentOS 4.4
Install Apache 2.X in /usr/local/apache
- start/stop using /usr/local/apache/bin/apachectl -k restart
- bootup using /etc/rc.d/rc.local
Install PHP v5.2.0 w/ Zend Optimizer 3.3.0
- using /usr/local/php/bin/php
- /usr/bin/php (ln -s ...)
Bash Search path (recommended)
- PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:
To-Do
- Logrotate for apache
- fix phpMyAdmin
- add sendmail
- final backup
GET Stock command
-----------------
http://timothy.vdsking.com/test/crawl_yahoo_delay_quote.php?s=0001HTTP Configuration
------------------
http://stocks.timyou.com- Production environment
- /home/stocks/prod/..
http://stocks-beta.timyou.com- Beta environment, same package to Production env.
- /home/stocks/beta/..
http://stocks-adm.timyou.com