Editing files with VI toolssudo VI /etc/apt/sources.listTake Trusty (14.04) as an example, insert the following to the front of the file:Deb http://mirrors.163.com/ubuntu/trusty main restricted universe multiverseDeb http://mirrors.163.com/ubuntu/trusty-security main restricted universe multiverseDeb http://mirrors.163.com/ubuntu/trusty-updates main restricted un
Ubuntu 14.04 Lts was announced the day before yesterday (2014.4.17), I upgraded my system to the latest and experienced the latest UI system.I chose Ubuntu gnome GUI interface. I used to have a system that was 12.04lts and chose the graphical interface of the GNOME shell.1.163 Update Sourcedeb http:/ /mirrors.163.com/ubuntu/trusty main restricted universe Multiversedeb http://mirrors.163.com/ubuntu/trusty-s
account to execute the following command before running the Setup program:# Export display=:0.0# Xhost +$./runinstaller2, if you see the installation interface is garbled, input command:export Lang=en_us, in the Run "./runinstaller")1, ready to enter the installation interface2 . Click "Next" button to remove the "I wish to receive security Updatas via My Oracle support" checkbox3.Select "Install database software only"and click "Next" button 4, the default selection, click on the "Next" button
software as well. On-line to find out the need to configure the Yum source, and then found RHEL6 configuration Yum Source method:A. Deleting a locally installed Yum#rpm-aq|grep Yum|xargs rpm-e--nodepsb. Download the corresponding RPM packagepython-iniparse-0.3.1-2.1.el6.noarch.rpmpython-urlgrabber-3.9.1-11.el6.noarch.rpmyum-3.2.29-81.el6.centos.noarch.rpmyum-metadata-parser-1.1.2-16.el6.x86_64.rpmyum-plugin-fastestmirror-1.1.30-40.el6.noarch.rpmThe RPM package is downloaded on 163 mirrors:http:
Ubuntu14.04LTS was released on (2014.4.17). Today I upgraded my system to the latest version and tried the latest UI system. I chose the GUI of javastugnome14.04. My previous system is 12.04LTS and I also chose the GUI of GnomeShell. Related reading: Ubuntu14.04 download, installation, configuration summary page http://www.linuxidc.com/Linux/2014-
Ubuntu 14.04 LTS was released on (2014.4.17). I updated my system to the latest version today and tried the latest UI system.
I chose the GUI of Ubunt
Redhat7.3 configure the 163 yum source and redhat7.20.3yum Source
The redhat update package only takes effect for registered users, so we need to manually change it to the CentOS update package. CentOS is almost the same as redhat, so we don't have to worry about whether the package can be installed, check whether there is any problem after installation.
1. First, delete the original yum of redhat, because the original yum of redhat is not registered as a redhat user and cannot be used.
rpm -a
I. Update the source list:
Change the image source for/etc/APT/sources. List to net easy source: http://mirrors.163.com/ubuntu/dists/
Deb http://mirrors.163.com/ubuntu/ devel main universe restricted multiverseThe Deb-Src http://mirrors.163.com/ubuntu/ devel main universe restricted multiverseDeb http://mirrors.163.com
1. After installing the basic Ubuntu system
1.1 configure source. list
With 163 of the image site, you can access http://mirrors.163.com/view Netease's open source image directoryThe following is an example: Delete the original built-in international site and change it to the image site provided by Netease:
+ ---------------------/Etc/apt/sources. list ---------------------------------------------------- +| Deb http://
Http://mirrors.163.com/.help/centos.htmlCentos7-base-163.repo# centos-base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror To pick mirrors that is updated to and# geographically close to the client. You should use this for CentOS updates# unless is manually picking other mirrors.## If the mirrorlist= do
Issue: Redhat 6.4 The default comes with a Yum source that needs to be registered before it can be updated.Solution: Remove the default yum source and manually configure the Yum source for CentOS 6.5.My system here is Redhat 6.4, so in http://mirrors.163.com/centos/6/os/x86_64/Packages/download the relevant RPM package1. First look for the system to automatically install those Yum packages# Rpm-qa | grep Yum2. Delete the default installed Yum package
Open-source mirror server: http://mirrors.sohu.com/The server is located in Shandong province Unicom2 NetEase's Open source server image: Http://mirrors.163.com/centosSpeed is also good, the national user recommended3 degrees, mother? How does not have the mother's open source image.Degree Niang every year defrauded so many hard-earned money, not even an open source can not afford it? Hundred Points despise!In short, everyone in the use before you ca
Because the redhat yum online update is charged, it cannot be used if it is not registered. to use it, you need to uninstall the redhat yum, restart the installation, and configure other sources, the detailed process is as follows: 1. delete the original yumrpm-aq | grepyum | xargsrpm-e -- nodeps2. download the yum installation file wgethttp: // mirrors.16
BecauseRedhatYum online update is charged. it cannot be used if it is not registered. if you wan
Redhat's update package only takes effect for registered users, so we need to manually change the update package to CentOS, which is almost the same as Redhat, so there's no need to worry about whether the package is installable or not. 1, first delete redhat original Yum, because Redhat original Yum is not registered as Redhat user is not used. Rpm-aq|grep Yum|xargs rpm-e--nodeps rpm-aq|grep Python-iniparse|xargs rpm-e--nodeps2. Download the 163 Yum installation packagewget Http://
card Format tool;
Set "FORMAT SIZE adjustment" to open on in option options;
Check if the SD card is plugged into the computer;
Click the Format button of the formatting tool to format the SD card.
Unzip the Noobs.zip file;
Copy the extracted files to the SD card;
Insert the SD card into the Raspberry Pi;
Connect the mouse, keyboard, monitor (this part is not required);
Connect the network cable (wireless card can also), power, and then automatically
"No argument value for option $OPTARG";;*)# should not occurecho "Unknown Error while processing options";;Esacecho "Optind is now $OPTIND"DonePerform:[Email protected] ~]# bash test_getopts.sh-q aa-p-HOptind starts at 1Option Q has value AAOptind is now 3Unknown option HOptind is now 42. With optional parameters [ARG]#!/bin/bashecho "Optind starts at $OPTIND"While getopts ": Q:p" optname "-Q Qarg" "-P" "-H"DoCase ' $optname ' in"P")echo "Option $optname is specified";;"Q")echo "Option $optname
Docker image, container, warehouse concept
Docker mirroring
Docker mirroring (image) is similar to a virtual machine image, and can be interpreted as a read-only template for the Docker engine, including a file system.
For example, a mirror can fully contain the Ubuntu operating system environment, which can be called an Ubuntu mirror. Mirroring can also be installed with an Apache application (or other software) that can be referred to as an Apache image.
Mirroring is the foundation for cre
Installing GCC previously seemed smooth, but I don't know what's going on today. An error has been used to install GCC using the Yum command on a virtual machine on a centos system.
The installation instructions I perform are: yum-y install gcc gcc-c++ kernel-devel
Error content (part):
Error Downloading Packages:
mpfr-2.4.1-6.el6.x86_64:failure:packages/mpfr-2.4.1-6.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.
libgomp-4.4.7-17.el6.x
At present, many universities and companies have done mirrors for the use of Ubuntu enthusiasts or researchers, such as NetEase and UESTC have their own mirror services, the Web site are: UESTC (http://ubuntu.uestc.edu.cn/), NetEase (http:// ubuntu.cn99.com/.help/ubuntu.html) 1 First back up the source list, sudo cp/etc/apt/sources.list/etc/apt/sources.list.backup 2) Modify the update source, sudo vi/etc/apt/sources.list add Source: #电子科技大学 (Education
linux:redhat6.5 when you use Yum to prompt for registration problem Resolution one, the problemThe newly installed redhat6.5. After installation, log in to the system, using Yum. Tips:This system isn't registered to Red Hat Subscription Management. You can use the Subscription-manager to register.cannot be used.Redhat The default comes with a Yum source that needs to be registered before it can be updated. We want to be able to update without spending money, we need to replace Redhat's Yum sourc
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.