0% found this document useful (0 votes)
112 views

Install Solaris

1

Uploaded by

Stephen Efange
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views

Install Solaris

1

Uploaded by

Stephen Efange
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

Last login: Wed Mar 3 19:25:50 2021 on console

Oracle Corporation SunOS 5.11 11.4 Aug 2018


sefange@solaris11a:~$ su
Password:
root@solaris11a:~# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F
http://pkg.oracle.com/solaris/release/
root@solaris11a:~# pkg list -g http://pkg.oracle.com/solaris/release/ | grep -i
solaris-desktop
group/system/solaris-desktop 11.4-11.4.0.0.1.15.0 ---
root@solaris11a:~#

sefange@solaris11a:~$ pkg list -g http://pkg.oracle.com/solaris/release/ | grep -i


solaris-desktop
group/system/solaris-desktop 11.4-11.4.0.0.1.15.0 ---
sefange@solaris11a:~$ pkg install solaris-desktop

pkg install: Insufficient access to complete the requested operation.


Please try the operation again as a privileged user.
sefange@solaris11a:~$ sudo pkg install solaris-desktop
Password:
Packages to install: 357
Mediators to change: 1
Services to change: 17
Create boot environment: No
Create backup boot environment: No

DOWNLOAD PKGS FILES XFER (MB) SPEED


library/desktop/webkitgtk4 143/357 46697/61930 532.4/958.4 3.9M/s

DOWNLOAD PKGS FILES XFER (MB) SPEED


Completed 357/357 61930/61930 958.4/958.4 1.4M/s

PHASE ITEMS
Installing new actions 47584/76265

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

root@solaris11a:~# cat /etc/hosts


#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
192.168.56.1 cscorp269
192.168.56.154 solaris11a

https://saifulaziz.com/2016/05/01/how-to-change-and-configure-solaris-11-ip-
address/

dladm show-phys
dladm show-link
dladm show-ether

ipadm create-ip net0

root@solaris11a:~# dladm show-phys


LINK MEDIA STATE SPEED DUPLEX DEVICE
net0 Ethernet up 1000 full e1000g0
net1 Ethernet up 1000 full e1000g1
root@solaris11a:~# ipadm create-addr -T dhcp net0
net0/v4
root@solaris11a:~# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
net0/v4 dhcp ok 10.0.2.15/24
net1/v4 static ok 192.168.56.154/24
lo0/v6 static ok ::1/128
net1/v6 addrconf ok fe80::a00:27ff:fe6d:a1a3/10
root@solaris11a:~#

ping 192.168.56.0
route -p add default 192.168.56.0

root@solaris11a:~# netstat -rn

Routing Table: IPv4


Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ---------- ---------
default 192.168.56.0 UG 2 309
default 10.0.2.2 UG 26 171135 net0
10.0.2.0 10.0.2.15 U 3 1 net0
127.0.0.1 127.0.0.1 UH 2 130 lo0
192.168.56.0 192.168.56.154 U 4 3322 net1

Routing Table: IPv6


Destination/Mask Gateway Flags Ref Use If
--------------------------- --------------------------- ----- --- ------- -----
::1 ::1 UH 2 14 lo0
fe80::/10 fe80::a00:27ff:fe25:412b U 2 0 net1

reboot

root@solaris11a:~# cat /etc/resolv.conf

#
# _AUTOGENERATED_FROM_SMF_V1_
#
# WARNING: THIS FILE GENERATED FROM SMF DATA.
# DO NOT EDIT THIS FILE. EDITS WILL BE LOST.
# See resolv.conf(5) for details.

nameserver 192.168.2.110
nameserver 192.168.2.68
nameserver 192.168.1.2540

You might also like