In Linux, the usrbin directory on the server was accidentally deleted the day before yesterday ~ I have solved the problem today and summarize the solution. System: RedHatEnterpriseLinuxServer631. First, find the RedHat system CD and accidentally delete/usr/bin in Resc Linux. Solution: delete the/usr/bin directory of the server the day before yesterday, at that time, I had a cold sweat ~ I have solved the problem today and summarize the solution. System: Red Hat Enterprise Linux Server 6.3 1. First, find the system CD of Red Hat, enter Rescue mode, and copy the missing/usr/bin directory to the system, this ensures that some basic commands are used. For example, scp Command 2. use the tar command to package the/usr/bin directory on Machine B that is the same as Machine. Then pass scp to machine A, decompress it on machine A, delete the/bin directory copied in Rescue mode, use the passed bin directory, and restart the system, now you can access the system normally. However, the problem is that the software installed in the system needs to be re-compiled and installed.
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.