Saratoga Sam Posted April 21, 2005 Share Posted April 21, 2005 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. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 21, 2005 Share Posted April 21, 2005 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. Quote Link to comment Share on other sites More sharing options...
abinidi Posted April 21, 2005 Share Posted April 21, 2005 Just upload the archive to your web space where you want it and use the File Manager in cPanel to unpack it. <{POST_SNAPBACK}> 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. Quote Link to comment Share on other sites More sharing options...
TweezerMan Posted April 21, 2005 Share Posted April 21, 2005 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. Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted April 21, 2005 Share Posted April 21, 2005 Welcome to the forum, Sam. Quote Link to comment Share on other sites More sharing options...
Saratoga Sam Posted April 22, 2005 Author Share Posted April 22, 2005 (edited) 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. <{POST_SNAPBACK}> 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 April 22, 2005 by Saratoga Sam Quote Link to comment Share on other sites More sharing options...
TweezerMan Posted April 22, 2005 Share Posted April 22, 2005 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. <{POST_SNAPBACK}> 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? <{POST_SNAPBACK}> 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). Quote Link to comment Share on other sites More sharing options...
TCH-Don Posted April 22, 2005 Share Posted April 22, 2005 Welcome to the forum, Sam. Quote Link to comment Share on other sites More sharing options...
Saratoga Sam Posted May 1, 2005 Author Share Posted May 1, 2005 (edited) 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. 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 May 1, 2005 by Saratoga Sam Quote Link to comment Share on other sites More sharing options...
Beltza Posted May 3, 2005 Share Posted May 3, 2005 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.