Excited day

zhaozj2021-02-12  147

After the depression of the day before yesterday, after the effort yesterday, finally, I dally, I dally, I was successfully installed, and MONO was also fully installed and debugged! Looking at those ASP.NET test programs successfully run on Linux, the mood is really excited! ! !

Installing Linux really a big discount, first use colleagues Redhat Linux 8 to install half of the failure on the virtual machine, failure tips do not understand the meaning. Then, I applied for a test computer to the company (in fact, an old computer is proposed from the warehouse :- (), ready to install Linux to test the .NET cross-platform. The result is also installed to half. Any movement, the mouse and keyboard do not respond completely, the hard disk and the optical drive indicator are not flashing, forcibly restarting, enter the BIOS settings, put all the settings carefully, remove the viral protection function of the boot area, hard disk mode It is also changed to LBA. Come, rely on! Dinner ~% * - # ·! ... Sickness is not the reasons for mouse and keyboard, because this mouse and keyboard is too old, even the cable is getting out, um, hurry New, then, 呜 ... Well, it seems that it should be the reasons why it is, because it is always copying the file to half, hurry to download RedHat Linux9, after another afternoon, finally map three discs. After the file is downloaded! OK, apply to the company's Enterprise Management Department to burn the disc! The people of the enterprise will decompress the disc mapping file (.ISO) after decompression, and the result cannot be directly launched by the optical drive, no floppy drive, depressed, reconciled! After dozens of minutes, it is finally installed, all the way is very smooth, prompt for the second disk, soon, die !!!! - ~ # · ¥% ... `* · ...

It seems that it is very late, and the stomach is a little bit of sound, forget it, go home! Sitting in Jiawang and classmates, waiting for eating, oh ~ really slow ~~~ Forget it, since it comes to Jiawang to do a good long, the air is not very good, no mm look, then think of the couple Linux, hey, the heart is more depressed ...

Go home, hot! Really hot! Tomorrow is a pan to buy iron, you have to buy an air conditioner! Use my notebook installation, advanced the media test, even the old light drove after a long pain, everything OK, after more than an hour, the waiting, actually installed successfully! Hahaha ... cool! GNOME's graphical interface is really beautiful ... 狠,, 了 了 了 了 了 了 了 晚 了 了 了 了 了 了 了 晚 了 了 了 了 了 了 晚 晚 班 班 班 班 班 班 班 班 班

Going to work, set a good network card, even the work computer, and copy the Mono of me on the Win2000 system through Samba to Linux, ah, everything is so simple (of course, you must first configure Samba in Linux Server), cool! Well, how can I install me this pile of rpm? Type in the terminal: RPM, huh, when the cat also hits the death of death, according to the help tips, execute this command to install all MONO RPM packages: # rpm -u --nodeps * .rpm -i: Upgrade the package, even if the package is not installed. -V: Indicates that "#" indicates the installation progress during installation. -H: Display detailed details of the installation. -Nodeps: This parameter means that when you install this software, you must install a package side can be installed normally, otherwise the message will appear. If you do not want to have an error message, you can use this parameter to force installation. Ok, installation is complete, see if it is used first. With a lightweight ASP.NET server (Xsp.exe) in the XSP installation package, the default installation location is: /usr/bin/xsp.exe, can be performed by the following command: # mono / usr / bin / xsp. EXE If you want to see the detailed parameters of the server, do the following: #mono /usr/bin/xsp.exe --help

This installation package also has some examples of ASP.NET and Web Service, which default installation location in: / usr / share / doc / xsp / test. Using the following command can be easily running these DEMO programs: # mono /usr/bin/xsp.exe --root / usr / share / doc / xsp / test The feedback is as follows: registering application: host: any port: Any Virtual Path: / Physical Path: / usr / share / doc / xsp / test Listening on address: 0.0.0.0 root directory: / usr / share / doc / xsp / test hit return to stop the server. This When the ASP.NET server is started, if the service will be terminated again (this option can be changed), then it opens the browser and enter http://127.0.0.1:8080 in the address bar, You should be able to see the ASP.NET running smoothly!

Oh, after the depression and debugging of these two days, I just exposed to Linux rookie, and finally the initial experience of Linux .Net = mono is exudential.

Redhat Linux 9 official version download (3 disc): http://www.ayxz.com/down.asp? Id = 170 & no = 1 http://www.ayxz.com/down.asp? Id = 170 & no = 2HTTP: / /www.ayxz.com/down.asp?id=170&no=3

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

New Post(0)