Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I am quite new to Linux. I just installed Ubuntu server on my iMac G3 (to test things out). I followed all instructions on downloading new applications to set it up as a server. However, when I try to access these applications by using ./program name the computer returns the error "Bash: permission denied". I am running as the root user, but it does the same thing even if I'm not root. Any suggestions?
First of all, in Linux the native command to list the contents of a director is "ls". This is preferable to "dir" and will highlight the different types of files and directories in different colours. For example, a file which appears in green when you type "ls" at the prompt, is executable (or at least has executable permissions).
Secondly: are the packages you are interested in "MD5" and "OpenSSL"? Are you trying to run them or install them?
Thirdly, I don't think that MD5.pm is an executable program. It looks to me like a checksum (an encrypted code used to check the validity of your source package, it is a way of ensuring that it has not been tampered with).
Fourthly, name a program you would like to run and which you believe your system has installed. It is not easy to help with a broad generalization of a problem.
Finally, at step 5, type the following:
Code:
ls -lA
and post what you get as your result. The result will indicate what you can execute from that directory.
Hmm, well, MD5 is supposed to be a firewall application. I did the ls -1A in its folder and came up with Changes, Makefile.PL, MANIFEST, MD5.pm and README all in grey. Below that is "t" which is blue (a folder?).
The packages I was referring to need to be installed.
If you are using a file browser, simply double click and it should open in your default editor. If you are in a terminal try
Code:
emacs README
Note: to exit emacs press "CTRL+Z"
or
Code:
vi README
Note: to exit the vi editor, press ":" and then type "q" and press "enter".
The README file should give you instructions on how to install the packages. You will either have the binary package which will have specific installation instructions or you will have the source package which you need to build yourself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.