Command Execution sequence of sys-unconfig-Linux Enterprise Application-Linux server application information. For details, see the following section. You are familiar with sys-unconfig. It is convenient for new users to use it most. The disadvantage is that you need to change all configurations once and restart the machine. You may have to go to the data center:
1. Back up the current/etc/inet/hosts file to/etc/inet/hosts. save;
2. If the current/etc/vfstab file contains the NFS mount point, copy the file to/etc/vfstab. orig;
3. Restore the default/etc/inet/hosts file;
4. Delete All configured network interface files and/etc/hostname. ××× files;
5. Delete the default domain name in the/etc/defadomain domain file;
6. Restore the time zone of the/etc/TIMEZONE file to PST8PDT;
7. Restore the/etc/nsswitch. conf file to the default value;
8. Delete the host entries in the/etc/net/ti */hosts file;
9. Delete the/etc/inet/netmasks file used by the name service;
10. Delete the/etc/defaultrouter file;
11. Delete the password of the root user in the/etc/shadow file;
12. Delete NIS + and use the/etc/. rootkey file;
13. Delete the/etc/resolv. conf file used by the DNS service;
14. Delete the configuration file required by the LDAP Service:
/Etc/ldap/ldap_client_cache;
/Etc/ldap/ldap_clent_file;
/Etc/ldap/ldap_client_cred;
/Etc/ldap/cachemgr. log
15. regenerate the sshd key.
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