In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
There are two methods:
Method 1: modify environment variables
Implementation method of automatic completion (key combination): Esc +\
Implementation steps:
Step 1: add the following to the / etc/profile (all users) or $HOME/.profile (specific users) files:
Export EDITOR=vi
Step 2: if you want to take effect immediately after modification, you need to do the following:
Export EDITOR=vi or. / etc/profile or. ~ /. Profile or. $HOME/.profile or user log in again
Method 2: install bash under AIX
Implementation method of automatic completion (key combination): tab key
Implementation steps:
Step 1: check to see if bash is installed, and if not, bash is not installed:
# rpm-qa | grep bash
Step 2: download bash for AIX
Download address: http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html#B
Find the corresponding AIX version of bash according to the version of your AIX system. I use 6. 1, so my filename is: bash-4.3.30-1.aix6.1.ppc.rpm
Step 3: install bash
# rpm-ivh bash-4.3.30-1.aix6.1.ppc.rpm
Step 4: check after installation is complete
# rpm-qa | grep bash
Bash-4.3.30-1
Step 5: replace the user shell
Suggested method: modify passwd file
# vi / etc/passwd
Change the default shell for users who need to use bash from / usr/bin/ksh to / usr/bin/bash.
After modification, you will encounter the problem that ftp cannot log in. The solution:
1: confirm whether the dependency inetd is enabled
I want to know that c-s inetdSubsystem Group PID Status inetd tcpip 3604486 active
2: check whether the ftp service is enabled
C-t ftpService Command Arguments Status ftp / usr/sbin/ftpd ftpd active
The following steps are involved in the user authentication process in ftp login
1:/etc/security/passwd. Have been configured in the
# No users appear in 2:/etc/ftpusers
3:etc/security/login.cfg login must be configured in shell
Usw: shells = / bin/sh,/bin/bsh,/bin/csh,/bin/ksh,/bin/tsh,/bin/ksh93,/usr/bin/sh,/usr/bin/bsh,/usr/bin/csh,/usr/bin/ksh,/usr/bin/tsh,/usr/bin/ksh93,/usr/bin/rksh,/usr/bin/rksh93,/usr/sbin/uucp/uucico,/usr/sbin/sliplogin,/usr/sbin/snappd,/usr/bin/bash
This makes the problem clear: the day before yesterday, I downloaded and installed bash, and updated the login shell of root to bash.
So after adding [, / usr/bin/bash] to etc/security/login.cfg, you can log in.
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.