I don't want to comfort myself that today is the first time I have used PC2 for practical competition experience, which has caused various problems, what I want to say is that since I started to do everything I did in the background, it was the first time, so this is definitely not a reason to free myself from blame; what I want to say is that if I work for a company today, I will be able to get out of work tomorrow!
Today, I really can't help Pei ye; I am embarrassed to ask about it.
Since PC2 is used for training today, we have been preparing for the training since last night. Based on my previous experience and deficiencies in PC2 in the lab, last night's preparations focused on the following:
1. How to apply the ranking mechanism of the provincial competition to today's competition (it is obvious that today's competition is not achieved, with the rank of PC2 );
2. How to automatically generate team accounts and randomly generate passwords and import them to pc2. (the difficulty lies in the format of the imported files );
3.504 the data center implements the network restriction without a vro installed (this has been a long struggle );
But last night, only the account and password were automatically generated. The ranking mechanism of the provincial competition was successful on PEI Ye's computer, but it never succeeded on other hosts. (One night delayed by Mr. Pei yesterday)
This morning, I was going to get up early and go on to get 504, because my bed started at half past eight and went straight to 504. As usual, I started two machines and one client, after configuring the server, admin, and so on, I tested some questions. There is no problem. Time: around, I tried to set up a ranking mechanism for a provincial competition, or 404 error. There is still no clue about the network time limit (many people have questions in the Lab). I just watched the switch for half a day and then Baidu.
Next I will start to think about the specific matters of the one o'clock P.M. competition:
1. Configure the client: change the existing PC2 configuration file on the computer to the IP address of the server, and write a C program that opens the normal pc2team and compile it to the desktop;
Problems:
(1). the shortcut of pc2team put in the old brother cannot be opened, and the configuration file of pc2team has permission problems (that is, it cannot be opened );
(2) It seems that several simple steps would take a lot of time to get one of more than 20 computers, and the full brother on Ubuntu had an automatic cleaning program, that is to say, after the above steps are completed, if you re-boot it, you have to re-do it, so I am trying to use the same network transfer method;
(3) enable the host on the podium to directly go to the hard disk protection system. It was the first time I got this stuff (although I 've seen a long tutorial some time ago, don't dare to do anything about it (I don't know much about it first, but I still have a lot of people doing questions. If they share the same story, they can only sit down ),,,
2. server configuration and personnel list and account/password import problems:
Next, Peng Ge asked for a list of contestants in the afternoon, automatically generated the account password, changed the name, and saved it. Baidu imported the account password in the format of half a day. JT (I wiped it, my father! I tried all the formats I knew last night. No wonder they didn't succeed !) Another details: before importing, you must generate a batch of accounts under admin before overwriting the accounts. (I don't know why. If you don't do this, it won't be imported to you !)
I don't know whether the questions in the afternoon are in paper or PDF format. (If they make them copy them in PDF format, I didn't ask. I want to let Peng Ge do it by myself !)
Around, I again went straight to the postgraduate entrance exam dedicated classroom on the first floor to find Dr. Pei, explaining the general situation, mr. Pei said that he would come up to help me around eleven.
At around, after clearing the site, I once again started to change the network. At this time, the client and the server were not configured, and the network restriction problem was not solved. I can say that I have not prepared to return anything, of course, apart from the account and password generated, there are still two hours before the competition starts. (now I have started to mess up, so I am still too lazy, I am thinking: after the meeting, Mr. Pei will come up three times, five times, and two times to solve these problems, and then select another server as the server. It should take more than 10 minutes to solve the problem by adding questions and data. It should be too late)
A few minutes later, Mr. Pei came up and I described all the unsolved problems. First, I began to solve the network restriction problem: after finding the network cable connected to the Internet, unplug it (according to the theory of PEI ye last night: if only the network cable connecting to the Internet is unplugged, then the whole machine room's hosts form a LAN through the switch link, and can be linked to each other, as long as this is the case, the connection to PC2 is okay), but after pulling the network cable, the computers in the IDC cannot Ping each other, after checking the IP addresses of many hosts, Mr. Pei said that these hosts were not routed through one route but two, so ping failed. Half a day, no clue. |
There is not much time. This problem should be put on hold first. To solve the problem of batch configuration on the client, you must start with simultaneous transmission. After configuring the computer on the lecture platform, you are ready to directly upload the data to all the organic machines, click incremental simultaneous transmission (at that time, I didn't understand anything about incremental simultaneous transmission, but it was just a matter of time for simultaneous transmission). I felt no response for a long time, ye Pei exited and switched to the hard disk data co-transmission (at that time, I had to wait for a while, but I didn't notice this, so ye Pei told me later ); it takes more than two hours to complete the transfer. Isn't it difficult! No matter whether it's time or not, force the simultaneous transfer to end. The last trick is the most undesirable one:
Configure all the machines that need to be used one by one!
At first, I thought I would use the computer on the podium as the server, so I started to set the IP address of the PC2 configuration file. During this process, although the Internet network cable was connected, however, although 504 of computers are not connected to the Internet, the IP addresses of machines are automatically allocated, and ifconfig does not display the IP addresses directly! The workload doubled! Pei ye configured the network to access the Internet. After the network is unplugged, he can ping other servers in the lab.
Therefore, ye Pei and I have the following division of labor:
Pei Ye is responsible for configuring the network, and I am responsible for configuring the PC2 client. In this way, I can get all the machines that can be used in the first few lines! (At this time, the IP address is the IP address of the computer on the podium. It's about)
The training team members have arrived one after another, and the preparation will be completed in 10 minutes. At this time, the teacher also came, and the server was not configured yet. When I began to configure the hosts on the podium, there was a small problem, a fatal problem. I also encountered this problem when I was downstairs:
The items in the USB flash drive cannot be copied to the computer. No matter which USB flash drive is used, an error occurs when copying this file. In the past, I had to restart a few hosts, So I restarted it, and it was useless!
Pei ye suspected it was a file problem (but I don't think so. I used to think so too much and tried it. I can't change the file source ), I can't copy it downstairs.
At this time, the teacher has been here for more than 504 minutes, and the competition team has also arrived. At this time, there are more than 50 at, and nothing has been done on the server: the account and password have not been imported, the question data has not been imported. Peng Ge said that he wants to put the question on the website for them to download. The account and password have not been printed and distributed out ,,,,,,,,
From the tone of Mr. Pei, I have obviously felt that he was also starting to be a little confused and a little excited. This made me more anxious, but Mr. Pei is a good-tempered person.
If I were Mr. Pei, I would have scolded him for having done nothing and had to mess with myself all day! (What I do now is actually irrelevant to ye Pei. These are my tasks, but I still have been bothering him.) Think about these, I feel sorry, ye Pei, I feel completely unconfident in myself.
Ah... Let's take a look at the people sitting there waiting for the competition. Although everyone didn't say anything, the teacher was just patiently sitting behind, but this made me feel quite pressure: I am wasting everyone's time! Ah...
The pressure on a PC2 has reached this point. If the competition is held next year, I can imagine the pressure.
At this time, I began to doubt me. I even felt that I was not suitable for the background at all. I did not have the meticulous mind and mature and stable control capabilities at all. I was really not suitable! Quit. What should I say to teacher Xiaohong! Ah... At this time, I am almost self-satisfied.
At that moment, all the pictures above were shown in my mind; but now I have no time to think about it. First, I have finished the game today, I don't want to do it anymore. Let's talk about it today!
So I re-find a machine and re-Configure the server. I went to one machine and changed the IP address of the client configuration file. The modification was over 10 minutes;
At this time, I have been suffering from noisy stomachs since noon, and I have never heard of them again!
Quickly solve the problem and start adding a question to the admin: it should have been more than half past one, and the competition has not yet started yet. Everyone is in a hurry.
During the process of data import, there were still a lot of episodes. They were all hungry. After breakfast, ye Pei and I were hungry in the city, and my mind was getting worse. In the process of configuring the server, either less judge or less language, or the rank web service was provided, so I had to smile. After the configuration is complete, the topic will be linked to the rank service for download. Now, there are almost two points. Peng GE will go down to print the account and password list and prepare to send it to you, the first time I printed the missing team, he was confused? : <
After a few login failures are solved, start is a strong point, and the competition has finally started! Two o'clock P.M! It was an hour later than expected, but Peng Ge said it would only take four hours in the first game.
Next there are various data problems, which can be changed and re-determined. (These are the details. The game has started and everything runs normally.) view the code, which of the following questions makes Peng Ge fail to answer? Now I am very tired and very sleepy...
I almost fell asleep in my chair. I slept a little late last night. I was confused about the problem that I couldn't log on to the client. Then I watched Peng's busy reading the code and trying again.
After sitting for more than 20 minutes, Mr. Pei said he wanted to get some food. I told him to bring me a box of noodles. After ten minutes, Mr. Pei brought me two meat clips, I rushed to the fourth floor and swallowed up a piece of cake in the way. To be honest, although Russia was unable to eat, the second one threw a mouthful and threw it away, after drinking a bottle of water in one breath, I continued to return to 504 until the competition was over and there was no major problem.
The competition ended at six o'clock P.M;
At that time, I was still struggling with the question: how to export all the source code?
This feature was found during the competition today: Not found.
All kinds of Baidu, unsuccessful.
Six o'clock P.M.: bike back to the dormitory to get some money; go to the corridor to eat a bowl of rice, can not eat.
Back to 504 at, and asked Quan Ge, Ma said he had never exported the source code. No way, he started to manually copy the source code and woke up to save the category, after copying more than a dozen copies, I can no longer stand the repetitive operations of such torture people. I thought of a good idea to save all the original PC2 configuration files that I used today, in the future, it will take one minute to check the data code and anything about the Server Admin judge. You can check everything. wit! That's it.
From half past seven to, Mr. Pei and I checked the ranking mechanism configuration of the provincial competition again: whether the computer was successful or not;
I re-tried the re-configuration of the same transfer effect with three hosts. It takes 16 hours to complete! Failed ..
The discussion decided to directly add the shortcut to the protection directory of the purge program, so that you don't have to get it once every time you start the system, wait until the four matches are completed and find time to get the machine in the second round.
This afternoon and evening, ye Pei has been at 504. He didn't eat at night, saying that he was going to eat at night;, leaving 504, ye Pei said he wouldn't go to the north gate to eat, okay. He bought something in the commissary, And I snatched the money. I went to the North Gate to buy something for him to send it to him. He also said that he could not eat anything. Okay, I said I 'd like to invite you to dinner another day.
Summary:
1. In the future, we should try to arrange all that we can think of in advance as early as possible: clients, servers, and so on;
2. pay more attention to the details and clarify the requirements as soon as possible: for example, whether the question uses paper or PDF? How can I download a PDF file on my website? In addition, you should print out the account and password in advance;
3. Be sure to calmly think about the problem. Don't be confused when you encounter the problem, don't rely on your predecessors too much, and be sure to understand it if time permits.
I have not encountered any problems I have summarized when I used PC2 today. This is a little bit of progress. I hope I will not encounter any more details I have summarized today.
In the next three days, I have to do the three games on my own. Unless there are any major problems, I can no longer bother Pei ye.
Well, let's do it first. It may seem a bit messy today, but some details are missing. Remember to add it. Good night!
PC2 diary-the first day of my career