Shell Access for Noobs

Author Message

Cori Roberts

Thursday 02 July 2009 9:27:38 am

So I've been complaining that the documents for EZ publish are WAY too complicated for Joe/Joann User and some of the developer types here post responses without taking this into account.

SO while I'm by no means a developer I am pretty geeky and thought I'd share some things as I learn them and share them in simple terms that the average user can understand. Yesterday I downloaded Lukaz (sorry I think I butchered your name) extension to allow multiple file/image uploads. While his documentation is good it assumes you KNOW what shell access is and how to get to it and so on.

I think everyone here should preface ANY documentation with a warning *assumes you are familiar with shell..or html or CSSes etc* and provide resources on where to find more information on these subjects. As it were, it's very frustrating right now to get your EZ publish running. While I would LOVE to pay the EZ team to develop my site, I simply cannot afford to. I'm running my site with a skeleton crew as it is, so a lot of things fall to ME to take care of. Anyway enough of my ranting. Here are some simple instructions on how to get to your Shell.

1. First, find out if your hosting company/provider offers the option of SSH (Shell) access. Most companies have this option available to you listed under your domain name and can be found by simply logging into your Webpanel or Cpanel depending on your company. IF all else fails, simply send a support message and they will let you know.

2. While waiting on an answer from you hosting company, you'll want to google PuTTy or simply visit openssh.com. Listed on the left side of your screen are several Shell softwares that you'll be able to use. From what I gather PuTTy is the simplest. You'll be selecting the one that best matches your servers operating system. Windows, Mac, Linux..which ever. Once again if not sure about which your hosting provider uses, just add on to your support request.

3. *Now this part assumes you're using PuTTy to gain shell access* At this point you've heard back from your hosting provider and low and behold they said YES you do have Shell access and has either enabled it for you or told you where to find it. Please be aware that some companies will only allow either Shell or FTP. If they have the 3rd option that offers you both, take that one. If you're like me, you'll still want FTP access to your site to be able to play with your CSSes and images and such. If you choose Shell access only you'll only be able to access your files via Shell and vice versa for FTP. So after you get the good news, simply install PuTTy and wait for the screen to pop up. Once the window is open, you'll see several options down the side. If you're not sure WHAT to do, don't click anywhere else just type your domain name where it says Host name (ie yourdomain.com) then select the SSH radio button, name your connection in the box below and then click save.

Once this is done, Double click the name you created and voila! Shell access. Then all you'll need to do is enter your username and password (which is normally the same one you'd use for FTP access) and you're in. Now try to follow instructions you have to run whatever command you'd like. I would recommend just typing it all out...slooooowly.

Good luck!

-Cori

Heath

Thursday 02 July 2009 9:44:45 am

Great forum thread content Cori!

Though threads in forums tend to get buried.

Would you consider perhaps cross-posting your article like content into http://ezpedia.org?

We already have a large number of 'solution / howto' articles, http://ezpedia.org/ez

But we always recommend that you publish content like this to the community wiki where you can build your own article pages and share your own content and information with others freely.

Content like this tends to get buried and harder to find, while ezpedia content stands outs, it is well searchable and indexed (in-site and through google).

Just a request, no worries, what do you think?

Respectfully,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Cori Roberts

Thursday 02 July 2009 9:57:55 am

Hi Heath!

I'll do just that in a short bit. Time for more coffee! :)

Heath

Thursday 02 July 2009 10:12:01 am

Wow! Thanks Cori, that's great!

Cheers,
Heaths

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 21:09:19
Script start
Timing: Jan 18 2025 21:09:19
Module start 'layout'
Timing: Jan 18 2025 21:09:19
Module start 'content'
Timing: Jan 18 2025 21:09:20
Module end 'content'
Timing: Jan 18 2025 21:09:20
Script end

Main resources:

Total runtime0.8941 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 587.9141152.6250
Module start 'layout' 0.00480.0021 740.539139.4609
Module start 'content' 0.00690.8858 780.0000552.3594
Module end 'content' 0.89270.0014 1,332.359416.1719
Script end 0.8941  1,348.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3403160.0002
Check MTime0.00130.1437160.0001
Mysql Total
Database connection0.00080.089910.0008
Mysqli_queries0.837893.7030600.0140
Looping result0.00060.0673580.0000
Template Total0.866296.920.4331
Template load0.00210.232020.0010
Template processing0.864196.642220.4320
Template load and register function0.00010.011910.0001
states
state_id_array0.00070.083210.0007
state_identifier_array0.00120.133420.0006
Override
Cache load0.00180.1970310.0001
Sytem overhead
Fetch class attribute can translate value0.00070.077220.0003
Fetch class attribute name0.00110.117850.0002
XML
Image XML parsing0.00060.069420.0003
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00070.0828170.0000
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs