Actions

Talk

Difference between revisions of "Copying a website from localhost to a remote host"

From Joomla! Documentation

m (moved Talk:How do you copy a site from localhost to a remote host? to Talk:Copying a website from localhost to a remote host: Adapted page title to the continuous tense used in most tutorial titles.)
 
(5 intermediate revisions by 3 users not shown)
Line 4: Line 4:
  
 
[[User:OnTheMarkDesign|OnTheMarkDesign]] 02:50, 13 October 2008 (EDT)
 
[[User:OnTheMarkDesign|OnTheMarkDesign]] 02:50, 13 October 2008 (EDT)
 +
 +
Yes.  Fixed now.  Thanks for reporting it.  [[User:Chris Davenport|Chris Davenport]] 06:28, 13 October 2008 (EDT)
 +
 +
 +
I find the title confusing: Create a Place on Your Remote Host '''to Install Joomla'''! I didn't think there was any installation involved on the remote server of the web hosting services provider, '''only transfer of copies of the files''' created on the local host '''to the remote host'''. Which is it? [[User:Zenny|Zenny]]
 +
 +
== Copy the contents of your local MySQL database to the host MySQL database - an alternate way ==
 +
 +
When running Linux as I, use a convienient and fast way with mysqldump command.
 +
Open a terminal/shell to export database to  databasename_date file.
 +
 +
machine: mysqldump -u username -p  databasename >databasename_date
 +
Give the username password.
 +
username is normally "root".
 +
 +
To import to a remote mysql server you use mysql command:
 +
 +
machine: mysql -u remoteusername -p -h removemysqlservername  remotedatabasename <databasename_date
 +
 +
Note that when importing you overwrite all tables within export file in database remotedatabasename. If you want to have a special table prefix other that standard "jos", you have to edit the exported file before importing.
 +
 +
[[User:Zimpete|Zimpete]] 10:47, 19 October 2008 (EDT)

Latest revision as of 10:12, 28 June 2011

In section #3. Copy custom files from your local site to your remote site:

In the sentence ...."configuration.php". No NOT replace this file on your host....... be ""configuration.php". Do NOT replace this file on your remote host...."

OnTheMarkDesign 02:50, 13 October 2008 (EDT)

Yes. Fixed now. Thanks for reporting it. Chris Davenport 06:28, 13 October 2008 (EDT)


I find the title confusing: Create a Place on Your Remote Host to Install Joomla! I didn't think there was any installation involved on the remote server of the web hosting services provider, only transfer of copies of the files created on the local host to the remote host. Which is it? Zenny

Copy the contents of your local MySQL database to the host MySQL database - an alternate way

When running Linux as I, use a convienient and fast way with mysqldump command. Open a terminal/shell to export database to databasename_date file.

machine: mysqldump -u username -p databasename >databasename_date Give the username password. username is normally "root".

To import to a remote mysql server you use mysql command:

machine: mysql -u remoteusername -p -h removemysqlservername remotedatabasename <databasename_date

Note that when importing you overwrite all tables within export file in database remotedatabasename. If you want to have a special table prefix other that standard "jos", you have to edit the exported file before importing.

Zimpete 10:47, 19 October 2008 (EDT)