Help - Search - Members - Calendar
Full Version: You can purpose me a site for the codes SSH?
Invision Power Services > Community Forums > Community Technical Chat
WoLeRiNe`
I want import for example a db with ssh,
install zend, ioncube and any other modules.
There is a site for the codes SSH, documents with description of the installation etc?
I have searched from google but i haven't found a good site/description.
Alεx
For installing Zend and ionCube via shell, they normally provide you with the instructions. But the majority of modules go like this, extract the files to the server, in a folder called zend for example, and then the following command would normally suffice (though I haven't had experience with zend personally)

CODE
cd /path/to/zend
./configure
make
make install


That goes with a lot of things, subversion, PHP etc.
Wondering Soul
To restore a database is a pretty simple command:

CODE
mysql -u dbusername -p databasename < backupname.sql

As for installing Ioncube and such, you will need to have root access I believe. You need to use some commands that can only be ran by the root user. Do you have root access?

Edit: Alex has it covered original.gif
Lındsey
QUOTE (TurXaliM @ Aug 21 2008, 01:49 PM) *
I want import for example a db with ssh,



Login to the server via SSH and cd to the directory that contains the sql dump. Type 'mysql'. Once you are at the mysql prompt, type 'use databasename' of course substituting databasename with the actual name of the database you are importing into. Then type source "youdatabasename.sql". This should import the sql dump into the current database. Normally it is best to import into an empty database, but it should work either way as long as none of the table names are duplicated.
WoLeRiNe`
extract the files via SSH?
WoLeRiNe`
QUOTE (Wondering Soul @ Aug 21 2008, 07:56 PM) *
Do you have root access?
I will buy a dedicated server very soon with a new IPB license original.gif So yes i will have ROOT ACCESS



(Sorry for double post)


There is a site with this SSH codes? Because i will need to installing ZEND, IONCUBE, MEMCACHE, EACCELERATOR etc...
The codes is always as ALEX's post?
Lındsey
QUOTE (TurXaliM @ Aug 21 2008, 01:59 PM) *
I will buy a dedicated server very soon with a new IPB license original.gif So yes i will have ROOT ACCESS


To install Ioncube and other stuff you need root access as far as I know.
WoLeRiNe`
QUOTE (Lindsey. @ Aug 21 2008, 08:02 PM) *
To install Ioncube and other stuff you need root access as far as I know.
Yes i know and i want learning use SSH also pinch.gif
Lındsey
QUOTE (TurXaliM @ Aug 21 2008, 02:03 PM) *
Yes i know and i want learning use SSH also pinch.gif


http://www.jiffynet.net/faqs/sshcommands.html.
bfarber
FYI, for installing things most of those distributions will provide you the SSH commands you need to run in their installation documentation.

Ioncube has no installation (you just edit your php.ini file to point to the loader)
Installing eaccelerator
memcache installation
--If you just need to be able to access memcache from php, you can install via PECL
--Also, you prob wouldn't want to run memcache on your web/db server - memcache servers are generally separate, and house several GB of memory and do nothing but serve cache requests

For PHP modules, you don't need to install them, you simply edit php.ini to enable them.
Alεx
For a simple extract, you would upload the zip file to your server, or tar.gz if it happens to be that, and then run this command

unzip path/to/zip path/to/place/you/want/to/put/it

Theres also other parameters such as -f which forces the files (even if there were conflicts etc.)

A tar would have to be done this way

tar -xf /path/to/tar

Again, -xf are parameters to the tar command, you can always assign more.
WoLeRiNe`
Thanks all for these useful informations and links.
Thank you very much
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.