Dobrodošli na FOSS Srbija

Free and Opensource Srbija je skup entuzijasta i ljubitelja slobodnog i otvorenog koda. Cilj nam je okupiti sve istomišljenike na jednom mestu i stvoriti najveći globalni OpenSource projekat u Srbiji i šire!

  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

OpenIndiana OpenIndiana

Discussion in 'Unix sistemi' started by Dragan, 07.06.2013.

  1. Dragan

    Staff Member

    Joined:
    13.01.2012
    Messages:
    7,005
    Likes Received:
    4,375
    Location:
    jóhonaaʼéí
    Okruženje:
    Xfce
    Sistem:
    TRIOS
    Done...idemo restart u novi sistem :)
    Screenshot-OpenIndiana Installer.png
     
  2. Dragan

    Staff Member

    Joined:
    13.01.2012
    Messages:
    7,005
    Likes Received:
    4,375
    Location:
    jóhonaaʼéí
    Okruženje:
    Xfce
    Sistem:
    TRIOS
    Prvo apdejt novog sistema..posle toga će mi trebati par dana da sve podesim/dodam/doinstaliram..ako me ne bude mrzelo, pa se vratim u staru instalaciju ;)
    ------------
    draganoi@hipster-oi:~$ su
    Password:
    root@hipster-oi:~# pkg publisher
    PUBLISHER TYPE STATUS P LOCATION
    openindiana.org origin online F http://pkg.openindiana.org/hipster-2015/
    root@hipster-oi:~# pkg refresh --full
    root@hipster-oi:~# pkg update -n
    Packages to install: 1
    Packages to update: 347
    Create boot environment: Yes
    Create backup boot environment: No

    root@hipster-oi:~# pkg update
    Packages to install: 1
    Packages to update: 347
    Create boot environment: Yes
    Create backup boot environment: No

    DOWNLOAD PKGS FILES XFER (MB) SPEED
    Completed 348/348 2010/2010 80.3/80.3 1.9M/s

    PHASE ITEMS
    Removing old actions 4007/4007
    Installing new actions 895/895
    Updating modified actions 4422/4422
    Updating package state database Done
    Updating package cache 347/347
    Updating image state Done
    Creating fast lookup database Done

    A clone of openindiana exists and has been updated and activated.
    On the next boot the Boot Environment openindiana-1 will be
    mounted on '/'. Reboot when ready to switch to this updated BE.


    ---------------------------------------------------------------------------
    NOTE: Please review release notes posted at:

    http://wiki.openindiana.org/display/oi/oi_hipster
    ---------------------------------------------------------------------------

    root@hipster-oi:~# beadm list
    BE Active Mountpoint Space Policy Created
    openindiana N / 112K static 2015-04-01 21:15
    openindiana-1 R - 4.88G static 2015-04-01 21:35
    root@hipster-oi:~# init 6
     
  3. Dragan

    Staff Member

    Joined:
    13.01.2012
    Messages:
    7,005
    Likes Received:
    4,375
    Location:
    jóhonaaʼéí
    Okruženje:
    Xfce
    Sistem:
    TRIOS
    Ajd i ovde da postavim nešto...nema smisla da zvrji prazno :)

    Virtualbox je jedan od važnih programa..meni, a verujem i mnogima od vas..koje koristim/o u svakodnevnom radu. Redovno koristim najnovije beta verzije, a juče je objavljena i verzija 5 RC1, pa je red da je instaliram.
    Međutim, na OI postoji jedan glupavi problem sa Vbox , koji mi ide na živce, a to je nedostatak USB podrške u guest sistemima, iako USB na hostu radi najnormalnije. Zašto Oracle uporno ne obraća pažnju na ovaj problem na Solarisu nije mi najjasnije, ali postoji workaround koji će možda još nekome koristiti.

    LM.."stara" verzija kod mene je:

    ---------
    root@hipster-oi:~/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS# pkginfo -l SUNWvbox
    PKGINST: SUNWvbox
    NAME: Oracle VM VirtualBox
    CATEGORY: application
    ARCH: i386
    VERSION: 5.0.0_BETA4,REV=2015.05.18.16.31.100374
    BASEDIR: /
    VENDOR: Oracle Corporation
    DESC: A powerful PC virtualization solution
    PSTAMP: vbox20150518163118_r100374
    INSTDATE: May 23 2015 02:22
    HOTLINE: Please contact your local service provider
    EMAIL: info@virtualbox.org
    STATUS: completely installed
    FILES: 354 installed pathnames
    12 linked files
    23 directories
    29 executables
    6 setuid/setgid executables
    436862 blocks used (approx)
    -------

    Da bi se instalirala nova, prvo mora da se ukloni stara, komandom pkgrm (Vbox na OI/Solarisu i dalje se instalira na stariji način, SVR4 package system..)

    ---------
    root@hipster-oi:~/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS# pkgrm SUNWvbox

    The following package is currently installed:
    SUNWvbox Oracle VM VirtualBox
    (i386) 5.0.0_BETA4,REV=2015.05.18.16.31.100374

    Do you want to remove this package? [y,n,?,q] y

    ## Removing installed package instance <SUNWvbox>

    This package contains scripts which will be executed with super-user
    permission during the process of removing this package.

    Do you want to continue with the removal of this package [y,n,?,q] y
    .......
    .....
    ...
    /opt/VirtualBox/64
    /opt/VirtualBox <non-empty directory not removed>
    /etc/hostname.vboxnet0
    ## Updating system information.

    Removal of <SUNWvbox> was successful.

    -----------

    Nakon preuzimanja i raspakivanja arhive
    http://dlc-cdn.sun.com/virtualbox/5.0.0_RC1/VirtualBox-5.0.0_RC1-100731-SunOS.tar.gz
    pokrećem instalaciju nove verzije:

    -----------
    root@hipster-oi:~/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS# pkgadd -d VirtualBox-5.0.0_RC1-SunOS-amd64-r100731.pkg
    The following packages are available:
    1 SUNWvbox Oracle VM VirtualBox
    (i386) 5.0.0_RC1,REV=2015.06.01.20.14.100731

    Select package(s) you wish to process (or 'all' to processall packages). (default: all) [?,??,q]: all

    Processing package instance <SUNWvbox> from </home/draganoi/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS/VirtualBox-5.0.0_RC1-SunOS-amd64-r100731.pkg>

    Oracle VM VirtualBox(i386) 5.0.0_RC1,REV=2015.06.01.20.14.100731
    Oracle Corporation
    ## Executing checkinstall script.
    Checking package dependencies...
    Done.
    Waiting for services from previous installation to be removed......
    .......
    .....
    ...
    ## Executing postinstall script.
    Checking for older bits...
    Installing new ones...
    Detected Solaris 11 Version 0
    Loading VirtualBox kernel modules...
    - Loaded: Host module
    - Loaded: NetAdapter module
    - Loaded: NetFilter (STREAMS) module
    * Warning!! Solaris 11 build 124 or higher required for USB support. Skipped installing USB support.
    Configuring services...
    - Enabled: Zone access service
    Installing MIME types and icons...
    Installing Python bindings...
    - Installed: Bindings for Python 2.6
    Updating the boot archive...

    Installation of <SUNWvbox> was successful.
    ---------


    Vbox se dakle instalirao normalno, ali usb podrške nema... provera preko modinfo to i dokazuje:

    ----
    root@hipster-oi:~/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS# modinfo | grep vbox
    170 fffffffff868d5d0 ca8 103 1 vboxnet (VirtualBox NetAdp 5.0.0_RC1r100)
    172 fffffffff89fd000 4e8e0 102 1 vboxdrv (VirtualBox HostDrv 5.0.0_RC1r10)
    237 fffffffff861d000 7330 267 1 vboxflt (VirtualBox NetDrv 5.0.0_RC1r100)
    237 fffffffff861d000 7330 - 1 vboxflt (VirtualBox NetMod 5.0.0_RC1r100)
    -----

    Pošto Oracle i dalje kod svake nove verzije ni 5 para ne daje na moje nerviranje zbog USB, moram da se snalazim...uklanjam Vbox, i da bi omogućio USB podršku, moram da malo prepravim paket za instalaciju. SVR4 komanda pkgtrans, kojom se raspakuje paket za instalaciju, lepo će poslužiti:

    ------
    root@hipster-oi:~/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS# pkgtrans VirtualBox-5.0.0_RC1-SunOS-amd64-r100731.pkg .

    The following packages are available:
    1 SUNWvbox Oracle VM VirtualBox
    (i386) 5.0.0_RC1,REV=2015.06.01.20.14.100731

    Select package(s) you wish to process (or 'all' to process
    all packages). (default: all) [?,??,q]: all
    Transferring <SUNWvbox> package instance
    ---------

    Sada sledi čačkanje po raspakovanom paketu..u direktorijumu ../SUNWvbox/root/opt/Virtualbox nalazi se skripta vboxconfig.sh, treba je otvoriti (kao root) u nekom editoru, i negde oko linije 680 isključiti proveru $HOST_OS_MINORVERSION koja određuje da li će usb podrška biti instalirana ili preskočena.

    Nakon izmene fajla, sledi probni pokušaj instalacije..videćemo kasnije zašto je probni...komandom pkgadd, ali ovog puta direktno iz raspakovanog direktorijuma:
    ----------
    root@hipster-oi:~/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS# pkgadd -d . SUNWvbox

    Processing package instance <SUNWvbox> from </home/draganoi/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS>

    Oracle VM VirtualBox(i386) 5.0.0_RC1,REV=2015.06.01.20.14.100731
    Oracle Corporation
    ## Executing checkinstall script.
    Checking package dependencies...
    Done.
    Waiting for services from previous installation to be removed......
    ......
    ....
    ..
    ERROR: content verification of </opt/VirtualBox/vboxconfig.sh> failed
    file size <45350> expected <45342> actual
    file cksum <23665> expected <23187> actual
    /opt/VirtualBox/vboxwebsrv <linked pathname>
    /opt/VirtualBox/webtest <linked pathname>
    [ verifying class <manifest> ]
    ## Executing postinstall script.
    Checking for older bits...
    Installing new ones...
    Detected Solaris 11 Version 0
    Loading VirtualBox kernel modules...
    - Loaded: Host module
    - Loaded: NetAdapter module
    - Loaded: NetFilter (STREAMS) module
    - Loaded: USBMonitor module
    - Loaded: USB module
    Configuring services...
    - Enabled: Zone access service
    Installing MIME types and icons...
    Installing Python bindings...
    - Installed: Bindings for Python 2.6
    Updating the boot archive...

    Installation of <SUNWvbox> partially failed.
    ------

    Iz priloženog se može videti da su sada USB moduli instalirani, ali je instalacija delimično neuspešna, zato što je vboxconfig.sh skripta izmenjena, pa shodno tome i njena veličina i cksum. Zato sam je i nazvao "probna", da bi se videle nove vrednosti koje su dobijene posle izmene..postoje i drugi načini, ali ovaj je najjednostavniji. Te vrednosti (takođe kao root) u editoru treba uneti u ../SUNWvbox/pkgmap, sačuvati fajl i ponoviti proceduru.

    Dakle, ponovo uklanjam vbox, i ponovna instalacija direktno iz dira:

    --------
    root@hipster-oi:~/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS# pkgadd -d . SUNWvbox

    Processing package instance <SUNWvbox> from </home/draganoi/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS>

    Oracle VM VirtualBox(i386) 5.0.0_RC1,REV=2015.06.01.20.14.100731
    ......
    ....
    ..
    ## Executing postinstall script.
    Checking for older bits...
    Installing new ones...
    Detected Solaris 11 Version 0
    Loading VirtualBox kernel modules...
    - Loaded: Host module
    - Loaded: NetAdapter module
    - Loaded: NetFilter (STREAMS) module
    - Loaded: USBMonitor module
    - Loaded: USB module
    Configuring services...
    - Enabled: Zone access service
    Installing MIME types and icons...
    Installing Python bindings...
    - Installed: Bindings for Python 2.6
    Updating the boot archive...

    Installation of <SUNWvbox> was successful.
    root@hipster-oi:~/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS# modinfo | grep vbox
    170 fffffffff868d5d0 ca8 103 1 vboxnet (VirtualBox NetAdp 5.0.0_RC1r100)
    172 fffffffff89fd000 4e8e0 102 1 vboxdrv (VirtualBox HostDrv 5.0.0_RC1r10)
    237 fffffffff861d000 7330 267 1 vboxflt (VirtualBox NetDrv 5.0.0_RC1r100)
    237 fffffffff861d000 7330 - 1 vboxflt (VirtualBox NetMod 5.0.0_RC1r100)
    238 fffffffff86c1000 44c8 268 1 vboxusbmon (VirtualBox USBMon 5.0.0_RC1r100
    239 fffffffff872a000 72b0 286 1 vboxusb (VirtualBox USB 5.0.0_RC1r100731)
    root@hipster-oi:~/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS# pkginfo -l SUNWvbox
    PKGINST: SUNWvbox
    NAME: Oracle VM VirtualBox
    CATEGORY: application
    ARCH: i386
    VERSION: 5.0.0_RC1,REV=2015.06.01.20.14.100731
    BASEDIR: /
    VENDOR: Oracle Corporation
    DESC: A powerful PC virtualization solution
    PSTAMP: vbox20150601201526_r100731
    INSTDATE: Jun 02 2015 23:41
    HOTLINE: Please contact your local service provider
    EMAIL: info@virtualbox.org
    STATUS: completely installed
    FILES: 354 installed pathnames
    12 linked files
    23 directories
    29 executables
    6 setuid/setgid executables
    436405 blocks used (approx)

    root@hipster-oi:~/Desktop/VirtualBox-5.0.0_RC1-100731-SunOS#
    -----------

    Ovoga puta sve je u redu, instalacija je ok, usb moduli su uredno učitani, usb podrška u vboxu radi kako treba.
    Možda opisani workaround na prvi pogled deluje komplikovano, ali nije..posao od bukvalno 5 minuta, i jedini "problem" je što mora da se ponovi kod svake nove instalacije. U početku nervira, kasnije se navikneš :)

    Evo i malo slikica...ako nekome zatreba pomoć u vezi ovog upustva, ili nešto bude nejasno, slobodno neka se javi :)
     

    Attached Files:

    Ladislav and Aco29 like this.
  4. Vladimir

    Staff Member

    Joined:
    12.01.2012
    Messages:
    9,567
    Likes Received:
    4,347
    Location:
    /home
    Okruženje:
    Kde5
    Sistem:
    Ostalo
    Collapse Signature Expand Signature
    Dragan likes this.
  5. Dragan

    Staff Member

    Joined:
    13.01.2012
    Messages:
    7,005
    Likes Received:
    4,375
    Location:
    jóhonaaʼéí
    Okruženje:
    Xfce
    Sistem:
    TRIOS
    ...odavno..nije ni odletao od mene ;)
    Upravo urađen update:
     
  6. Zeyn

    Korisnik

    Joined:
    17.02.2016
    Messages:
    255
    Likes Received:
    202
    Location:
    CK KPSS
    Okruženje:
    Ostalo
    Sistem:
    Ostalo
    Instalirao sam ga prošle godine jednom i koristio neko vreme. Fin sistem, mada sam ja navikao na Debian pa to ti je.
     
    Collapse Signature Expand Signature
    Ladislav and Dragan like this.
  7. Tanja

    Korisnik

    Joined:
    19.03.2013
    Messages:
    647
    Likes Received:
    492
    Okruženje:
    Xfce
    Sistem:
    Debian
    Da ne bi mešali teme....

    Igrala sam se, mada ne baš uspešno do kraja...
    Kada sam podešavala VirtualBox, u startu mi je on sam odredio minimum RAM-a (768MB ako se ne varam) i ja sam odlučila da tu ništa ne menjam. Pokrenula sam live opciju i instalaciju... sve je išlo OK.
    Moram da primetim da je ceo taj proces skoro identičan kao kod instalacije Ubuntu-a, tj. svako bi se mogao snaći nebitno od iskustva (a ja, blesava, mislila da ću morati da se bakćem kao sa FreeBSD)...
    Uspela sam da instaliram, ali ne i da pokrenem sistem.
    Ponovila sam postupak, s tim što sam ovog puta dodelila više RAM-a (maksimalno od onog što mi je na raspolaganju za vbox) i išla sam na tekstualnu instalaciju (ne grafičku) što je rezultiralo bržim procesom. No, iako sam uspela, nakon instalacije da dođem do DM-a, on se zakucao i opet nisam uspela da pokrenem DE.

    Zaključak:
    Definitivno lep OS, bar na osnovu live pregleda, i jednostavan za instalaciju, ali bez min 2GB RAM-a ne bi trebalo da se razmišlja o njemu.
    Iskreno, žao mi je što nisam imala prilike da se malo više pozabavim njime, da isprobam instalaciju nekog programa ili poneko podešavanje. Takođe, sve me je podsetilo koliko je GNOME2 bilo lepo okruženje, praktično za svakodnevni rad i sa dostupnim programima za skoro sve što ti treba.
     
    Dragan likes this.
  8. Lazar

    Saradnik

    Joined:
    01.09.2013
    Messages:
    514
    Likes Received:
    285
    Okruženje:
    Kde5
    Sistem:
    Fedora
    @Dragan
    Da li ima nekih zanimljivosti ili novosti vezanih za OI/Solaris? Takođe, da li si nekada koristio neki SPARC računar?
     
  9. Dragan

    Staff Member

    Joined:
    13.01.2012
    Messages:
    7,005
    Likes Received:
    4,375
    Location:
    jóhonaaʼéí
    Okruženje:
    Xfce
    Sistem:
    TRIOS
    @Lazar
    SPARC nisam nikada koristio...merkam da kupim jedan polovan SUN server te arhitekture, ali sam neodlučan još uvek, prvo treba da smislim za šta bih ga upotrebio :D
    Za OI nema nekih bitnih novosti...Hipster se redovno apdejtuje, povremeno dođe do nekog sitnijeg loma, ali se to brzo ispravi, sve u svemu radi prilično stabilno.
    Od zanimljivosti...trenutno je na ML aktuelna svađa oko toga ko, šta i kako treba da radi za modernu verziju OI Docs...deo "stare garde" misli da oni jedini treba da se pitaju, novi(ji)/mlađi guraju neka svoja rešenja, i to je siguran recept za konflikt :D

    Screenshot - 06162016 - 10:59:39 PM.png
     
  10. Vlad

    Korisnik

    Joined:
    13.02.2012
    Messages:
    1,975
    Likes Received:
    841
    Okruženje:
    Gnome3
    Sistem:
    Fedora
  11. Tanja

    Korisnik

    Joined:
    19.03.2013
    Messages:
    647
    Likes Received:
    492
    Okruženje:
    Xfce
    Sistem:
    Debian
    Tih, ovaj @Dragan je baš zarazan sa OI...

    Jedino mi nije jasno što su mu neki paketi prilično zastareli (npr. MariaDB)
     
  12. Dragan

    Staff Member

    Joined:
    13.01.2012
    Messages:
    7,005
    Likes Received:
    4,375
    Location:
    jóhonaaʼéí
    Okruženje:
    Xfce
    Sistem:
    TRIOS
    Nisam ja kriv što je možda još neko osim moje malenkosti radoznao :)
    Što se tiče starosti paketa...Hipster je izuzetno aktivan, ali...manjak ljudi je veliki problem
    @MariaDB proveriću koja je verzija u Hipsteru, ali mislim da je prilično sveža.
     
  13. Dragan

    Staff Member

    Joined:
    13.01.2012
    Messages:
    7,005
    Likes Received:
    4,375
    Location:
    jóhonaaʼéí
    Okruženje:
    Xfce
    Sistem:
    TRIOS
    Obe verzije su tu...starija 5.5 i najnovija:
    Code:
    root@dragan-oi:~# pkg info -r mariadb-101
              Name: database/mariadb-101
           Summary: MariaDB 10.1 Database Management System
          Category: Development/Databases
             State: Not installed
         Publisher: openindiana.org
           Version: 10.1.21
            Branch: 2017.0.0.0
    Packaging Date: March  6, 2017 08:46:32 AM
              Size: 483.24 MB
              FMRI: pkg://openindiana.org/database/mariadb-101@10.1.21-2017.0.0.0:20170306T084632Z
       Project URL: http://www.mariadb.org/
        Source URL: http://mirrors.coreix.net/mariadb/mariadb-10.1.21/source/mariadb-10.1.21.tar.gz
    root@dragan-oi:~# pkg info -r mariadb-55
              Name: database/mariadb-55
           Summary: MariaDB 5.5 Database Management System
          Category: Development/Databases
             State: Not installed
         Publisher: openindiana.org
           Version: 5.5.54
            Branch: 2017.0.0.0
    Packaging Date: March  6, 2017 08:27:59 AM
              Size: 352.95 MB
              FMRI: pkg://openindiana.org/database/mariadb-55@5.5.54-2017.0.0.0:20170306T082759Z
       Project URL: http://www.mariadb.org/
        Source URL: http://mirrors.coreix.net/mariadb/mariadb-5.5.54/source/mariadb-5.5.54.tar.gz
    root@dragan-oi:~#
    
     
  14. Tanja

    Korisnik

    Joined:
    19.03.2013
    Messages:
    647
    Likes Received:
    492
    Okruženje:
    Xfce
    Sistem:
    Debian
    u Hipsteru (2016.10) sam i gledala...a na sajtu pominju samo 5.5

    Edit:
    Vidim da planiraju 'unapređenje' priličnog broja paketa (računajući i MariaDB) u verziji 2017.04... to će verovatno uskoro....
     
    #154 Tanja, 24.04.2017
    Last edited: 24.04.2017
  15. Dragan

    Staff Member

    Joined:
    13.01.2012
    Messages:
    7,005
    Likes Received:
    4,375
    Location:
    jóhonaaʼéí
    Okruženje:
    Xfce
    Sistem:
    TRIOS
  16. Dragan

    Staff Member

    Joined:
    13.01.2012
    Messages:
    7,005
    Likes Received:
    4,375
    Location:
    jóhonaaʼéí
    Okruženje:
    Xfce
    Sistem:
    TRIOS
  17. Vlad

    Korisnik

    Joined:
    13.02.2012
    Messages:
    1,975
    Likes Received:
    841
    Okruženje:
    Gnome3
    Sistem:
    Fedora
  18. Vlad

    Korisnik

    Joined:
    13.02.2012
    Messages:
    1,975
    Likes Received:
    841
    Okruženje:
    Gnome3
    Sistem:
    Fedora
  19. Vlad

    Korisnik

    Joined:
    13.02.2012
    Messages:
    1,975
    Likes Received:
    841
    Okruženje:
    Gnome3
    Sistem:
    Fedora
SSL Certificate Biblioteka++ Tor anonimnost Cyberghost vyprvpn