Jump to content
Saratoga Sam

Installing Content Management System

Recommended Posts

Hi -

 

I would like to install a Contant Management System called Exponent from www.sourceforge.net.

 

The installation instructions state that I should unpack the software on my Linux server using this command:

 

tar -xzvpf exponent.tar.gz

 

...with the -p option being important because it preserves the file permissions. With CPanel and it's File Manager I was able to find the link to upack the .tar file but I was unable to locate how to specify .tar options.

 

Where do I specify .tar options?

 

Alternatively, I tried using WinSCP3* in order to run a shell to execute the command directly but was unable to connect with the TCH server.

 

Thanks for your help!

 

Saratoga Sam

 

 

*WinSCP is an open source SFTP client for Windows. Its main function is the secure file transfer between a local and a remote computer. Beyond this, WinSCP offers basic file manager functionality. It uses Secure Shell (SSH) and supports, in addition to Secure FTP, also legacy SCP protocol.

Share this post


Link to post
Share on other sites

Welcome to the forums Sam. :)

 

Just upload the archive to your web space where you want it and use the File Manager in cPanel to unpack it.

Share this post


Link to post
Share on other sites
Just upload the archive to your web space where you want it and use the File Manager in cPanel to unpack it.

 

Could you be a little more specific about what to do with the file in cpanel? I've shied away from doing anything similar because I am not familiar with how to do it.

 

Thanks.

Share this post


Link to post
Share on other sites

Welcome to the forums, Sam! :)

 

Paul - From cPanel, access File Manager, navigate to the directory where the archive file is, click on the tar.gz file, then click Extract File Contents.

Share this post


Link to post
Share on other sites
Welcome to the forums Sam.  :)

 

Just upload the archive to your web space where you want it and use the File Manager in cPanel to unpack it.

 

Thanks for the response Bruce. I did this initially (before I posted) and discovered that the File Manager does not preserve file permissions when unpacking .tar files. It became clear when I tried to run the install scrpit for the Content Management System and the script flagged a bunch of files and directories with improper permissions.

 

Now, I can manually change all the flagged files and directories to 777 but that would be kinda hokey considering that the simple solution is to execute the specified command tar -xzvpf exponent.tar.gz.

 

Which brings me back to my original question: How do I execute this command on my TCH server? Do I have Shell access anywhere?

 

Thanks,

 

Saratoga Sam

Edited by Saratoga Sam

Share this post


Link to post
Share on other sites
Thanks for the response Bruce. I did this initially (before I posted) and discovered that the File Manager does not preserve file permissions when unpacking .tar files. It became clear when I tried to run the install scrpit for the Content Management System and  the script flagged a bunch of files and directories with improper permissions.

I did some testing on this - the File Manager does preserve file permissions when extracting files and directories, but only to a limit. The File Manager's 'Extract File Contents' command apparently will not create files or directories with 0777 permissions. I presume this is a security measure to protect users from extracting potentially insecure files and/or directories onto their account. File and directories with 0777 permissions are extracted by the File Manager with only 0755 permissions. Files and directories in the archive with less open permissions (such as 0755 and 0644) have those permissions preserved when extracted by File Manager.

 

Now, I can manually change all the flagged files and directories to 777 but that would be kinda hokey considering that the simple solution is to execute the specified command tar -xzvpf exponent.tar.gz.

 

Which brings me back to my original question: How do I execute this command on my TCH server? Do I have Shell access anywhere?

TCH users do not have shell access at all. I'd suggest submitting a ticket to the Help Desk, providing them with the name and location of the tar.gz file, and the exact command you want them to run on the tar.gz file (the one shown above).

Share this post


Link to post
Share on other sites
TCH users do not have shell access at all.  I'd suggest submitting a ticket to the Help Desk, providing them with the name and location of the tar.gz file, and the exact command you want them to run on the tar.gz file (the one shown above).

 

Ok - that'll work. It's not often that I need shell access. If TCH is willing to do that I'll continue to send you my money. :clapping:

 

Thanks, everyone, for the "hello's". One of the attributes that attracts me to TCH is it's "transparent" approach to customer support with these forums. Server providers who do not have public support forums always make me wonder "what they're hiding".

 

Saratoga Sam

Edited by Saratoga Sam

Share this post


Link to post
Share on other sites

Another method to run an occasional shell command is through the crontab. Do not forget to remove the command from the crontab after it has been executed!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...