Solved

How do you run a setup.su file in ubuntu?

Posted on 2014-12-30
6
43 Views
Last Modified: 2015-10-19
I am working on an open source program called OCSInventory.  I am unable to run the setup.su file from terminal.  I'm not sure if I have unzipped it correctly or I'm missing a LAMP component.  Please advise.
0
Comment
Question by:Fiducial_IT
6 Comments
 

Author Comment

by:Fiducial_IT
Comment Utility
the file is called setup.sh......not setup.su
0
 
LVL 37

Accepted Solution

by:
Gerwin Jansen earned 250 total points
Comment Utility
The file should be executable, to check that try:

sh ./setup.sh

If that does not work, can you post the error you get?
0
 
LVL 23

Assisted Solution

by:savone
savone earned 250 total points
Comment Utility
Change into the directory where you download the setup.sh file, then:

chmod +x setup.sh

./setup.sh
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 61

Expert Comment

by:gheist
Comment Utility
sh -x setup.sh
0
 

Author Comment

by:Fiducial_IT
Comment Utility
the error is 'No such file or directory' when typing chmod +x setup.sh
'Can't open /setup.sh' when typing sh ./setup.sh
I extracted the .tar file in the GUI and it downloaded it to the desktop folder.
0
 
LVL 37

Expert Comment

by:Gerwin Jansen
Comment Utility
You have to change to the directory where you've extracted the tar file. Be sure that you're in the folder where setup.sh is placed. You can also open that sub-folder on the desktop and see if the setup.sh file is there.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now