Kirjoittaja Aihe: iFolder opensuse 11.1  (Luettu 12372 kertaa)

0 jäsentä ja 1 Vieras katselee tätä aihetta.

K-Veikko

  • Vieras
iFolder opensuse 11.1
« : 18.06.2009 - klo:20:16 »
iFolderin saa nyt asennettua repositorysta. Siispä toimeen ja asentamaan iFolder serveriä.
- käytän lainausta kun en löydä sisennystä
- tämä kuuluisi myös "Toimisto ja tuottavuus" -ryhmään. Linkittäköön joku sinne.

Lainaus
iFolder on erittäin laadukas tiedostojen jakamis- ja varmuuskopiointiohjelma.

Opensource
http://www.novell.com/documentation/ifolderos/index.html

Toimii Windows, Linux, Mac OS X + käyttö web-selaimella.
http://www.ifolder.com/

Erittäin hyvä ja monipuolinen
Käyttää salattua yhteyttä ja serverillä olevat tiedostot ovat salattuja.
Useita eri koneita voi synkronoida käyttöjärjestelmästä riippumatta.
Kansioita voi jakaa kavereiden kesken.

Asensin opensuse 11.1:n.

Lainaus
Processor AMD Athlon 64 3500+
RAM 2 GB DDR2
Hard drive 250 GB SATA
openSUSE 11.1, 64-bit
https://easyspeedy.com/servers/dedicated_servers.jsf

Kävin hakemassa repositoryn ifolder3-enterprise :lle http://software.opensuse.org/search :ista.

Lainaus
Huomaa monet eri versiot valitessasi repositorya.
Itsellä on
http://download.opensuse.org/repositories/home:/cseader:/ifolder/openSUSE_11.1/
http://download.opensuse.org/repositories/Mono:/UIA:/iFolder/MonoOpenSUSE_11.1/
32 bittinen ei ehkä tarvitse tuota /cseader:/ repositorya

Yritin asentaa - herjasi puuttuvuudesta. Uudestaan http://software.opensuse.org/search :iin hakemaan puuttuvuus. Tästäkin asensin vain repostoryn. Nyt ohjelma asentui yas2:n packagemanagerin kautta.

Lainaus
Samalla asensi novell-ifolder-enterprise-plugins

Tähän asti kaikki oli helppoa

Asensin ohjelmat
yast2-http-server

Lainaus
Samalla asensin
yast2-ca-management
koska mono/simian/ifolder tarvitsee sertifikaatteja

yast2-http-server :in avulla käynnistin apachen ja AKTIVOIN MOD_PROXY :n
proxy          │Enabled   │HTTP/1.1 proxy/gateway server

Lainaus
Aktivoin myös SSL :n
ssl            │Enabled   │Strong cryptography using the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols
Yrityksen ja erehdyksen jälkeen muistin myös ruksata ruudun "käynnista apache bootatessa"
HTTP Service │( ) Disabled │(x) Enabled

Seurasin ohjetta http://www.chyd.co.cc/linux/10-step-ifolder-server-install.html ja suoritin konsolissa kolme ohjelmaa

simias-server-setup

Koodia: [Valitse]
# simias-server-setup

SIMIAS SERVER SETUP

This script configures a server installation of Simias to setup a new Simias system.

----- SERVER'S DATA PATH -----
Path to the server's data files


Server's Data Path? [/var/simias/data]:

----- SERVER NAME -----
The name of this server


Server Name? [simias1]:

----- SSL -----
Select SSL/NONSSL communication for this server. Options
are  SSL, NONSSL or BOTH


SSL? [SSL]: NONSSL

----- PUBLIC URL -----
Public URL of this Simias Server


