Hey All,
I've installed LAMP and I can now log into phpmyadmin.
I've been sent the website I need to work on, but I don;t know how to install it to the server. I need to put an RSS feed onto it.
I'm new to LAMP so bare with
Any Ideas?
Hey All,
I've installed LAMP and I can now log into phpmyadmin.
I've been sent the website I need to work on, but I don;t know how to install it to the server. I need to put an RSS feed onto it.
I'm new to LAMP so bare with
Any Ideas?
Think a Little, Change a Lot
I suppose you want to copy that website to your local computer, so you can work on it offline?
Then you probably want to copy that website to your www map. In your www map is /var/www (if you didnt change it)
If you want a database migrated, you can export it via phpmyadmin, and import it in the other phpmyadmin.
Yeah, I've got the index.html file. I've saved it to my documents and i've copied it to the /var/www folder.
I'm running it off WiFi
How do I access the website now so I can start editing it?
Think a Little, Change a Lot
You will need to edit it manually or with whatever design software you choose, if you just want to view if it is working and is up and running you should be able to enter "localhost" into your address bar in FireFox (for example) and see the index.html that is currently in the WWW directory.
Ok man, cheers.
What software would you recommend? I need to add an RSS Feed and a calender (with a password protection)
Think a Little, Change a Lot
A simple text editor, like gedit, should suffice. Assuming you know what you're doing.
http://xkcd.com/293/
There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.
1. Keep a copy of the original files you were sent.
2. Work with another copy that's in your home directory.
3. When you want to test your changes on the live server, copy them to /var/www.
In short, keep a backup and don't do your work on the live copy.
I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.
In my var/www file, I've got an index.html and a testphp.php from when I was setting it up. Can I delete them?
If I do, what files do I need to copy over. The files I,ve been sent as a css, img and js in folders and an index.html
Think a Little, Change a Lot
I've dragged them in the folder and all I get is "It Works" when I type localhost.
Also I can't view the pictures on the site, am I doing something wrong?
Think a Little, Change a Lot
The files that you received did not contain an index.html. So when you go to http://localhost, it will still use the original file that was there already; it probably takes precedence over e.g. an index.php.
will move index.html out of the way.Code:sudo mv index.html index.html.old
As an alternative, you can figure out which file you 'have'. assuming it's called abc.html, use http://localhost/abc.html.
With regards to images
- filenames in Linux are case sensitive; so Img01.jpg is not the same file as img01.jpg; if the html refers to Img01.jpg but the file is img01.jpg, it will not work
- there might have been a separate directory where all images are supposed to be located and you copied them somewhere else; time to analyze the code and check the apache error logs (in /var/log/apache or /var/log/httpd; not sure which one exists)
Last edited by Wim Sturkenboom; August 2nd, 2011 at 01:27 PM.
If you don't make backups of your important data, your data is obviously not important to you.
Bookmarks