Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: torna9125 on February 01, 2013, 06:21:43 PM
-
Hello,
I'm going to install "Subsonic Music Streamer" while requires Java. Could you explain me how i can get Java for my SME?
Thank you.
Looking forward to hearing from you.
Marco
-
before looking forward you should search the forums:
http://forums.contribs.org/index.php/topic,49501.msg247405.html#msg247405
:-)
HTH
-
You also may want to read this
http://forums.contribs.org/index.php/topic,48744.msg246962.html#msg246962 (http://forums.contribs.org/index.php/topic,48744.msg246962.html#msg246962)
-
Thank you and I'm sorry for the trouble, but i have an another question to do... How can I put the file "Sun JDK" on my server? I've already activated FTP and i can see the files in it with Filezilla but show me this messagge during upload.
Response: 550 jdk-6u38-linux-i586-rpm.bin: Operation not permitted
Error: Critical file transfer error
Is there an another way to upload files?
I have been googling, but i haven't found out anything.
-
first of all you don't need jdk to RUN java app but jre
then
- login as root on your server, locally or remotely via ssh
- mkdir java
cd java
wget http://download.oracle.com/otn-pub/java/jdk/6u39-b04/jre-6u39-linux-i586-rpm.bin
then install following the how-to
-
torna9125
Use wget
For more details, at a command prompt do
man wget
Login to the server as root or as a user with root privileges.
cd to the folder you wish to download files to
eg
cd /home/e-smith/files/ibays/ibayname/html
wget http://www.domainname/filelocation/filename.rpm
(replace with correct names of source location & file etc)
Re ftp see these:
(It really will make life easier for you if you take the time to read available documentation, so please do so in future)
http://wiki.contribs.org/FTP_Access_to_Ibays
http://wiki.contribs.org/SFTP
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter14#i-bay_Directories
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter14#Accessing_the_i-bays
-
'yum install java' or 'yum install jre' worked for me in the past. Don't know by heart which repo should be enabled tho.
-
I've downloaded Java with these commands in a empty directory before created:
# wget http://mirrors.dotsrc.org/jpackage/1.7/generic/SRPMS.non-free/java-1.6.0-sun-1.6.0.11-1jpp.nosrc.rpm
# rpm -ivh java-1.6.0-sun-1.6.0.11-1jpp.nosrc.rpm
However, i've followed this guide:
http://emnaz.blogspot.it/2009/06/sun-java-for-sme-server-7.html (http://emnaz.blogspot.it/2009/06/sun-java-for-sme-server-7.html)
Thank you guys.
-
torna9125
However, i've followed this guide:
http://emnaz.blogspot.it/2009/06/sun-java-for-sme-server-7.html (http://emnaz.blogspot.it/2009/06/sun-java-for-sme-server-7.html)
Those instructions tell you to set each additional non standard repository to enabled ie
status enabled
This in bad advice, the status should be set to disabled.
To install packages from those repositories do
yum install packagename --enablerepo=reponame1 --enablerepo=reponame2
and this will install only the specified package and any required dependency packages
If you keep those repositories enabled, then when you do a normal
yum update
you will most likely update other packages that you do not want to intentionally update, and break your sme server.
Only have the standard sme server recommended repositories enabled, as per wiki
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled
All other repos should be disabled, and accessed with the command as shown above.
So now you should do the following for each non standard repo you have configured & enabled
db yum_repositories setprop reponame status disabled
signal-event yum-modify
Also see
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Adding.2C_removing_or_disabling_repositories
-
http://wiki.contribs.org/Subsonic_Music_Streamer