install.txt

来自「股票监视器是一个简单的实用工具」· 文本 代码 · 共 43 行

TXT
43
字号
INSTALLATION:1)Get the latest tarball distribution and unpack it  into your web server's document root:$ tar -zxvf StockTracker-XXX.X.tar.gz2) Create the MySQL database:$ mysql -u mysql_user -pmysql> CREATE DATABASE stocks;3) Create the schema and load the stocks_info table:$ mysql -u mysql_user -p -D stocks < stocks.ddl$ mysql -u mysql_user -p -D stocks < stocks_info.sql4) Create the users that you will want to track watchlists for:$ mysql -u mysql_user -pmysql> INSERT INTO stocks_users (name, email) VALUES ("User Full Name", "email@domain.com");5) Optionally create a symlink for the StockTracker directory:ln -s StockTracker-XXX.X stocks6) Edit the crontab. This will update the   users watchlists every weekday with the closing values.$ crontab -eAdd the following line with your values for host information:30 16 * * 1,2,3,4,5 GET http://www.your_site.com/stocks/pgs/run_cron.php7) Edit the INCLUDES.inc.php file and change the settings for your   ADODB Cache directory (remember, it must be world readable/writeable)   and your MySQL database. If you're feeling adventureous, feel free   to change the color theme as well.That's it! You should be able to log into your new StockTracker web site now andbegin adding stocks to watch. Enjoy!

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?