Template:Extract and Upload: Difference between revisions From Online Manual

Jump to: navigation, search
m (comfortale -> comfortable)
m (Reverted edits by Oxlo (talk) to last revision by Chainy)
Tag: Rollback
 
(23 intermediate revisions by 8 users not shown)
Line 2: Line 2:
* install (''default'')
* install (''default'')
* upgrade
* upgrade
* update
<br />
</noinclude><onlyinclude>==Extract the SMF Archive and Upload the Files to Your Website==


</noinclude>==Extract and Upload the {{ucfirst:{{{1|install}}}}} Archive==
The SMF {{lcfirst:{{{1|install}}}}} archive contains files that need to be copied to the correct place on your website before the {{#if: {{{1|}}}|{{#ifeq: {{lcfirst:{{{1}}}}}|upgrade|upgrader|installer}}|installer}} can be executed. Wherever these files are located on the server, that is where your forum will be located. [[Installing#Extracting Before Uploading|Extracting before uploading]] is usually the simplest method. If your host provides the necessary tools, you can try [[Installing#Uploading Before Extracting|uploading before extracting]].
Once the {{lcfirst:{{{1|install}}}}} archive has been downloaded, all the files in it will need to be copied to the correct places on your site, before the {{#if: {{{1|}}}|{{#ifeq: {{lcfirst:{{{1}}}}}|upgrade|upgrader|installer}}|installer}} can be executed. Wherever the files are located on the server -- that's where your forum will be located.


There are two methods for this step. You can choose between '''Extracting before Uploading''' and ''Uploading before Extracting'''.  The choice will depend on the tools you have, and what you feel comfortable with.
You will need to use either [[FTP - How do I use FTP|FTP]] (in binary mode) or the tools in your hosting account's control panel (for more information on the control panel supplied by your hosting service, please see the documentation provided by your hosting service).
 
You will need to use either FTP (in binary mode [[FTP - How do I use FTP|How do I use FTP ]]) or the tools in in your hosting account's control panel (for more information on the control panel supplied by your hosting service, please see the documentation provided by your hosting service)


{{#if: {{{1|}}}|
{{#if: {{{1|}}}|
   {{#switch: {{lcfirst:{{{1}}}}}
   {{#switch: {{lcfirst:{{{1}}}}}
     |upgrade
     |upgrade
    |update=The extracted files from the {{#if: {{{1|}}}|{{#ifeq: {{lcfirst:{{{1}}}}}|upgrade|large upgrade|small update}}|small update}} pack must be uploaded to the same directory where the forum is already located, such as /forum/, so that all the files will overwrite the corresponding previous version on the server.
     |#default=SMF can be uploaded to the site root, or to a directory on the site, such as ''www.yourdomain.com/forum''.
     |#default=SMF can be uploaded to the site root, or to a directory on the site, such as www.yourdomain.com/forum
   }}
   }}
   |SMF can be uploaded to the site root, or to a directory on the site, such as www.yourdomain.com/forum
   |SMF can be uploaded to the site root, or to a directory on the site, such as ''www.yourdomain.com/forum''.
}}
}}


===Extracting Before Uploading===
===Extracting Before Uploading===
This is the way most people do it. It's easy, but can take longer. First, extract the archive -- usually by right-clicking the archive and selecting the "Extract All" option. A new folder should be created, with all the files and directories in the correct places, when the {{lcfirst:{{{1|install}}}}} archive is extracted. Second, set your FTP client for binary transfer, select all the files and folders and copy them to the directory where you want to locate your forum.
 
This is the way most people do it. It is easy, but can take longer.  
 
#Extract the archive, usually by right-clicking the archive and selecting the "Extract All" option. When the {{lcfirst:{{{1|install}}}}} archive is extracted, a new folder should be created with all the files and directories in the correct places.
#Set your FTP client for binary transfer, select all the files and folders and copy them to the directory where you want to locate your forum.


===Uploading Before Extracting===
===Uploading Before Extracting===
Some control panels, such as cPanel, give the ability to extract an archive right on the server. This can be a quicker than waiting for all the extracted files to copy via FTP. First, upload the file via your account's control panel. Second, select the extract option to extract the archive to the desired location -- the directory where you want your forum to be located.
 
Some control panels, such as [http://en.wikipedia.org/wiki/CPanel cPanel], give the ability to extract an archive right on the server. This can be a quicker than waiting for all the extracted files to copy via FTP. First, upload the file via your account's control panel. Second, select the extract option to extract the archive to the desired location -- the directory where you want your forum to be located.</onlyinclude>

Latest revision as of 09:46, 23 April 2022

This common text is used in both the install and upgrade articles. 1 numbered parameter, the possible values are:

  • install (default)
  • upgrade


Extract the SMF Archive and Upload the Files to Your Website

The SMF install archive contains files that need to be copied to the correct place on your website before the installer can be executed. Wherever these files are located on the server, that is where your forum will be located. Extracting before uploading is usually the simplest method. If your host provides the necessary tools, you can try uploading before extracting.

You will need to use either FTP (in binary mode) or the tools in your hosting account's control panel (for more information on the control panel supplied by your hosting service, please see the documentation provided by your hosting service).

SMF can be uploaded to the site root, or to a directory on the site, such as www.yourdomain.com/forum.

Extracting Before Uploading

This is the way most people do it. It is easy, but can take longer.

  1. Extract the archive, usually by right-clicking the archive and selecting the "Extract All" option. When the install archive is extracted, a new folder should be created with all the files and directories in the correct places.
  2. Set your FTP client for binary transfer, select all the files and folders and copy them to the directory where you want to locate your forum.

Uploading Before Extracting

Some control panels, such as cPanel, give the ability to extract an archive right on the server. This can be a quicker than waiting for all the extracted files to copy via FTP. First, upload the file via your account's control panel. Second, select the extract option to extract the archive to the desired location -- the directory where you want your forum to be located.



Advertisement: