Size: 2199
Comment:
|
Size: 2233
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
* wget http://dlc.openindiana.org/isos/151a8/oi-dev-151a8-text-x86.iso | * wget http://dlc.openindiana.org/isos/151a8/oi-dev-151a8-text-x86.iso # size 496 MB (520.613.888 bytes) |
OpenIndiana
OpenIndiana is a free and open-source, Unix operating system derived from OpenSolaris.
Check http://wiki.openindiana.org/oi/Installing+OpenIndiana .
VirtualBox installation of server edition
wget http://dlc.openindiana.org/isos/151a8/oi-dev-151a8-text-x86.iso # size 496 MB (520.613.888 bytes)
Start VirtualBox
- Choose Other Other/Unknown
- RAM 512 MB
- Create virtual disk dynamic VDI with 8 GB
- Start VM
- Choose ISO oi-dev-151a8-text-x86.iso
- Keyboard layout 33 pt
- Language english 7
Install OpenIndiana 1
- F2 F2, Use whole disk, F2, computer name openindiana automatically configure network
- F2 Europe Portugal mainland
- F2 ******** # root pass
- user vitor with pass ********
- F2 Install F8 reboot
After reboot release ISO and login with user vitor
- su -
- uname -a
- java -version
- python
- perl
- ifconfig e1000g0 plumb # use NIC Intel Pro 1000 MT Server on VB
- ifconfig e1000g0 up
- ifconfig e1000g0 auto-dhcp
- svcadm disable svc:/network/physical:nwam
- svcadm enable svc:/network/physical:default
- vi /etc/resolv.conf # nameserver 8.8.8.8
- ping www.sapo.pt
- pkg list -a nano
- pkg install nano
- pkg install developer/java/jdk
- javac -version
- pkg install web/java-servlet/tomcat # /usr/tomcat6/bin
- pkg install developer/gcc-3
- gcc --version
Tree script for OpenSolaris
find . -print | sed -e 's;[^/]*/;|;g;s;|; |;g' # based on http://www.unix.com/solaris/54552-what-command-can-display-files-tree.html
Useful commands
1 cat /etc/nodename
2 cat /etc/release
3 cat /etc/resolv.conf
4 psrinfo -pv
5 prtconf
6 cat /hostname.ce1
7 cat /etc/motd
8 cat /etc/defaultrouter
9 ifconfig -a
10 date -u
11 uptime
12 dmesg
13 uname -a
14 ping -s www.sapo.pt # pings hostname www.sapo.pt
15 cat /etc/nodename
16 digest -a md5 -v file
17 ggrep --version #gnu grep
18 lsof | grep -i listen # like netstat
19 ps -ef # show all processes
20 pargs 1234 # show process arguments for PID 1234
21
Show hexadecimal dump
- od -x file.txt