The installation of MySQL5 In the Solaris operating system is based on the official MySQL5.1 Reference Manual section 2.7 "Install MySQL in other Unix-like systems" steps, and the official information is reliable, sort it out for easy reference.
Unix:$ Uname-SunOS fs-cluster1 5.8 Generic_108528-13 sun4u iSCSI SUNW, Sun-Fire-280R
MySQL:Mysql-5.0.45-solaris8-sparc-64bit.tar.gz
1. Add a logon user and group for mysqld:
# Groupadd mysql
# Useradd-d/opt/my
Solaris loads the ISO virtual optical drive file and loads the ISO virtual optical drive file www.2cto.com 1. adds a device file # lofiadm-/... /XXX. iso/dev/lofi/1 # lofiadmBlock Device File/dev/lofi/1 /... /XXX. iso 2. mount this device # mount-F hsfs/dev/lofi/1/mnt uninstall ISO file 1, # umount/mnt note: uninstall the file system. 2. lofiadm-d/dev/lofi/1. Note: delete the device created by lofiadm to view the lofiadm device information: # If lofia
This problem has gradually become clearer, and it was really difficult to get started. Now let's record it and forget it.
To sum up, you need to understand the encoding supported by the system, user environment variables Lang, and securecrt Character Set decoding options.
1. First check the Chinese characters supported by Solaris.
bash-3.00$ cd /usr/dt/app-defaults/bash-3.00$ lltotal 24drwxr-xr-x 9 root bin 512 Aug 6 2009 .drwxr-xr-x
Http://blog.csdn.net/Borenbao/archive/2007/02/05/1502780.aspx
This article mainly describes how to use pkgadd to read and install the package program on Solaris 2.5, 2.6, and 7.In AnswerBook 2, we will discuss the package process in detail.Describes how to use package.Note: In some of the following steps, you must have the root privilege on your machine to use it.** Select your softwareFind the original program code of the software and download it. R
During field work, large files (larger than 8 GB) in the Solaris system cannot be tar, especially when the cold backup of the database is larger than 8 GB of data files, the database backup fails.
First, for example, to back up a data file larger than 8 GB to a tape, you must change tar CVF/dev/RMT/0 to tar cvfe/dev/RMT/0, add an uppercase letter e to support operations on files larger than 8 GB tar.
2. Download The tar-1.13.19-sol8-sparc-local.gz
The directories or files displayed after the default LS is not colored in Solaris, and if you want to make it look like Linux, you need the following steps
First, go to www.sunfreeware.com download coreutils-4.5.4-sol9-sparc-local.gz
Second, the following 10 steps to complete
1. Color output is a feature of the gun version of LS command, so you have to get this version first, you can download sunfreeware.com here.
2. Install the package using the
Solaris has its own MySQL server, a lot of trouble. When used, only a small configuration can be done.
1. Login system with root user, enter/usr/sfw/bin/mysql_install_db in terminal
2. Create MySQL user and group:
# Groupadd MySQL
# useradd-g MySQL MySQL
# Chgrp-r Mysql/var/mysql
# Chmod-r 770/var/mysql
# INSTALLF sunwmysqlr/var/mysql d 770 root MySQL
3. Copy the MySQL configuration file to the location you just made
# CP/USR/SFW/SHARE/MYSQL/
Solaris:
How to add extra disk and increase ZFS file system spaces
1:request new disk from Storage2:scan for the new disk3:verify the new disk4:lable the new disk5:add the new disk to ZFS pool6:extend the file system
-------
1:once The new disk is provisioned, log in to the global zone and run the following command as root user:
Cfgadm-al
2:verify the new disk
echo | Format | grep Where the You'll be the disk name
3:lable the new disk:FormatYou'll be
SAR is an important performance detection command under Solaris, and familiarity with this command can detect system performance in a timely manner, and is helpful for system management.
Use the SAR command to perform the following tasks:
Organize and view data about system activity.
Access system activity data based on special requests.
Generate automatic reports to measure and monitor system performance and generate special request reports to identi
.
Sometimes the system administrator must modify the launch shell script to start a new service.
(ii) System operating level
1. Operation Level Description
There are 8 system run levels in the Solaris 2.x environment, involving 4 levels:
(1) Operation Level 3
Run Level 3 is full multiuser mode. This is the default run level for the system and is also the default state of the system all system processing is performed, file resources are available
configure the IP address of the RAC and use the DHCP service to assign IPOracle official recommended Gns+scan method, you can hide the cluster nodes of the IP, the client only through a specific name to access the cluster, do not need to ignore the cluster node increase or decrease or IP changes, but still need to rely on DNS and DHCP services, the client also needs to set a specific DNS address, Multiple points of failure in the actual production environment is not useful.Thus there is a most
with during transmission.
3. Another purpose of Security Authentication Encryption is to serve as a personal identity, and the user's key can be used as the identity for security authentication. SSL uses public key encryption technology (RSA) as the encrypted communication protocol between the client and the server when transmitting confidential data.
OpenSSL Overview
Currently, one of the most popular Authentication servers is the
A bash vulnerability exists in the Sun Solaris Low version To resolve the issue by uninstalling or upgrading.1, all the PKG installation package:HTTP://MIRROR.OPENCSW.ORG/OPENCSW/ALLPKGS/2, download and install: #gunzip bash-4.3.33,rev=2015.02.15-sunos5.10-sparc-csw.pkg.gz#pkgadd-d bash-4.3.33,rev=2015.02.15-sunos5.10-sparc-csw.pkg The following packages is available:1 cswcas-etcshells cas_etcshells-class action Script Etcshells (All) 1.49,rev=2013.08
Original linkhttp://youlvconglin.blog.163.com/blog/static/52320420106243857254/Telnet to Linux and Solaris using the graphical interface, first to open the XDMCP service on the server and use Xmanager connection under WindowsUnder Ubuntu, the client is also installed by default, opening the [Application]-[internet]-[Terminal Services Client (Terminal Server)] at one time, or entering tsclient at the command line, The protocol option in the General tab
1. Shutdown Command
Init 0 for hardware maintenanceInit 5 shutdown system and power supplyInit 1 into admin stateInit 6 stops and restarts the operating systemInit S enters the admin state and all file systems are availableInit 2 enters the first multiuser stateInit 3 enters the first two multiuser stateInit 4 enters User defined state
2. Command line supports smart tab completion
Command-Line Input: Bash (Solaris defaults to bash software shut
5 system Maintenance
5.1 Solaris System
Involved Servers Account1 (218.29.0.239), Account2 (218.29.0.240), ORADB1 (218.29.0.244), ORADB2 (218.29.0.245)
5. 1. 1 System Overview
1. Operating system basic information: UNAME-A will display the operating system name, hostname, operating system version information, operating system version information, hardware type, CPU type, platform information.
2. Kernel Information: Modify the/etc/system file to change
Absrtact: It is quite simple to install a virtual root-environment Apache tree on Linux. This example uses the red Hat 6.* and the Apache 1.3.12. It also contains the PHP4 (as an Apache module) and the installation of PERL5 on the directory tree where the virtual root is being virtualized. In addition, MOD-SSL and Mod-perl are installed.
Introduced
I have used the CERN httpd to install and use a Web server in a virtual root environment. Creating a virtual root environment for a Web server has
promptSun's operating system has a boot-prom state prior to entering the Solaris operating system or system startup. The way to enter this state is to press the Stop+a on the keyboard at the same time, if there is no stop this function key (PC keyboard), you can use the Ctrl+break key to enter. If you are in a boot-prom state, at the OK prompt and your Solaris operating system is still running, you can use
The Solaris underlying network configuration commands are recorded as follows:
1. Configure SSH to allow root login
Vi/etc/sshd/sshd_config
Permitrootlogin Yes
Reboot SSH Service
Svcadm Restart SSH
2. Network configuration
1 Configure IP address and host name
# vi/etc/hosts
#
:: 1 localhost 127.0.0.1 localhost 192.168.50.200 vmtest loghost
2) Configure the host name
# Cat/etc/nodename
Vmtest
3) Configure the subnet mask
# Cat/etc/netmas
1. System Environment Preparation
A. Change the system shell to bash because the system default shell is not easy to use.
# which bash
Usr/bin/bash
# usermod-s/usr/bin/bash Root
B. Create a System. Profile file:
# Cp/etc/skel/local.profile/.profile
C. Add the following in the. profile file
Path=/usr/bin:/usr/local/bin:/usr/ucb:/etc:/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/opt/csw/bin:.
Export PATH
Export ps1= '/u:/w# '
D. Install the following toolkit from the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.