The Solaris Experience!
***Updates 8-07-07****
Server is moving to a new datacenter. ssh login will be down for several days.
***************************************************************************
I want to provide a sandbox here to allow everyone to try some of the features of Solaris. I did not have a spare server laying around so I created a secure zone on a production server. Feel free to try and guess the root password and create users and play around. To do this I have setup a Solaris 10 server at techinvasion.net. You can access this server through SSH.
Username: guest
Password: guest
Use this account to get used to Solaris commands and experiment with the system!
The following was stolen ungraciously and without permission from: The blog of Ben Rockwood. This is a great site and he is one of the best resources on the net for Solaris help.
| Linux | Solaris |
| shutdown -h now (or) poweroff | shutdown -y -g0 -i5 |
| reboot | reboot (or) shutdown -y -g0 -i6 |
| halt | halt |
Kernel
| RHEL | Solaris |
| /sbin/lsmod | modinfo |
| /sbin/insmod | modload |
| /sbin/rmmod | modunload |
| scanpci | /usr/X11/bin/scanpci (or) prtconf -v |
Printing
| RHEL | Solaris |
| lp (or) lpr | lp (or /usr/ucb/lpr) |
| lpstat (or) lpq | lpstat (or /usr/ucb/lpq) |
Services
| RHEL | Solaris |
| /sbin/service –status-all | svcs -a |
| /sbin/service sendmail stop | svcadm disable sendmail |
| /sbin/service sendmail start | svcadm enable sendmail |
| /sbin/service sendmail status | svcs sendmail |
| /sbin/chkconfig –list | svcs -a |
| /sbin/chkconfig –add /etc/rc3.d/f00 | svccfg import f00.xml |
| /sbin/chkconfig sendmail on | svcadm enable sendmail |
Monitoring
| RHEL | Solaris |
| top | prstat |
| cat /proc/cpuinfo | psrinfo -v |
| cat /proc/meminfo | prtconf |
NFS
| RHEL | Solaris |
| exportfs | exportfs (or) share |
| (edit /etc/exports) | share /home |
| (edit /etc/exports) | unshare /home |
Networking
| RHEL | Solaris |
| /sbin/mii-tool | ndd (or) /sbin/dladm show-dev |
| ifconfig | ifconfig |
| /sbin/ethtool | ndd |
| /sbin/dhclient | dhcpagent |
| iptables | ipfilter |
Storage
| RHEL | Solaris |
| fdisk | fdisk (and) format |
| parted | format |
| mkfs -t ext3 /dev/hda1 | mkfs -F ufs /dev/rdsk/c0t0d0s0 |
| cdrecord dev=2,0 f00.iso | cdrw -i f00.iso |
| tar xfvj f00.tar.bz2 | /usr/sfw/bin/gtar xfvj f00.tar.bz2 |
| lvm/pv*/lv*/vg* | meta* |
Dev
| RHEL | Solaris |
| (edit /etc/ld.so.conf) | crle |
| gcc | /usr/sfw/bin/gcc |
| ld | /usr/ccs/bin/ld |