Showing posts with label XAMPP. Show all posts
Showing posts with label XAMPP. Show all posts

1.04.2011

On a ROLL!

Okay so today I got an email from my boss asking me to bring my laptop along so I could get some howto Drupal videos on it.  I figured it'd be a good thing to have Drupal installed on my Windows machine too.
That was a whole different banana...  haha
So my biggest problem with Linux is that I had to keep giving MYSELF permission to access all the files, right?  I mean, besides the other problems...  and this time, I was thinking HURRAH I won't have any permissions to worry about!  
I went to this site for step by step: http://drupal.org/node/307956
So I copied the drupal files over to htdocs in XAMPP and tried to open up phpmyadmin, and got this error: #2003 - Can't connect to MySQL server on 'localhost' (10061)
Back to Google! After some research, I figured out the problem is with the Antivirus software blocking XAMPP.  Fabulous.  I fixed those settings, and it seems to be doing alright so far!
Dontcha just LOOOOOVE when the computer tells you what to do?  
Virus Protection: "NO YOU CAN'T OPEN XAMPP IT'S NOT APPROOOOOOVED!" 
Me: "Uh, yeah I can.  I opened it."
Virus Protection: "YOU DON'T KNOW WHAT YOU'RE DOING!  YOU'LL RUIN EVERYTHING!"
Me: "Whatever."
I like Linux.  Linux lets you do whatever.  Just don't type in rm -f *.* and you're golden.  ;)
Hey, speaking of Linux, check out this awesome list of cool commands!  http://www.tuxfiles.org/linuxhelp/linuxcommands.html
It's done.  XDD  That was much better than yesterday, I think it would've been good on MICK too instead of my laptop.  I'm going to start playing with Drupal now, so have a great day, and if something earth shaking or whatever happens, I'll blog about it.  :D

1.03.2011

Drupal? Finally? AKA ADVENTURES Part 2!

So I have XAMPP, or LAMPP 'cuz it's for my Linux.  Good ol' MICK, I love my compy.  Anyways, what I did next is following this video:
However, I'm modifying it slightly, because I didn't want WAMP, I wanted XAMPP.  So far I've done it with exactly the same results.  I'll type if I run into a snag.
WOOO created a database!  Ooooh wow, this is sooo cool... 
kk, ran into a few snags.  The file didn't recognize that I was the root, so I couldn't get in to move the drupal files into the place I wanted it.  So I got in and changed permissions, but it didn't recognize me as an owner, even if I did have permissions.  So I used chown on it to give my username power to modify the LAMPP files.  I might need to log out and log in again, hang on...  Nope, I needed to changed the permissions lower down.  Man, this is all connected so amazingly...  wow.
Okay, got the permission changed, and I dropped Drupal into it.  Yehaw!  Now I wait to see what I'm supposed to do next...
Goodness, that was a TRIP!   Drupal is now installed, and tomorrow I think I'll start playing around with it.  What did I learn today?  Oh, a heck of a lot.
1. Permissions.  They're EVERYTHING with Linux.  So when Mr Bravo made us play with them so much in our Linux class, there was actually a really important point to it.
2. That would've been better to know before I started out installing XAMPP and Drupal
3. But it's okay, 'cuz I know now.
4. Documentation is rocking awesome!  Now I can review this!  YEAH!
5. Ahh, sweet success.  You just can't beat the feeling of successfully installing something using a Linux terminal.  And also the GUI stuff.  I just love it when things work.
6. Like I said in the previous post, know where the chocolate is.
7. Google is your best friend. So is sudo su.

Adventures in Drupal! Just kidding... ADVENTURES Part 1!

So I'm learning about Drupal, it's "open source social publishing software that empowers individuals, teams, and communities to easily publish, manage and organize a wide variety of content on a website."


Good to know, right?  I know you've been waiting your whole life to discover that.  I'm giving you a blow by blow as I learn about it.  Why?  Because this blog is a wonderful tool to help me remember what on EARTH I get up to in the cyber world, and I don't want to forget.  Right now, I'm doing something I haven't done since PRG 223 or something like unto that, I'm installing XAMPP for Linux on my Linux machine.  Drupal runs on XAMPP or WAMP if you're trying to run in locally.  And I'd definitely recommend playing with it locally first.  Blowing up a website = not that much fun.  
XAMPP for Linux was formerly known as LAMPP.  Now with that info, it's finally finished downloading, and time for me to play with the terminal.  I'm going off of http://www.apachefriends.org/en/xampp-linux.html#374 for my instructions.


Well, what a peach.  I think I forgot my sudo login.  Excellent, especially since I seem to be needing that... Now I have to reboot into recovery mode and reset that...  I hope my compy doesn't get wiped and stuff, that would really be fun.  ;)
Rebooted, didn't get it, moved on, hung around the Linux forums, found this wonderful person who said:

You do not need to be in single user mode.
It is much MUCH simpler to reset this, I will tell you how.
Open a terminal program (command line, X terminal, whatever you want.)
type:
sudo su
You know are acting as 'root' of your system.
now type:
passwd
it will say: "Now changing password for root" or whatever. Just follow your computer's directions from here.
This person I now love.  Because it worked.  NOW let's see if we can install LAMPP
Okay, we need to be in the Downloads directory.  And remember, this is all case sensitive.
OOOOOOOOOOOOOOOOOOOOOOOOH YEAH BABY!!!!!!!!!!!!!  THAT WORKED!!!!!!!!!!!!!!!!!!!!!!!
Remember folks, in situations where things aren't quite going the way they should, keep a cool head and remember where the nearest chocolate source is.
Beautiful, it passed.  I have XAMPP for Linux on my machine.  JOY AND CELEBRATION!!!!! NOW I CAN PLAY WITH DRUPAL!!!!!!!!!
Okay, I'm posting this as part 1.  Next up we'll play with Drupal!

Oh, and HAPPY NEW YEAR!