OpenSolaris

切换图形界面

 
svcadm disbale gdm 
svcadm enable gdm 

添加静态路由

 
# cat /etc/gateways 
ripv2 
net 210.18.2.0/24  gateway 199.119.63.129 metric 1 passive 
net 40.20.3.0/24  gateway 199.119.63.129 metric 1 passive 

# in.routed -d 
... 
-- 2005/07/27 15:38:00.002789 -- 
no ifp for RTM_ADD    210.18.2.0      -->199.119.63.129  metric=1 flags=0x2 
no ifp for RTM_ADD    40.20.3.0/24    -->199.119.63.129  metric=1 flags=0x2 
-- 2005/07/27 15:38:30.802438 -- 

# netstat -rn 
Routing Table: IPv4 
  Destination           Gateway           Flags  Ref   Use   Interface 
-------------------- -------------------- ----- ----- ------ --------- 
210.18.2.0           199.119.63.129       UG        1      0   
199.119.63.0         199.119.63.131       U         1     16  bge0:1 
10.8.118.0           10.8.118.20          U         1     71  bge0 
40.20.3.0            199.119.63.129       UG        1      0   
224.0.0.0            10.8.118.20          U         1      0  bge0 
default              10.8.118.248         UG        1    113   
127.0.0.1            127.0.0.1            UH        2      8  lo0 

启动路由服务
# routeadm -e ipv4-forwarding -u

# svcadm enable ipv4-forwarding

Mysql & Httpd

 
svcadm enable http:apache22 
svcadm enable mysql:version_50 
/home1/yepnnet/public_html/wiki/data/pages/opensolaris.txt · 最后更改: 2009/07/20 20:06 由 admin
到顶部
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0