where is /WEB/ROOT? installing a PHP app (feed-on-feeds) with sudo svn
thufir
hawat.thufir at gmail.com
Sun Apr 6 11:14:32 UTC 2008
I'm going by the instructions at:
http://code.google.com/p/feed-on-feeds/wiki/QuickInstall
but am getting:
The requested URL /feed-on-feeds/install.php was not found on this server.
Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.3 Server at localhost Port 80
http://localhost/feed-on-feeds/install.php
Do I have things in the correct location? The first step is to:
Get code
$ cd /WEB/ROOT
$ svn checkout http://feed-on-feeds.googlecode.com/svn/trunk/ feed-on-
feeds
Create fof-config.php
$ cd feed-on-feeds
$ cp fof-config-sample.php fof-config.php
$ nano fof-config.php # or your favorite $EDITOR
The only thing which I did differently was to use "sudo" to checkout the
code.
thufir at arrakis:~$
thufir at arrakis:~$ cat -n /var/www/apache2-default/feed-on-feeds/fof-
config.php | head -n 22 | tail -n 6
17
18 define('FOF_DB_HOST', "localhost");
19 define('FOF_DB_USER', "feed_on_feeds");
20 define('FOF_DB_PASS', "password");
21 define('FOF_DB_DBNAME', "feed_on_feeds");
22
thufir at arrakis:~$
thufir at arrakis:~$ firefox http://localhost/feed-on-feeds/install.php
thufir at arrakis:~$
thufir at arrakis:~$ ll /var/www/apache2-default/feed-on-feeds/fof-config.php
-rw-r--r-- 1 root root 1143 2008-04-06 03:46 /var/www/apache2-default/
feed-on-feeds/fof-config.php
thufir at arrakis:~$
thufir at arrakis:~$
thanks,
thufir
More information about the ubuntu-users
mailing list