Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old April 29th, 2008, 08:11 PM
stonyt10's Avatar
stonyt10 stonyt10 is offline
www guy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Location: Columbus, Indiana
Posts: 176 stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 11 h 29 m 27 sec
Reputation Power: 119
Install module from Linux command line

I need to SSH into my server and install a module. Looking at the attached image, could someone tell me where I want my shell access when I log in so I can use perl -MCPAN -e shell?

The only things I can find say the "bash" shell, but that only narrows it down a little for me. I will forbid shell access when I'm finished.
Attached Images
File Type: jpg Untitled-1.jpg (140.5 KB, 18 views)
__________________
print qq|Here I am\n| unless -e 'mySocialLife';

Reply With Quote
  #2  
Old April 30th, 2008, 07:51 AM
atlantisstorm atlantisstorm is offline
Hang your freedom higher.
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2005
Posts: 600 atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 10 h 14 m 2 sec
Reputation Power: 113
Presuming it's a linux box your attaching to it's most likely to be "/bin/bash".
__________________
"Badges? We ain't got no badges. We don't need to badges! I don't have to show you any stinkin' badges!!"

Reply With Quote
  #3  
Old April 30th, 2008, 11:33 AM
stonyt10's Avatar
stonyt10 stonyt10 is offline
www guy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Location: Columbus, Indiana
Posts: 176 stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 11 h 29 m 27 sec
Reputation Power: 119
Oh sorry.. yes, it's a Linux server. Here's what I get from your suggestion, which I thought was what I did before:


Quote:
-bash-3.00$ perl -MCPAN -e shell

Permission denied at /usr/lib/perl5/5.8.6/CPAN.pm line 1258

-bash-3.00$


Oh well.. I could swear that I've used CPAN on this server before.

Reply With Quote
  #4  
Old April 30th, 2008, 02:23 PM
atlantisstorm atlantisstorm is offline
Hang your freedom higher.
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2005
Posts: 600 atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level)atlantisstorm User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 10 h 14 m 2 sec
Reputation Power: 113
Why don't you just install using the cpan interface (just type cpan at the command line prompt), then type "install <modulename>"<CR> Presuming you have root/admin access to do this.

Reply With Quote
  #5  
Old April 30th, 2008, 08:15 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,336 Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 12 h 46 m 43 sec
Reputation Power: 674
[QUOTE=stonyt10]Oh sorry.. yes, it's a Linux server. Here's what I get from your suggestion, which I thought was what I did before:
/QUOTE]
Doesn't look like you're logged in as root.
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
  #6  
Old May 1st, 2008, 10:38 AM
stonyt10's Avatar
stonyt10 stonyt10 is offline
www guy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Location: Columbus, Indiana
Posts: 176 stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 11 h 29 m 27 sec
Reputation Power: 119
Yeah.. it seems like no matter what access I give myself I still don't have permission. I will consult a Plesk/Linux forum because this does not seem to be a Perl install issue anymore.

Thanks for your responses!
Attached Images
File Type: jpg Untitled-2.jpg (14.7 KB, 7 views)

Reply With Quote
  #7  
Old May 1st, 2008, 02:30 PM
stonyt10's Avatar
stonyt10 stonyt10 is offline
www guy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Location: Columbus, Indiana
Posts: 176 stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 11 h 29 m 27 sec
Reputation Power: 119
I got help from the Linux forum and got it working again. I was totally forgetting to log in as superuser. Here was the solution in case anyone is interested:

- Set remote access to /bin/sh
- At the prompt type su [enter]
- Enter your password
- Enjoy!

Reply With Quote
  #8  
Old May 1st, 2008, 03:06 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,336 Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level)Scorpions4ever User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 12 h 46 m 43 sec
Reputation Power: 674
Quote:
Originally Posted by stonyt10
I got help from the Linux forum and got it working again. I was totally forgetting to log in as superuser. Here was the solution in case anyone is interested:

- Set remote access to /bin/sh
- At the prompt type su [enter]
- Enter your password
- Enjoy!

That's exactly what I said . root is the superuser account. Glad you got your issue fixed.

Reply With Quote
  #9  
Old May 1st, 2008, 03:35 PM
stonyt10's Avatar
stonyt10 stonyt10 is offline
www guy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Location: Columbus, Indiana
Posts: 176 stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level)stonyt10 User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 11 h 29 m 27 sec
Reputation Power: 119
If you would have just mentioned the su command..

I haven't used Linux since college and I'm s..l..o..w

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > Install module from Linux command line


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |