Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2012
What does the following commands do/mean?(Installing Drupal on Ubuntu)
Do advice if I happened to miss any step.
sudo apt-get update
sudo apt-get install lamp-server^
sudo apt-get install php5
sudo apt-get install phpmyadmin
sudo apt-get install drupal7
sudo cp /etc/drupal/7/apache2.conf /etc/apache2/mods-enabled/drupal.conf
sudo /etc/init.d/apache2 restart
mysql -u root -p
CREATE DATABASE dbdrupal;
Go to browser and type in http://host/drupal7/install.php to install drupal
- Join Date
- Jan 2005
- Saint Paul, MN
The command "apt-get" is the package manager for Debian based distros (such as Ubuntu, Mint Linux).
The sub-command to apt-get is the action that the package manager is to do. In your example, you have two subcommands
- update --- make sure your system has the latest package information
- install --- install a package by its name
So you made sure that your system had the latest package information and then you installed the packages of:
The next command copied the "drupal apache configuration file into the apache confiuration area (apache is the web server) and then the next command restarted the apache daemon (the server).
The command "mysql -u root -p" starts mysql (a database server) as user "root" and will prompt you for the password. This command reads commands from standard in (stdin) and it tells the the mysql daemon to create the database "dbdrupal".
Since I have never installed Drupal, I have no idea what the web page does on the server that it tells you to goto (but it must setup its needed environment).