Benutzer:Mdbw/Solaris4Tux

Aus Opennet
< Benutzer:Mdbw
Version vom 19. März 2009, 17:48 Uhr von Mdbw (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Jemand der es gehöhnt ist in einer Linux Schachtel zu wohnen ist Solaris oft sehr gewöhnungsbedürftig. Man gewöhnt sich aber wohl an alles.

Linux Solaris
df -h df -k
free echo ::memstat | mdb -k
ps aux ps -ef
ifconfig ifconfig -a
lsof ps -ef -o pid | sort | xargs pfiles
fdisk -l format

Inhaltsverzeichnis

Starten von Diensten

Das was man unter Linux als System V Bootkonzept versteht gibt es unter Solaris nicht bzw. ist anders gelößt. Das ganze wird unter dem Begriff Service Management Facility zusammen gefasst.

'TODO

Starten bzw. aktivieren

svcadm enable svc:/network/postfix:default

Probleme abfragen

svcs -xv

VNC Installieren

  • pkg install SUNWxvnc
  • Edit /etc/X11/gdm/custom.conf as below
[xdmcp]
Enable=true
[security]
DisallowTCP=false
AllowRoot=true
AllowRemoteRoot=true
  • svcadm enable xvnc-inetd
  • svcs xvnc-inetd
  • svcadm enable gdm
  • svcs gdm
  • svccfg -s xvnc-inetd
svc:/application/x11/xvnc-inetd> editprop
This take you into a vi session. Look for the line...
#setprop inetd/wait = boolean: false
Copy the line, uncomment it and set it to true. Save the file, exit svccfg and run the command...
  • inetadm -l svc:/application/x11/xvnc-inetd:default
  • inetadm -m svc:/application/x11/xvnc-inetd:default exec="/usr/X11/bin/Xvnc -inetd -query localhost -once -securitytypes vncauth -rfbauth /etc/X11/.vncpasswd -geometry 1024x768"
  • vncpasswd /etc/X11/.vncpasswd
  • Neustart des Servers

Emacs installieren

Postfix installieren

Samba Share aktivieren

Samba installieren

  • Log in to the system that is running the OpenSolaris 2008.05 release and become superuser.
  • Remove the smbsrv module.
rem_drv smbsrv
  • Install the Solaris CIFS service packages.
pkg install SUNWsmbskr
pkg install SUNWsmbs
  • Load the smbsrv module.
add_drv smbsrv
  • Import the Solaris CIFS service SMF manifest.
svccfg import /var/svc/manifest/network/smb/server.xml
  • Start Samba Service
svcadm enable -r smb/server
svcs smb/server # Erfolg prüfen
  • Join a workgroup or an AD domain.
svcadm enable -r smb/server
smbadm join -w workgroup-name
  • Establish passwords for CIFS workgroup users.
echo "other password required pam_smb_passwd.so.1 nowarn" >> /etc/pam.conf
  • Setzen des Passworts (Auch wenn der Benutzer schon ein Passwort hatte muß hier das Samba Passwort neu erstellt werden. Befinden sich dann in /var/smb/smbpasswd)
passwd username

Share freigeben

  • Enable SMB sharing for an existing ZFS file system.
zfs set sharesmb=name=meinefreigabe tank/directory
  • Verify how the new file system is shared.
sharemgr show -vp
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Start
Opennet
Kommunikation
Karten
Werkzeuge