Size: 180
Comment:
|
← Revision 16 as of 2024-08-03 16:20:21 ⇥
Size: 2391
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
<<TableOfContents(2)>> |
|
Line 4: | Line 6: |
* wget http://dlc.openindiana.org/isos/151a8/oi-dev-151a8-text-x86.iso | Check https://docs.openindiana.org/handbook/getting-started/ . == VirtualBox installation of server edition == {{{#!highlight sh 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 {{{#!highlight sh 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 == {{{#!highlight sh 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 == {{{#!highlight sh cat /etc/nodename cat /etc/release cat /etc/resolv.conf psrinfo -pv prtconf cat /hostname.ce1 cat /etc/motd cat /etc/defaultrouter ifconfig -a date -u uptime dmesg uname -a ping -s www.sapo.pt # pings hostname www.sapo.pt cat /etc/nodename digest -a md5 -v file ggrep --version #gnu grep lsof | grep -i listen # like netstat ps -ef # show all processes pargs 1234 # show process arguments for PID 1234 }}} == Show hexadecimal dump == {{{#!highlight sh od -x file.txt }}} == OpenIndiana Hipster 2016.04 Text Install DVD (32/64-bit x86) == {{{#!highlight sh # wget http://dlc.openindiana.org/isos/hipster/OI-hipster-text-20160421.iso wget https://dlc.openindiana.org/isos/hipster/20230502/OI-hipster-minimal-20230502.iso }}} |
Contents
OpenIndiana
OpenIndiana is a free and open-source, Unix operating system derived from OpenSolaris.
Check https://docs.openindiana.org/handbook/getting-started/ .
VirtualBox installation of server edition
1 wget http://dlc.openindiana.org/isos/151a8/oi-dev-151a8-text-x86.iso
2 # size 496 MB (520.613.888 bytes)
3 # Start VirtualBox
4 # Choose Other Other/Unknown
5 # RAM 512 MB
6 # Create virtual disk dynamic VDI with 8 GB
7 # Start VM
8 # Choose ISO oi-dev-151a8-text-x86.iso
9 # Keyboard layout 33 pt
10 # Language english 7
11 # Install OpenIndiana 1
12 # F2 F2, Use whole disk, F2, computer name openindiana automatically configure network
13 # F2 Europe Portugal mainland
14 # F2 ******** # root pass
15 # user vitor with pass ********
16 # F2 Install F8 reboot
17
After reboot release ISO and login with user vitor
1 su -
2 uname -a
3 java -version
4 python
5 perl
6 ifconfig e1000g0 plumb # use NIC Intel Pro 1000 MT Server on VB
7 ifconfig e1000g0 up
8 ifconfig e1000g0 auto-dhcp
9 svcadm disable svc:/network/physical:nwam
10 svcadm enable svc:/network/physical:default
11 vi /etc/resolv.conf # nameserver 8.8.8.8
12 ping www.sapo.pt
13 pkg list -a nano
14 pkg install nano
15 pkg install developer/java/jdk
16 javac -version
17 pkg install web/java-servlet/tomcat # /usr/tomcat6/bin
18 pkg install developer/gcc-3
19 gcc --version
Tree script for OpenSolaris
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
1 od -x file.txt