Solved

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

Posted on 2014-12-30
6
59 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
can i read my emails on lamp ftp 4 66
SSH setup on ASA 5505 17 114
Ubuntu don’t allow SU command in terminal 7 115
http response code 3 28
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

734 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