Migrate from Linux to FreeBSD

xiaoxiao2021-03-06  37

FreeBSD is the same as a variety of Linux distributions, is a free UNIX class operating system. Since FreeBSD is launched at Linux, there is less articles for FreeBSD in China, and because some coal is irresponsible to help, Linux is exaggerated and deactivated. In fact, many big websites are using FreeBSD, such as Yahoo, and even include Microsoft's Hotmail (Microsoft acquired Hotmail for 4 years, but until November Microsoft announced that Hotmail migrates to Windows / IIS, and now the hotmail host group is still Including FreeBSD Boxes, visible Microsoft is not really relieved for Windows. This fact also proves that freeBSD leads to the stability of it) and so on. FreeBSD is only a unique version compared to Linux all kinds of disorder, and FreeBSD is concerned about the stability, performance, and quality of the operating system, suitable for the operating system of the server. Of course, for the selection of FreeBSD or some Linux release as an operating system, different people must have different preferences, but the translator believes that FreeBSD is better than Linux, of course, if the development cost is not considered, only the development cost is not considered Consider operating efficiency, farther than Windows. There are many reasons, if there is a chance, I will mention it in the future article. It should be noted that the translator does not believe that the free operating system camp in the last or two years can decide the high-rise and other commercial system camps, because the design concept of their operating system has a difference. I really like the operation of the command line, however, X Window's efficiency is difficult to exceed Windows in the graphical interface, because X is running graphical interface in user mode, and Windows runs in core mode, this actual The Unix type operating system has caused the innate shortcomings in the graphical interface. Moreover, because Microsoft's products are to sell money, it will provide customers with better service in order to maintain their market position, and the free UNIX operating system is more difficult, and it is more demanding for users. high. Here I don't want to give an exact suggestion. If the desktop operating system should choose what, the server operating system should choose what, everything is from the actual situation. Everyone should pay attention to this fact: The security of the Windows server maintained by the professionally does not necessarily, the security of non-professionals maintained by non-professional personnel is definitely unacceptable. While attacking Nimda, please note that Microsoft has introduced a preventive patch in the first half of Nimda. * NIX is also very embarrassed, and the same, they will also launch patch in time. Therefore, the security problem of most servers is due to the negligence of the administrator. Before selecting an operating system, it is best to think first: What configuration is most beneficial to you, consider the overall cost (TCO), not just the price of the operating system. At present, many websites use, very popular Windows 2000 Apache PHP MySQL combinations actually sacrificed the advantages of the IIS development cycle short and Apache UNIX combination relatively easy to customize, and it can be described as a bamboo basket. This article is more objectively compared to FreeBSD and Linux, which is worth reading, so I decided to introduce it to the domestic readers.

In short, Think Different decided to choose something, it is best to try it first, especially those similar products. Introduction: Even if it is a business information technician that does not touch, it has also heard of Linux. Some people may have used, or it is using it, the reason is a five flowers, some are just to see those who are boasting it is not the truth. However, GNU / Linux is not the only "Free" UNIX class operating system available. Freebsd and its cockroach, OpenBSD and NetBSD are all commercial UNIX version - backeley Software Distribution Free branch products. This article allows you to learn more about FreeBSD and help you make a potential migration process more easily. Unlike Linux, the GPL authorization used, the operating system of the BSD family uses the authorization of the BSD style. In one sentence, the difference between the two authorizations is that any derivative of the GPL requires the source code is also public, and the GPL authorization is used, and the BSD authorization does not have this request. FreeBSD has a certain difference between the work mode of the main Linux release. This article will tell you that I think the gain when I switch my desktop operating system by Linux to FreeBSD. Of course, some people will insist on this point: Linux refers only to the kernel of the operating system, not something else. In your Red Hat or Debian scorpion, the application used daily is provided by the corresponding release. FreeBSD includes the operating system kernel and the basic applications in the entire operating system, such as copying, mobile files, and more. The difference between this difference is that Linux is made from different releases, such as Mandrake, SUSE, Debian, and Slackware. Anyone who uses Mandrake and Debian will tell you how much the world of these two sets of releases is. Instead, only one freebsd, my freebsd is exactly the same, as long as their version is the same. The most important Linux release versions of the three in the three, Red Hat, Mandrake, and SUSE use the RPM Installation Package Manager. RPM processing installation, upgrade, uninstall, and checks the application dependencies installed on these operating systems. Although the error of the dependency before the installer, RPM left more than what we expected. For example, it cannot automatically download other RPM it needs. I know that at least 3 projects tried to solve this problem, Urpmi, Debian's APT-GET, of course, comes with a "only debian" characteristics, and is a rpm and APT-GET hybrid. So, unless you plan to use the above method, you will have to manually find it, download the required RPM. Is it easy to listen? You will know how serious things are you only if you use rpm to install GNOME or upgrade Xfree. Moreover, even if you find the right RPM, if they are designed for suse, and you run Red Hat, then your trouble class is big. There are some differences in each Linux release, and the biggest difference between them is the structure of the file system. I am sure that most people have heard of SUSE put KDE to / OPT, while Red Hat is placed in the / usr folder. Worse, RPM cannot identify programs compiled from the source code. So if you have the latest compilation programs, RPM can't even know their existence. FreeBSD uses "package" to install, uninstall, and upgrade applications. The 'pkg_add' command is used to install a package that you download to your computer manually. You can also use the '-r' switch to get it automatically get from the Internet, of course, including everything dependent on this package.

However, the true beauty of the FreeBSD package is "Ports" tree. The connection tree is the inheritance relationship between the application included infreebsd. Each folder contains Makefile, and allows specific applications to properly run the required patches on FreeBSD. For example, if I want to install the Apache web server, I need to do just the CD to / usr / ports / www / apache folder, then run 'make && make install', and then go to the snack solder. If I have a computer enough computer, I have a sufficiently big Internet connection. When I came back, the Apache source code download, patch, compilation, and installation were definitely finished. The connection point can also handle those procedures dependent on Apache, no matter where I use the connection point tree installation, manually compile, or by installing the binary package that has been compiled. The connection point can find what it needs via $ PATH. Another difference between Linux and FreeBSD is that for FreeBSD, you installed the connection point or package 99% will be placed in / usr / local, and sometimes / usr on Linux is sometimes / OPT. This may be just a small difference, but you can at least know that your program is installed to / usr / local, rather than spreading into all places of the file system. FreeBSD system uses CVSUP to keep it the latest. Once you have established 'sup-file', CVSUP will compare your local system and CVSUP server and download those modified things. You can use it to make sure your local connection dot tree and FreeBSD source code are the latest. Unlike Linux, Linux typically only downloads and variations in the kernel. With CVSUP, you can easily download the source code for the entire FreeBSD operating system. The main reason for doing this is that it makes freebsd to upgrade from a version to another process change. After CVSUP, you can compile the entire operating system with Make World, or compile new operating system kernels. These are very simple. There is also a difference in the way the partition is handled. Linux divides a hard disk into different partitions, in which some also include logical separation. We often say that the partition is called a piece in FreeBSD, and there is no piece to include one or more BSD points. The BSD partition can be found in / etc / fstab. Perhaps the next biggest difference in Linux and FreeBSD is the basic idea of ​​operating system design. Linux emphasizes the latest operating system features and drivers (such as NVIDIA graphics card drivers that do not open source). FreeBSD is conserved in these respects. They like to pass the time test and tested things, are very close to the latest features. They tend to wait for the primary bug being corrected. For desktop operating systems, if you use the latest hardware, pursue the latest drivers, or those more cool features, conservative is a problem with FreeBSD. However, in the server, you know more stable code. Also, do you put a piece of $ 200's display card to your server does not include the monitor? Another difference is the content of the default installation. If you accept SUSE's default installation option, then you will at least install 1GB software. FreeBSD is just installing the most basic system (note, I know you will tell SUSE just install the 'basic system', but I am talking about 'default' installation). He brings you the most nature, and you can install any of more than 4,000 applications in the future. Almost all procedures running in Linux have been transplanted, and they can run in FreeBSD. The only difference is that in Linux, the application is either "default", either, unless you use Debian, you must manually download them. .

转载请注明原文地址:https://www.9cbs.com/read-73262.html

New Post(0)