Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Hi , Is there any body who can help me regarding these two questions...?
Quest. No 1
I want to display the current day and date when a user login to linux, with a welcome message. How to enter the command in the motd file?
Quest No. 2
While trying to install oracle 8i for linux, I downloaded jre11_6 v5. And I created a user orausr and installed the jre @ /home/orausr/.
It has ben asked to give a symbolic link to /usr/local... how? And also when I gave the ./runInstaller command it gives an error the cannot found /usr/local/jre/bin/jre to startup the Java Virtual Machine. Is any other S/w is required, what is the exact path to be given and wheer it should be installed...
I hope to get an early reply..
When you say symbolic linking, are you also refering to 'Soft Linking"? I'm new to either term, but if they mean the same thing, then I think I have your solution. I dealt with this when studying Oracle and its Unix administration aspects.
Sometimes you install files in a prefered directory, rather than the directory that the applications looks at (by default).
For example, lets say you put the my_file.conf in /mydirectory (because you prefer that file to be in that directory). However, the application that will call on that file expects it to be in /app_directory. Well then you'll have to create a "Softlink" from the default ( /app_directory ). From my understanding, a softlink is a file that simply points to where the "real" file actually resides.
To softlink the file my_file.conf, go to the directory where you need to put the softlink ( /app_directory ) and issue this command:
ln -s <the path where the "real" file actually resides>
Once you do that, do an ls of that directory, and you will actually see a listing of the file as if it were actually in that directory.
According to the info I have Oracle 8i has the path to the jre hardcoded (!) into the installer and looks for it in the dir you mentioned. Typically this is /usr/local/jre116_v5 or similar, and loged in as root do ln -s /usr/local/jre116_v5 /usr/local/jre.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.