Solved

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

Posted on 2014-12-30
6
61 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 

Author Comment

by:Fiducial_IT
ID: 40524567
the file is called setup.sh......not setup.su
0
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 250 total points
ID: 40524721
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
ID: 40524745
Change into the directory where you download the setup.sh file, then:

chmod +x setup.sh

./setup.sh
0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
LVL 62

Expert Comment

by:gheist
ID: 40524780
sh -x setup.sh
0
 

Author Comment

by:Fiducial_IT
ID: 40525816
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 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40525822
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

691 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