I was really miss a great tool to see installed devices in linux, lspci, that I couldn’t find in solaris. Doing some googling-job, i found a similar tool with lspci.. well this one actually can gives me a more detail (or complicated) than lspci. To see them Issue the command:
# prtconf -v
This will give you a very detailed report of devices attached to the machine. don’t use -v (verbose) if you hates the verbosity
Confused? Use this cool script to get a more readable output using the prtconf as its stdin (read the note on its header).
Download :
ftp://ftp.sunfreeware.com/pub/freeware/intel/10/sudo-1.7.1-sol10-x86-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libiconv-1.11-sol10-x86-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libintl-3.4.0-sol10-x86-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libgcc-3.4.6-sol10-x86-local.gz
Install :
# gzip -d *
# pkgadd -d sudo-1.7.1-sol10-x86-local
# pkgadd -d libiconv-1.11-sol10-x86-local
# pkgadd -d libintl-3.4.0-sol10-x86-local
# pkgadd -d libgcc-3.4.6-sol10-x86-local
Configure:
# vi /usr/local/etc/sudoers
why use sunfreeware.com?
Have you ever confused about how to install a minimal-but-enough installation of solaris OS? Well I had.
It was some time ago I wanted to install Sun Solaris without graphical environment, but I still want some services like ssh and ftp server, and the powerful shell bash. You can always customize the software installation at the installation process, but I found it a bit frustating, because I have to examine the package one-by-one. On the other hand, installing a software by hand from the DVD might takes time to look for the right software since the filename is shortened.
Read more…
Author: bayu Categories: solaris Tags: free, install, network, open source, service, shell, software, solaris, ssh, sysadmin, unix
Replication is one of the MySQL technology to replicate the whole database, whether it will be used for load balancing, data backup, or High Availability (need 3rd party software or script to switch the connection).
This post sill show you a step-by-step installation of MySQL in Sun Solaris. I’m using MySQL 5.0.51a in this post, but it is applicable to other versions. First, download the MySQL from http://dev.mysql.com/downloads or your favorite mirror closest to you.
Read more…
This is how to stop the machine requesting IP address to the DHCP server.
- Delete /etc/dhcp.[interface-name] file
- Put the hostname inside /etc/hostname.[interface=name]
- Put the static IP and hostname inside /etc/hosts
- Restart the system
I thought changing the machine’s hostname is as simple as I usually did in linux, it turns out not that easy. In solaris, I have to modify the hostname in at least 3 files:
- /etc/hostname.[interface name]
- /etc/hosts
- /etc/nodename
Even more for an older solaris versions, I have to modify these also:
- /etc/net/ticlts/hosts
- /etc/net/ticots/hosts
- /etc/net/ticotsord/hosts
- /etc/inet/ipnodes
phuuuh…