Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1102
  • Last Modified:

Installing Drupal via command line (ubuntu)

Hi, i have installed PHP, MySQL and Apache using apt-get. Now i am trying to install and configure drupal but i am kind of stucked.....

i am currently at item number 8 .. LOAD the Drupal tables of
http://lists.drupal.org/pipermail/documentation/2006-January/003372.html

could someone please have alook at it and point me to the correct direction thanks? and i am using the command line only. how do i run the install scripts? because i went to drupal.org it says open a web browser and point to the website's base url...which website are they referring to? ...

thanks
0
jaxrpc
Asked:
jaxrpc
  • 2
1 Solution
 
nizsmoDeveloperCommented:
I think base url means where you have installed your drupal on your server, and try to execute your website.

It states in step 8 though that you should go to settings.php:
 /drupal/sites/default/settings.php'.

after executing the database command:
 mysql -u nobody -p drupal < database/database.mysql

is this the step which you are referring to?
0
 
jaxrpcAuthor Commented:
yup.... what does it meant by database/database.mysql ...it is some kind of file?
0
 
nizsmoDeveloperCommented:
database/ is the directory that the file is in, and database.mysql is a file (normally just .sql) which you should be able to locate in the directory.
0
 
firehazrdCommented:
why dont you just connect to your web server using http and do the setup the usual way...

extract files to the right folder...
visit that folder from a browser...
if its a webserver you can do it from another machine (just use the ip)...
then follow the simple steps for setup...
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now