|
Contribute
Current Poll
Recent Weblogs |
Scratchpad for : morgainebrigidNotes of a newbie. apt-get install [name of program] apt-cache search ______ cat /etc/resolv.conf tells what my DNS address is. Apache is at /root/var/www/apache2-default/ Config is at /root/etc/apache2/apache2.conf **** not getting php pages to load php is enabled. **** I think maybe apache isn't running. ***** Vitally important website: http://www.ctunion.com/node/22 tells how to update Debian, then install Apache, PHP and Mysql. inet addr: 192.168.1.100. YOu can also type in http://localhost ***** 5:21 PM - got the server working!! Problem was, didn't have the correct info on how to get the inet address. The above site could have saved an incredible amt of time. Mustmake sure this is remembered! comes right after: http://goodbye-microsoft.com/ **** MAJOR VICTORY #2 5:37 PM. Got the PHP to work! 5:55 PM. Got the shopping cart install page to come up. mysql -p prompts for password of anonymous user. password is ******. TOMORROW: START WITH http://dev.mysql.com/doc/refman/5.0/en/database-use.html.10/02/2008 12:12:33 PM Mysql has been dumped and re-installed, so no password problems (I hope) 0/02/2008 12:12:33 PM I have a database created and am ready to start on OSCommerce. ftp server is working. PhP isn't. Stopping and starting Apache once PHP 4 is installed: # /etc/init.d/apache stop # /etc/init.d/apache start **** EXAMPLE OF HOW TO INSTALL A PROGRAM: PenultimateTome:/tmp# tar xvfz xampp-linux-1.6.8a.tar.gz -C /opt 'PenultimateTome:/tmp#' is the directory the file was downloaded to. 'tar xvfz' comes next 'xampp-linux-1.6.8a.tar.gz' is the file name. '-C /opt' means install to folder '/opt' 'pkill' means stop. last resort. ***** probable solution to PHP-mysql problem: apt-get install php4-mysql Solved problem with PHP, but not with OSCommerce. ***** to get apache info: Apache2ctl /usr/sbin/Apache2/ **** 10/09/2008 03:57:59 PM VICTORY!!! Finally got OScomerce to work. After doing 'apt-get install php4-mysql,' I had to restart Apache with '/etc/init.d/apache restart' ***** Waycool. In OSCommerce You edit the /english/index.php file and it changes the /catalog/index.php. ***** SUMMARY: To set up Linux on a Windows computer and install a server that can run shopping carts, do this: Go to http://goodbye-microsoft.com/ Follow directions. When you get Debian going, log in to root, bring up the terminal and type this: apt-get install apache apt-get install php4-mysql create a database go to OSCommerce site and download OSCommerce for Linux. Extract ONLY the catalog folder and put it in the www folder where your website is going to be. in your browser, type in 'localhost/catalog/admin' and follow directions. Eureka. Of course, no way is it really going to be this simple... |
|
Flattr |
|
|
| |
|
Articles and comments are the property of their respective posters. Trademarks are the property of their respective owners. This site is copyright © 2004-2011 Steve Kemp. | |||