In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to install MIC2 in linux compilation, which is very detailed and has a certain reference value. Friends who are interested must finish reading it!
Install MIC2 on Ubuntu8.10 and 9.04
◆ Note the installation of 1:Ubuntu8.10 is the smoothest, but the Ubuntu community is no longer maintaining version 8.10, which means that the version of the package downloaded using apt-get has been sealed, no new packages are available, and the download link for 8.10 can no longer be found on A Tu's page.
◆ Note 2:MIC2 cannot be installed and used on Atu version 8.04, OS needs to be reinstalled to use version 8.04. Affects the moblin-image-creator command.
Sqlite is used, version 3.6.10-1, bug exists and needs to be upgraded or downgraded. If you use it directly in Synaptic's system tools, many other software package versions will be associated, and version matching will not pass, and this method is not recommended. Sqlite3.6.10-1 will cause yum download problems: moblin-image-creator will report:
Unable to create image: Unable to download from repo: near "release": syntax error
If there is a problem with the compilation of mic2, it means that some packages have not been downloaded. Because the description of MIC2 is not detailed enough, it is difficult to locate which package is missing. If this happens, you can install clutter first. When clutter is successfully installed, all the packages required for MIC2 linux compilation will be downloaded. If it is Atu 9.04, it may be caused by python2.6.
For Ubuntu8.10, after installing MIC2, you can use it normally. For Ubuntu9.04, execute moblin-image-creator to download rpm from the moblin community and make installation media, which is a problem. You can refer to the following processing:
Method 1:
Step1:
Do not use git clone git://git.moblin.org/moblin-image-creator-2, use the tool specially prepared for ubuntu8.10 under repo.moblin.org to download mic2-0.7.tar.gz. Can be compiled and passed.
Step2:
You can download the version of sqlite3.5.9-x, compile and install linux, and then point the link of the related sqlite in / usr/bin and / usr/lib to our newly installed version. This allows you to download the rpm package. I used the sqlite3.5.9-6 version.
Step3:
If there is an error of UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-6: ordinal not in range (128) in running moblin-image-creator, it is estimated to be a font encode problem, which can be solved simply by changing the language of the system to English. It can also be handled by specifying the current character set through export LANG=en_US.utf8 before executing the command.
Method 2:
Step1:
Update sqlite3, including libsqlite3
Step2:
Change phython from version 2.6 to version 2.5, look for the location of the relevant link file in / usr/share, / usr/bin, / usr/lib, * *, and point the link to version 2.6 to version 2.5.
Step3:
Git clone git://git.moblin.org/moblin-image-creator-2 can be compiled successfully and run normally, and if UnicodeEncodeError occurs, the processing method is the same as step 3 of method 1.
Install MIC2 on Fedora9 and 10
At first, F10 was installed on the old P4 machine, but the old graphics card did not support it. Later, it was installed on the new machine and ati graphics card was used. As a result, it was too new to support it. If there is a display problem during the installation of fedora 10, it means that the video card driver is not suitable, such as the old video card and the too new video card, you can press tab in the grub-like menu when you install it, and then add linux to compile xdriver=vesa in the environment selection, indicating that you can install a special driver after using fedora's vesa, a general-purpose video card driver.
For installation steps, please read / installation at the same time. Install MIC2 according to the documented steps. If we are in order to make moblin-image-creator work properly, we need to make sure that the system has installed pykickstart. The moblin website can download src, but it is more convenient to get it directly through yum. You may also need to install python-iniparse.
My F10, which uses Chinese as the system language, is similar to Atu 9.04. it appears: File "/ usr/share/yum-cli/callback.py", line 196, in callback UnicodeEncodeError: 'ascii' codec. The error can be solved by changing the language of the system to English. It can also be handled by specifying the current character set through export LANG=en_US.utf8 before executing the command.
OK, get MIC2, also get the development environment of moblin.
The above is all the contents of the article "how to install MIC2 in linux compilation". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.