Solved

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

Posted on 2014-12-30
6
53 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
ID: 40524567
the file is called setup.sh......not setup.su
0
 
LVL 37

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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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 37

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

777 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