Using a terminal session: Difference between revisions

From Joomla! Documentation

Gare (talk | contribs)
No edit summary
Gare (talk | contribs)
No edit summary
Line 1: Line 1:
{{stub}}
==Using SSH==
==Using SSH==
SSH, which stands for "Secure SHell", is a means of obtaining a secure command-line interface on a remote server host.
SSH, which stands for "Secure SHell", is a means of obtaining a secure command-line interface on a remote server host.
Line 8: Line 7:


You will be prompted for the password associated with the username.  If this is the first time you have attempted to connect to this host using SSH you will be asked to confirm the fingerprint of the host you are attempting to connect to.  To exit an SSH session, type Control-D or "exit".  For example, to connect to host www.mydomain.com using username "goliath" you would enter:
You will be prompted for the password associated with the username.  If this is the first time you have attempted to connect to this host using SSH you will be asked to confirm the fingerprint of the host you are attempting to connect to.  To exit an SSH session, type Control-D or "exit".  For example, to connect to host www.mydomain.com using username "goliath" you would enter:
<source lang="bash">ssh -l goliath www.mydomain.com</source>
<source lang="bash">ssh -l goliath www.mydomain.com</source>


Unzip the bz2 package:
Unzip the bz2 package:
<source lang="bash">bunzip2 Joomla_1.5.1-Stable-Full_Package.tar.bz2</source>
<source lang="bash">bunzip2 Joomla_1.5.1-Stable-Full_Package.tar.bz2</source>


to get the tarball.
to get the tarball. To extract new version files over old joomla files:
To extract new version files over old joomla files:
<source lang="bash">tar xvf Joomla_1.5.1-Stable-Full_Package.tar</source>
<source lang="bash">tar xvf Joomla_1.5.1-Stable-Full_Package.tar</source>


Some sample MYSQL commands from the command line:
#upgrade sql via MYSQL for RC1 to RC2
#upgrade sql via MYSQL for RC1 to RC2
> mysql -utodd -Djoomladbname  -p <  diff_rc1_to_rc2.sql
> mysql -utodd -Djoomladbname  -p <  diff_rc1_to_rc2.sql

Revision as of 01:46, 20 March 2008

Using SSH

SSH, which stands for "Secure SHell", is a means of obtaining a secure command-line interface on a remote server host.

On Linux you can open a terminal window then enter the command ssh -l <username> <host> where <username> should be replaced with your actual username and <host> by the domain name or IP address of the host you want to connect to.

On Microsoft Windows you can use the PuTTY terminal emulator.

You will be prompted for the password associated with the username. If this is the first time you have attempted to connect to this host using SSH you will be asked to confirm the fingerprint of the host you are attempting to connect to. To exit an SSH session, type Control-D or "exit". For example, to connect to host www.mydomain.com using username "goliath" you would enter:

ssh -l goliath www.mydomain.com

Unzip the bz2 package:

bunzip2 Joomla_1.5.1-Stable-Full_Package.tar.bz2

to get the tarball. To extract new version files over old joomla files:

tar xvf Joomla_1.5.1-Stable-Full_Package.tar

Some sample MYSQL commands from the command line:

  1. upgrade sql via MYSQL for RC1 to RC2

> mysql -utodd -Djoomladbname -p < diff_rc1_to_rc2.sql

  1. no changes 2 to rc3

>

  1. rc3 to rc4

> mysql -utodd -Djoomladbname -p < diff_rc3_to_rc4.sql

  1. no changes 4 to live

>