Squid and MySQL are installed using a sun-released binary installation package that can be found on the Software_companion_x86 cd; Mysql_auth can be found with Google search.
First, install the configuration Squid+mysql
1. Create users and Groups
# Groupadd Squid
# useradd-g squid-d/dev/null-s/bin/false Squid
# Groupadd MySQL
# useradd-g mysql-s/bin/false MySQL
2. Install MySQL
# mount–f Hsfs–o Ro/dev/dsk/c1t0d0p0/cdrom
# cd/cdrom/components/i386/packages
# pkgadd-d./-s/var/spool/pkg Sfwmysql SFWGCMN
# Pkgadd SFWGCMN Sfwmysql
# Chown-r Root/opt/sfw/mysql
# Chgrp-r Mysql/opt/sfw/mysql
# Chown-r Mysql/opt/sfw/mysql/var
#/opt/sfw/mysql/bin/mysql_install_db
#/opt/sfw/mysql/bin/mysqld_safe &
# CP/OPT/SFW/MYSQL/SHARE/MYSQL/MY-MEDIUM.CNF/ETC/MY.CNF
# VI/ETC/MY.CNF
Bind-address = 127.0.0.1
To set the startup script:
# Cp/opt/sfw/mysql/share/mysql/mysql.server/etc/init.d/mysql.server
# Ln/etc/init.d/mysql.server/etc/rc3.d/s79mysql
# Ln/etc/init.d/mysql.server/etc/rc0.d/k00mysql
# Ln/etc/init.d/mysql.server/etc/rc1.d/k00mysql
# Ln/etc/init.d/mysql.server/etc/rc2.d/k00mysql
# Ln/etc/init.d/mysql.server/etc/rcs.d/k00mysql
# chown Root:sys/etc/init.d/mysql.server/etc/rc3.d/s79mysql
# chmod 0744/etc/init.d/mysql.server/etc/rc3.d/s79mysql
Set Root password:
# mysqladmin-u Root Password llzqq