LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 03-02-2009, 01:59 AM   #1
umwai
Member
 
Registered: May 2008
Location: Sri Lanka
Distribution: Ubuntu
Posts: 57
Blog Entries: 1

Rep: Reputation: 16
Unhappy What are the steps to upload my web site


I have developed a web site using lamp (localhost). I want to know how to upload it and host it in a linux server.
(how to upload the database using terminal).
 
Old 03-02-2009, 02:15 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
Well you can upload the physical data using SCP. Unless you need to use the data from development then you shouldn't need to transfer the database just the queries used to create it. If you need the data then export it from the database you are using (MySQL? it would help people to help you if they know what you used) and then import it to the servers database. Overall their isn't much here to help since we don't know what you are actually using. However Apache is simple enough to set-up so once you transfer your files and set-up the hosts in the configuration file it should work fine other then the database what may need more work.
 
Old 03-02-2009, 09:01 PM   #3
umwai
Member
 
Registered: May 2008
Location: Sri Lanka
Distribution: Ubuntu
Posts: 57
Blog Entries: 1

Original Poster
Rep: Reputation: 16
Lightbulb What are the steps to upload my web site

I'm sorry I didn't knew how to ask the question. so i forgot to mention it properly.
I used mysql.What I want to know is how to upload the database using a terminal.(If we used phpmyadmin like tool we can export the database and import it. How can we do it with terminal).
 
Old 03-02-2009, 09:19 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: back to Arch
Posts: 16,687

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
There are many ways to transfer files to another computer......I typically just use ftp.
 
Old 03-03-2009, 12:54 AM   #5
Zilvermeeuw
Member
 
Registered: Jan 2006
Distribution: Fedora 14, CentOS 5.5, Ubuntu 10.10
Posts: 45

Rep: Reputation: 16
Dump your mysql database in a file. Upload this file to the server and import the file here.

PhpMyAdmin can help you to dump/download/upload/import the data.
 
  


Reply

Tags
servercmd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to upload a file to some place so others can see it (a whole web site ) rob.rice General 4 01-29-2009 01:50 PM
How do I upload files to my sourceforge site? Nebetsu Programming 8 08-29-2006 06:02 AM
Do you know sourceforge site? How to upload to this site? TruongAn General 2 07-02-2005 05:26 AM
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 09:14 PM
wiki on standard (ftp upload) web site ? dtimms Programming 2 01-11-2005 04:28 AM


All times are GMT -5. The time now is 11:33 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration