First, local Yum source constructionmount the disc first[email protected]/]# mount/dev/cdrom/media/cdrom/ packages with Yum are already installed by default, so you can configure them directly:[[email protected] ~]# Cd/etc/yum.repos.d/yum Source configuration file Drop directory[[Email protected] yum.repos.d]# mv Centos-base.repo Centos-base.repo.bak First rename the network Yum source profile (to invalidate it)[[email protected] yum.repos.d]# vim Centos-media.repo edit local Yum source file[C6-
/nightly [sudo] password for octopus: Experimental releases of Fcitx, use with caution. More information: https://launchpad.net /~ Press enter to continue or press Ctrl + c to cancel adding gpg: Key Ring '/tmp/tmpr2skz6/secring. gpg' gpg: key ring created '/tmp/tmpr2skz6/pubring. gpg' created
following error occurs during subsequent code initialization:
./Bin/repo: Row 1: Unexpected syntax error near the symbol 'newline'
./Bin/repo: Row 1: '
2. continue now. Create and store the source code directory and initialize the required android source code version. Run the following command on the terminal:
Wayne @ ubuntu :~ /Android/bin $ sudo chmod a + x repo
Wayne @ ubuntu :~ /Android/bin $ cd
Wayne @ ubuntu :~ $ Cd Android/source/
Wayne @ ubuntu :~ /Android/source $ ../bin/repo init-u ht
the purpose of setting this source.
3. Download and import the KEYCd/etc/pki/rpm-gpgWget http://mirrors.163.com/centos/6/ OS /i386/RPM-GPG-KEY-CentOS-6
Rpm -- import/etc/pki/rpm-gpg/RPM-GPG-KEY *
After completing the preceding operations, you can use yum to perform the update operation.
4. yum commandNote: When the yum or yum resource library is updated for the
My system is Ubuntu12.10 first add key: apt-keyadv--keyserverkeyserver.ubuntu.com -- recv7F0CEB10 once it comes up with an error: Executing: gpg -- ignore-time-conflict -- no-options -- no-default-keyring -- secret-keyring/tmp. P
My system is Ubuntu 12.10
First, add the key:
Apt-key adv -- keyserver keyserver.ubuntu.com -- recv 7F0CEB10
An error occurs as soon as it comes up:
Executing: gpg -- ignore-time-c
keyring) to encrypt the message. After John Doe receives the message, only John Doe can use his private key to decrypt it. The public key and private key of any given user cannot be related in mathematics. For PGP and other public key encryption methods, there is no way to deduce a person's private key from the public key.
The additional features of PGP are: the private key password is actually not a password, it is a passphrase. It can be an integral sentence, including punctuation marks, spac
Document. write (tinyMCEPopup. editor. getContent (); response -- network20, youmustdothisfirstly, followingvbraun lsquo; sadvic
Document. write (tinyMCEPopup. editor. getContent ());
I failed to upgrade Fedora 19 to Fedora 20 directly by running fedup sudo fedup -- network20, you must do this firstly, following vbraun's advice.
Sudo yum -- enablerepo = updates-testing update fedup
If you have failed with fedup 0.7, you can do this to avoid redownload packages, following AdamW's advice.
Sudo mv
Dload upload total spent left speed
100 19731 100 19731 0 0 14034 0 0:00:01 --: -- 17157
Here, a few months ago:
Wayne @ Ubuntu :~ /Android/bin $ curl http://android.git.kernel.org/repo> Repo
% Total % received % xferd average speed time Time Current
Dload upload total spent left speed
100 244 100 244 0 0 75 0 0:00:03 --: -- 976
ThenCodeThe following error occurs during initialization:
./Bin/repo: Row 1: Unexpected syntax error near the symbol 'newline'
./Bin/repo: Row 1:
Build a Local cd yum source using CentOS
The two hosts are the first to build the YUM and YUM servers, and the second is used for subsequent YUM tests.
Operating System: Centos6.5
Host Name: yum. server
IP Address: 172.20.1.11
Operating System: Centos6.5
Host Name: test1
IP Address: 172.20.1.10
1. Build a Local cd yum Source
[Root @ yum ~] # Mkdir/mnt/cdrom/------ create a CD Mount directory
[Root @ yum ~] # Mount/dev/cdrom/mnt/cdrom/-------- to the CD
[Root @ yum ~] # Cd/etc/yum. repos. d/-----
How to Use SHA256 to verify downloaded files
When you download an ISO image, especially from many unknown seeds on the BitTorrent network, we recommend that you verify the integrity of the downloaded image.
For the Ubuntu release, Canonical provides several verification files (such as MD5SUM, SHA1SUMS, and SHA256SUMS) for verification ). In this example, we use SHA256SUMS.
First, download the following two files.
$ Wget http://releases.ubuntu.com/14.10/SHA256SUMS
$ Wget http://releases.ubun
1686 package.Retries,NetworkNumber of Retries after a connection error occurs. If it is set to 0, it will retry infinitely.Tolerent also has two options: 1 and 0, indicating whether Yum can tolerate errors related to software packages in command lines. For example, you need to install packages 1, 2, and 3, 3 of them have been installed before. If you set it to 1, yum will not have an error message. The default value is 0.
In addition to the above, there are some options that can be added, suc
-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
For the installation source to be available, the preferred available and installed Rpmforge-release package can only be one of the two listed above.
Install the DAG GPG key
The code is as follows:
RPM--importhttp://apt.sw.be/rpm-gpg-key.dag.txt
To verify the downloaded package:
The code is as follows:
Rpm-k rpmforge-release-0.5.1-1.el5.rf.*.rpm
The
when creating a tar file to exclude the specified file or type. Suppose you want to exclude the. html file when you create a compressed tar file.
Copy Code code as follows:
[Root@linuxtechi ~]# tar-zcpvf myarchive.tgz/etc//opt/--exclude=*.html
Example Ten: List the contents of the. tar.gz or. tgz file
Use the-t option to view the contents of the. tar.gz or. tgz file. As follows:
[Root@linuxtechi ~]# TAR-TVF myarchive.tgz | more ... ..... ................. ...... ..
-gpg/RPM-GPG-KEY-mysql
The above version is 5.6.
The content of version 5.7 is as follows:
# Note: MySQL 5.7 is currently in development. For use at your own risk.# Please read with sub pages: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/Mysql57-community-dmrName = MySQL 5.7 Community Server Development Milestone ReleaseBaseurl = http://repo.mysql.com/yum/mysql-5.7-community/el/6/?basearch/Enabled = 1Gpg
-core.xml file name will be different, but all begin with comps. Our YUM repository has been built here.
Next, we need to set the content in/etc/yum. repo. d. We will write as follows:
[Server] // The name can be written at willName = Red Hat Enterprise Linux Server CoreBaseurl = file: // yumrepo/Server // The example is set up locally only for local use. To publish to the network, installFtpService, written as a ftp://www.linuxso.com/yum/ServerEnableD = 1 // enabled by defaultGpgcheck = 0Gpgkey
Encrypted Files in linux-general Linux technology-Linux technology and application information. For more information, see. I use gpg (which is pre-configured in the system. Basically, each linux has its own ).
Encryption
Gpg-c file
Will let you set a password
The generated encrypted file is file. gpg (the original file will not be automatically delete
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.