Obsolete Releases > SME 8.x Contribs

Java + SME Server

<< < (2/2)

janet:
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

guest22:
'yum install java' or 'yum install jre' worked for me in the past. Don't know by heart which repo should be enabled tho.

torna9125:
I've downloaded Java with these commands in a empty directory before created:


--- Quote ---# 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
--- End quote ---

However, i've followed this guide:
http://emnaz.blogspot.it/2009/06/sun-java-for-sme-server-7.html

Thank you guys.

janet:
torna9125


--- Quote ---However, i've followed this guide:
http://emnaz.blogspot.it/2009/06/sun-java-for-sme-server-7.html
--- End quote ---

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

newburns:
http://wiki.contribs.org/Subsonic_Music_Streamer

Navigation

[0] Message Index

[*] Previous page

Go to full version