Solaris Preliminary settings

Source: Internet
Author: User
Tags ssh

1. Configure root user SSH login

# Vi/etc/ssh/sshd_config

ListenAddress 192.168.0.10

Permitrootlogin Yes

# >/ETC/MOTD

# Vi/etc/default/init

Lang=zh

2. Canceling several timeout that affect system startup

# VI/ETC/BOOTRC

Set Boot_timeout 0

# vi/boot/solaris/bootenv.rc

SetProp Auto-boot-timeout 0

SetProp boottimeout ' 0 '

# vi/boot/solaris/strap.rc

Options timeout=0

3. Cancel Automatic shutdown

# vi/etc/power.conf

#autoshutdown 9:00 9:00 Default

4. Setting the user's environment variable

# VI/ETC/PASSWD

Root:x:0:1:super-user:/:/usr/bin/bash

# VI/.BASHRC

Ps1= ' [\u@\h \w]\$ '

Path= $PATH:/bin:/sbin:/usr/bin:/usr/ucb:/usr/sbin:/etc:/usr/local/bin:/usr/local/sbin:/usr/ccs/bin:/usr/sfw/ Bin

Manpath= $MANPATH:/usr/man:/usr/local/man:/opt/sfw/man

Ld_library_path=/usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/sfw/lib:

/usr/local/lib:/usr/local/ssl/lib

cc=gcc

Export PS1 PATH manpath ld_library_path CC

Export Editor=vim

Umask 022

tmout=1800

# Vi. Bash_profile

If [f ~/.BASHRC]; Then

. ~/.bashrc

Fi

5. Installing common software packages

Top tool:

# gzip-d Top-3.5beta12.5-sol9-intel-local.gz

# pkgadd-d Top-3.5beta12.5-sol9-intel-local

Vim tool:

# gzip-d Ncurses-5.3-sol9-intel-local.gz

# pkgadd-d Ncurses-5.3-sol9-intel-local

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.