Posted by Anonymous on November 2, 2011 at 5:11pm
Thank's to Andy's help I was able to understand how to do a Drupal installation in Ubuntu. I was unable to copy and rename the settings.php file using the terminal so I cheated and did it manually(along with giving it the correct read & write abilities or so I think) The one thing that I can't figure out before I install the new commerce site is how to rename the folder from drupal-7.8 to just drupal? Every time I tried it, it told me that it doesn't exist or that I don't have permissions even though I was using the sudo command. Any ideas? Thank you!
Comments
Linux 'moves' things, it doesn't 'rename' them (mv command)
Success!
That worked! Thank you! I did have to sudo, since it kept denying my permissions. This is pretty cool!
If you use drush, the
If you use drush, the following command allows you to download drupal core and renames the folder to "drupal"
drush dl drupal --drupal-project-renameThis is helpful if you want to use drush to keep drupal core up to date.
Missing file
I will deft. give drush a try. I'm currently at the installation screen. The directory sites/default/files does not exist. I see the file but the terminal tell s me that no such file or directory exists
Solved
Well, once again I cheated and because my terminal wouldn't let me do the work. The good news is that my drupal commerce site installation is finally working! Yay!!
Solved
Well, once again I cheated and because my terminal wouldn't let me do the work. The good news is that my drupal commerce site installation is finally working! Yay!!
Maybe change owner on /var/www
Ingrid, great to meet you last night - great work getting linux set up and diving into the command line, very courageous!
To make it easier for your user to work in /var/www you may want to change the owner of that directory to your user. That way you won't have to sudo every time you want to change something in there. I'm not at a Linux prompt right now but it would be something like:
sudo chown -R quartz45:www-data /var/wwwThat changes the owner of /var/www (and all subfolders and files) to your user (quartz45), and the group owner to www-data so Apache can have access. After that you should be able to issue mv, cp, and other commands in /var/www without getting permission errors and without having to sudo.
Hope that helps.
N.B. I'm renaming this topic so it's more informative for those browsing the group…
Owner changed
Thank you Andy that worked! I'm sure Linux will get easier with time, until then thank you everyone in advance for all of your help!
Command line video tutorials
Ingrid, and anyone else who's trying to learn the Linux (or Mac OS X) command line:
Addi Berry from Lullabot created a series of beginners command-line videos which cover a lot of the stuff we went over last night, and in this thread, highly recommended:
http://blog.mitchellshelton.com/2011/04/addison-berry-has-made-several-t...
Great videos
Thank you for the link! Great way to learn how to use the command line!