Public URL? [http://82.xx.xx.3/simias10]: http://ifolder.vilpertti.com/simias10
- aluksi kannattaa käyttää localhost :ia

----- PRIVATE URL -----
Private URL of this Simias Server


Private URL? [http://ifolder.vilpertti.com/simias10]:

----- SLAVE SERVER -----
Install into existing Simias Domain


Slave Server? [N]:

----- SYSTEM NAME -----
A name used to identify the Simias system to users.


System Name? [iVilpertti]:

----- SYSTEM DESCRIPTION -----
A detailed description of the Simias system for users.


System Description? [Vilpertin iFolteri]:

----- USE KEY RECOVERY AGENT -----
Use Key Recovery Agents to recovery the encryption
key if the user forgets the pass-phrase used for encryption?


Use Key Recovery Agent? [Y]:

----- RECOVERY AGENT CERTIFICATE PATH -----
Path to the Recovery agent certificate's.


Recovery Agent Certificate Path? [/var/simias/data]:

----- USE LDAP -----
Use LDAP to provision and authenticate users?


Use LDAP? [Y]: N

----- SYSTEM ADMIN -----
The Simias default administrator.  If the system is
configured to use an external identity source, the
distinguished name (dn) should be used.


System Admin? [admin]:
System Admin Password? [novell]: huippusalainen

----- CONFIGURE APACHE -----
Configure Simias to run behind Apache


Configure Apache? [N]: Y      

Working...

Configuring /var/simias/data/simias/Simias.config...SetupSimias - Done
Configuring /etc/apache2/conf.d/simias.conf...Done
Configuring User Movement plugin..

Setting up Log4Net file...Done
Setting up permissions...Done

SUCCESS

ifolder-admin-setup

Koodia: [Valitse]
# ifolder-admin-setup

IFOLDER WEB ADMIN SETUP

This script configures a server installation of iFolder Web Admin application. The script is intended for testing purposes only.

----- WEB ALIAS -----
Web Alias for iFolder Web Admin


Web Alias? [/admin]:

----- REQUIRE SSL -----
Require a secure connection between the browsers and
the iFolder Web Admin application


Require SSL? [Y]: N

----- REQUIRE SERVER SSL -----
Require a secure connection between the iFolder Server
and the iFolder Web Admin application


Require Server SSL? [Y]: N

----- IFOLDER URL -----
The host or ip address of the iFolder server that will
be used by the iFolder Web Admin application


iFolder URL? [http://localhost:80/]: http://ifolder.viliperetti.com/

----- REDIRECT URL -----
Redirect URL for iChain / AccessGateway


Redirect URL? []:

Working...

Configuring /usr/lib64/simias/admin/Web.config...Done
Server DATA PATH is set to :  /var/simias/data/simias
Configuring /etc/apache2/conf.d/ifolder_admin.conf...Done
Installing certificate...Skipped (Not Required)

SUCCESS

ifolder-web-setup

Koodia: [Valitse]
# ifolder-web-setup

IFOLDER WEB ACCESS SETUP

This script configures a server installation of iFolder Web Access application. The script is intended for testing purposes only.

----- WEB ALIAS -----
Web Alias for iFolder Web Access


Web Alias? [/ifolder]:

----- REQUIRE SSL -----
Require a secure connection between the browsers and
the iFolder Web Access application


Require SSL? [Y]: N

----- REQUIRE SERVER SSL -----
Require a secure connection between the iFolder Server
and the iFolder Web Access application


Require Server SSL? [Y]: N

----- IFOLDER URL -----
The host or ip address of the iFolder server that will
be used by the iFolder Web Access application


iFolder URL? [http://localhost:80/]: http://ifolder.vilpertti.com/

----- REDIRECT URL -----
Redirect URL for iChain / AccessGateway


Redirect URL? []:

Working...

Configuring /usr/lib64/simias/webaccess/Web.config...Done
Server DATA PATH is set to :  /var/simias/data/simias
Configuring /etc/apache2/conf.d/ifolder_web.conf...Done
Installing certificate...Skipped (Not Required)

SUCCESS


Lainaus
Nämä ohjelmat voi suorittaa uudelleen ja uudelleen jos asetukset eivät heti satu kohdalleen.
Muista käynnistää apache uudelleen välillä.
/etc/init.d/apache2 start
/etc/init.d/apache2 stop
Odota komentojen välillä hetkinen, koska mono/simias ohjelman pitää myös pysähtyä ennen käynnistystä.

Varmuuden vuoksi käytin (lähes) oletusasetuksia.
Asennus onnistui kun jätin pois KAIKKI salaukseen liittyvät toiminnot.
Vastasin ohjeen mukaan kysymyksiin tai "N" (No) kun kysyy jotain salaamisesta.
Konfiguroidaanko http serveri: "Y" Yes.
Boottasin apachen yast2-http-server :in kautta.

Ja eipä muuta kuin osoitteisiin http://localhost/ifolder ja http://localhost/admin ja iFolder on käytettävissä.

Client ohjelmat löytyvät osoitteesta
http://www.ifolder.com/
Clienttiä ei saa asentaa samalle koneelle kuin serveri on.

ONGELMA

Osaisiko joku kädestä pitäen neuvoa miten sertifikaatit asennetaan (yast2-http-server ohjelmalla)
a) apachen default asennukseen
b) tuohon simian :in / mono :n ja iFolderin väliseen yhteyteen

Lainaus
Silloin asennus olisikin jo täydellinen ja yhteydet salattuja.
yast2-ca-management :ista ei ollut mitään hyötyä tässä asennuksessa.(Kun en osannut käyttää.)

TOINEN ONGELMA

Web selaimella toimii mutta client herjaa
Koodia: [Valitse]
System.Web.Services.Protocols.SoapException: Palvelin ei voi käsitellä pyyntöä. ---> System.ArgumentNullException: Avaimen arvo ei voi olla Null.
Parametrin nimi: key
   kohteessa System.Collections.Hashtable.ContainsKey(Object key)
   kohteessa Simias.WebState..ctor(String DomainID)
   kohteessa Simias.DomainServices.DomainAgent.Login(Uri host, String domainID, NetworkCredential networkCredential, Boolean calledRecursive)
   kohteessa Simias.DomainServices.DomainAgent.Attach(String host, String user, String password)
   kohteessa Simias.Web.SimiasService.ConnectToDomain(String UserName, String Password, String Host)
   --- Sisäisen poikkeuksen pinon jäljityksen loppu ---

Johtuukohan se noista sertifikaattiongelmista? Jossain oli puhetta apachen worker modesta. Itsellä Starting httpd2 (prefork) done.

Jos yritän kirjautua osoitteeseen http://82.xx.xx.3/simias10/ niin
Koodia: [Valitse]
Server Error in '/simias10' Application
The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Resource URL: /simias10/
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433
Ei olis enää paljosta kiinni. - Tai sitten on.

---------------------------------------

TOINEN ONGELMA RATKAISU

Apachella PITÄÄ olla sertifikaatit. Ei toimi muuten.

Lainaus
Tästä seuraa taas uusi ongelma:
http://forums.novell.com/novell-product-support-forums/ifolder/353940-ifolder-3-7-windows-client-server-old-cannot-connect-theserver.html

This is because the iFolder 3.6 Windows client cannot communicate with an
SSL-mandated 3.7 server. During the connection attempt, the server responds
that the preferred communication is HTTPS; however, the 3.6 client does not
support HTTPS. When the client attempts to connect via HTTPS, the connection
fails because the certificate validation and acceptance fail.

Lainaus
Kätevä työkalu cacert-sertifikaattien hakemisessa
http://svn.cacert.org/CAcert/Software/CSRGenerator/

ENSIMMÄINEN ONGELMA b) on ratkaisematta mutta se nyt ei suurta uhkaa aiheuta, kun kaikki palvelimet ovat samassa koneessa.

ASENNUKSEN JÄLKEEN
Simias manuaali
https://localhost/simias10/DomainService.asmx
https://[IP-osoite tai serverin osoite]/simias10/DomainService.asmx
« Viimeksi muokattu: 22.06.2009 - klo:21:09 kirjoittanut K-Veikko »