Articles in SysAdmin
Running Windows Apps on Linux
CrossOver is a commercial variation of Wine freeware – a Windows emulator for Linux. This program allows you to run popular Windows applications under x86-based Unixes, including Linux, FreeBSD, and Solaris. Wine and CrossOver can …
Configuring multi-IP network interfaces
This article explains how to configure a network interface to support virtual IP addresses. This is useful in a cluster environment or in any high-availability service cnfiguration, when you need to ensure that at least …
Handling errors and trapping system calls
In the course of writing a shell script it is important to consider possible error and unexpected interrupts. Let’s say you wrote an interactive script that allows users to archive old files to free up …
Passing shell variables to awk and sed
By default awk and sed do not expand shell or system variables and do not pass their own variables back to the shell. To use shell variables awk and sed statements must be included in …
Solaris performance monitoring
The following is a brief overview of common performance monitoring tools for Solaris, including built-in tools, freeware add-ons, and commercial applications.
Souce: http://www.sunperf.com/perfmontools.html
Built-in Tools
vmstat
The vm in vmstat stands for Virtual Memory, of course. So let us …
Wget examples and scripts
Wget is a command-line Web browser for Unix and Windows. Wget can download Web pages and files; it can submit form data and follow links; it can mirror entire Web sites and make local copies. …
Uninstalling Solaris 10 from a multi-boot system
Boot into one of the operating systems you would like to keep (i.e. Windows, Linux, etc.) and set its partition as “Active”. Reboot your system. If the system boots into the OS of your choice …
Basic Network Configuration Under Solaris
The following document provides a general overview of the network configuration process for Solaris. For a detailed review of Solaris network configuration please see Chapter 4 of the O’Reilly Solaris 8 Administration Guide by Paul …
Multi-booting Windows XP and Solaris 10
When creating a multiboot system with Windows XP and Solaris 10 you need to install Windows XP first. If Windows is already installed, repartition the hard drive to allocate sufficient space for your Solaris installation. …
Create boot block on Solaris disk
To make a Solaris disk bootable you need to install the boot block on the disk. This should be done, for example, after copying the primary boot disk to the secondary disk.
Basic Exceed configuration
The following is a list of steps for basic configuration of Exceed to connect to Unix servers.
Solaris boot disk copy using dd
The following Korn shell script will make a bootable copy of the boot disk on a Solaris system. The script uses dd and requires that the source disk and destination disk have the same geometry.
Command-line backup methods
The following is a brief overview of standard Unix comman-line utilities used for data backup on Solaris systems. Most of the information below is also applicable to other unixoid systems.
Working with ISO images on Solaris
The following two commands will take all data in /home/neal, copy it to the ISO file, and burn the ISO file to a recordable CD.
NetBackup statistics, Part II
This script uses the output of the script in the previous example to calculate yearly backup load for each Veritas NetBackup client.
NetBackup statistics, Part I
The following script will calculate total size of data backups for each Veritas NetBackup client over the past week (or as defined by the “daysago” variable in the script). The final output will be uploaded …
Using rsync to copy files
In the following example we need to make sure that /export/home on server host2 looks exactly like /export/home on host1. Thus, our SOURCE is host1:/export/home and our TARGET is host2:/export/home
There are two ways of using …
If Exceed host window does not come up
If Exceed host selection window doesn’t come up or disappears after a few seconds, check the servers in the xdmcp.txt file for Exceed for a dead xdm process. Restart xdm by running /etc/rc3.d/S90xdm stop and …
Install PHP, Mysql, Apache2 on Solaris 9
A sample procedure for installing PHP, MySQL and Apache2 on Solaris 9.
Apache MySQL PHP Solaris 8 Installation
A sample procedure for installing PHP, MySQL and Apache2 on Solaris 8.
Latest Comments