In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Here is just to post the three scripts used in the installation. Please download the attachment for the detailed installation documents.
Service_close.sh
Description: shut down unnecessary services after installing the system
#! / bin/bash
# description: the script is used to close some unnecessary services
# by lineqi
# 2014-06-28
Chkconfig-level 2345 NetworkManager off
Service NetworkManager stop
Chkconfig-level 2345 cups off
Service cups stop
Chkconfig-level 2345 ip6tables off
Service ip6tables stop
Chkconfig-level 345 netfs off
Service netfs stop
Chkconfig-level 345 nfslock off
Service nfslock stop
Chkconfig-level 2345 postfix off
Service postfix stop
Chkconfig-level 2345 iptables off
Service iptables stop
Set_userinfo.sh
Description: set up oracle user information and installation directory
#! / bin/bash
# description:this script used to create an oracle groups user user environment settings the installation directory
# by lineqi
# 2014-07-26
# Add oracle groups
Groupadd-g 501 oinstall
Groupadd-g 502 dba
Groupadd-g 503 oper
# Add oracle user and Seting an oracle user password
Useradd-u 502-g oinstall-G dba,oper oracle;echo "oracle" | passwd-- stdin oracle
# Seting an oracle user password
# passwd oracle/home/oracle/.bash_profile/etc/security/limits.conf/etc/pam.d/login/etc/sysctl.conf/dev/null 2 > & 1
# Add the following contents to / etc/profile
Cat > > / etc/profile
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.