Here is a talk about my work experience. It is a purely flowing article, long and dull.
From last year (2013) March, then did not graduate, entered a network equipment company work, engaged in the development of routing, mainly responsible for the development of the Routing function module. My boss (WMM) is responsible for the main development of the company's routing, before I come in, should be the only routing development, the company's routing system is what he developed. In the area of routing development, it has also been helped by WMM.
Starting from the FreeBSD system learning, I chewed the FreeBSD manual Http://www.freebsd.org/doc/zh_CN. Utf-8/books/handbook/index.html, but there are a lot of things will not be used, so look at the time also skipped. After reading, in fact, the FreeBSD (Unix-like system) is not a lot of understanding, although the previous use of Linux, but I do not know much about Linux, at least for the design concept of Linux is not much understanding, so when the solution to FreeBSD, It's still confused. Say confused, that is really appropriate, when a book opened, a look at the list, it is really scary, so long directory, to see when? Later in the manual, think is dizzy, head like a piece of iron, and then the eye on the barbell like, hard to support AH support Ah, then also really enough pain. Fortunately, I still carry on this kind of hardship more.
Learning a system, I think the first step is to understand what this is a system, what to do, and what the system features. So first went to Baidu a bit FreeBSD system, after some of the data, on the FreeBSD this thing has a certain understanding, came to a conclusion: FreeBSD is a Unix-like operating system, the industry gave the evaluation is "rock-solid", and then very few people know. At least I didn't hear it before, and my classmates never heard of it. I was relying on this so wayward conclusion, into the FreeBSD, also became a FREEDSB (this name to be understood).
Then it is time to really understand the system, in the mirror site of the next FreeBSD ISO, our products are FreeBSD8.1, then FreeBSD8.1 will not be updated soon. It is not easy to find this image, although found, but there are 4 mirrors, I do not know which one to use, respectively, is memstick.img,bootonly.iso,disc1.iso,dvd1.iso four different images. After my study, the use of Disc1.iso mirror, and then borrowed U disk, implicitly opened the FREEDSB mode, imitating the normal installation of the system process, to install. But it was frustrating to find that it was unsuccessful to start without recognition. Then I asked WMM only to know that I had entered the FREEDSB mode. The original FreeBSD ISO ISO is not used to create a U-disk boot image! This is to be scared, how to linux those can be, but why this is not possible? That's when I had some of those spit slots on FreeBSD. But forget it, find it anyway, then continue to install.
After entering the normal installation process, it is like entering another state of egg pain. Sometimes I press the manual to choose some options, sometimes in accordance with the hardware of the case to choose, and sometimes want to follow their own wishes, so grinding Haw installed almost 7, 8 times to really install a FreeBSD system. That's even the first step I've done, ^_^! But happy is only this moment, when you start to find that there is no graphical interface, completely rely on the terminal, t_t. At that time I was holding a keyboard, next to the company's a U industrial computer, on the monitor, looking at the black white in the continuous rolling, feel too thrilling. But think of a little excitement, others think you are very fluid force, in fact, he is a tease, that is, there has been knocking ls,cd,ls,cd ...
Then came the next step, which is some basic configuration. When it comes to configuration, that's the problem. The network is one of the most egg-like pain. The first thing you need to know is that your system isn't online. This problem found, is flustered, can not access the Internet, then how to do it well? Fortunately, I also have a laptop that can surf the internet. For me to know nothing, a little bit of trouble is as thrilling as a roller coaster ride. Since you can not surf the Internet, you need to know to be equipped with IP, and then on the Internet to find how to match IP. With the IP, and then you find that the ping cannot 114.114.114.114 these IPs, and then you know that you are going to have a route. With the route, and then all the IP is ping, then found that ping www.baidu.com, and then found to be equipped with DNS, and then to find where the DNS, and then found the/etc/ resolv.conf file, this file is too important, because the current contact of the UNIX branch of the system is used to match DNS. With a good network, and then happy. Then a reboot, back to find the net again. And then know that it was just after the configuration reboot disappears, so find a way to make the system start with IP and so on. Then you'll know to write some configuration in/etc/rc.conf. The configuration of the entire network is too troublesome, that is to say, but now think of it is very normal, there is no one step can be simplified. Some other configuration, such as FTP, SSH, DHCP and so on, are also done later. In fact, here, you can find that everything is written files.
Later to install software, previously with Linux, has installed software, you can compile the installation from the source code, you can install the next binary files directly, you can use some tools such as Apt-get, Yum and so on to install. But at that time is actually to the official website of the software to install the source, because it feels the official website of things more reliable. and FreeBSD use is ports to install software, give me feel is flying general cool. Find the software you want to install, go to the directory, and Make,make install will take care of everything. Then WMM told me that no matter what software to install to use ports to install, because only the ports inside the software is tested, the software is more secure, and the other compatible with the FreeBSD is better, running is relatively stable, so do not go to the software's official online. If the ports can't find the corresponding software, you can go to FreeBSD's official website to find, if found can download down the installation. Then understand why FreeBSD will be so stable, compared to Linux will find that Linux installation software does not have such specifications, the source is just to provide convenience, many people will still download software to install. On the other hand, FreeBSD's provision of ports means that there is a need for a dedicated organization to maintain all this, thanks to all of FreeBSD's contributors. In contrast to the Linux,linux contributors are relatively not unified organization, and many, so the development of software uncertainty is relatively large, such as security, stability, design concepts. Of course, the openness of Linux allows everyone to contribute to Linux, making Linux the most widely used branch of a successful UNIX branch, which is highly desirable.
Since then, in my continuous learning and use of FreeBSD, in-depth understanding of some of the contents of FreeBSD, but also gradually understand some of FreeBSD design concepts, but also more and more agree and like the system. Speaking of philosophy, I remember two of the ideas that
1. KISS. Keep It Simple Stupid.
2. Everything is A File.
These two concepts are really the same as running through the FreeBSD system.
Personally, the FreeBSD system is simpler than the Linux system I have used. One of the big reasons is the command line. FreeBSD because there is a dedicated organization to maintain all the things, so even the use of command submission is a design style (should say that most of the use of the program is so), so basically use a few commands, and then use other commands, basically do not read the manual can guess the use of commands. And the command on Linux, there are often unexpected surprises, feel that the usage is very strange, or those parameters and options are for the user more convenient to use, but it is this convenience, making the user more difficult to apply, because each command is used in accordance with their own function to design, So the difference between command usage is quite large. For example-a This option, in FreeBSD, this option is the meaning of all, most of the command's-A is to list all the content to be rendered. In Linux, the use of this option is quite varied. In addition, the idea of everything is a file has also made a great contribution to kiss. FreeBSD, should be said to be a UNIX system, in the design of a lot of objects are designed to form a file, the system calls to the user also operation is similar to the operation of the file, such as file, memory, device, network, process and so on. Linux is also inherited Unix, so the difference is not big.
In general, I am more in agreement with the FreeBSD system, or UNIX system. Indeed as an industrial operating system, its stability and security is very good. However, I am now not engaged in the network of work, and now all the platform is CentOS, the contact with FreeBSD has become less. But I hope there will be more opportunities to contact FreeBSD in the future.
I have never used FreeBSD's graphical interface, I don't know what it is. Anyway, I once wanted to pretend, did not install success, then the level is too low, now is the general low bar.
Just the sauce ~
This article is from the "Chhquan" blog, make sure to keep this source http://chhquan.blog.51cto.com/1346841/1588511
Work experience from FreeBSD learning