1. Differences between git init and git init-bare
The version library initialized with "Git init" can also perform all git operations in this directory. However, other users are prone to conflicts when pushing updates.
For example, a user executes git operations under this directory (called a remote repository), and has two branches (master and B1), which are currently under the master branch. Another user wants to submit the update of the master
Create your own code repository !, Own code repository
Here, we will first create a storage warehouse with the @ property attribute, which is similar to many block warehouses of apple, and so on. How can we create it: Apple helped us do a good job. You just need to drag the project to complete the work.
So how can we create something like this?For example, when we declare an attribute:
@ Property (nonat
Configure the yum repository and rpm package, and the yum repository rpm
Job 1:
1) Add a 15 gb scsi hard disk before enabling Linux.
2) enable the system, right-click the desktop, and open the terminal.
3) It is a newly added hard disk partition. The size of a primary partition is 5 GB, and the remaining space is extended. One logical partition is divided on the extended partition, And the size is 5 GB.
Label:Warning:permanently added the RSA host key for IP address ' 192.30.252.131 ' to the list of known hosts. Permission denied (PublicKey).Fatal:could not read from remote repository.Sure you have the correct access rightsand the repository exists. This problem occurs because no SSH key is added to the GitHub account Here's how to fix it in terminal input. Ssh-keygen-t rsa-c "forwhat.cn"//note. forwhat.cn for User name If the execution succeeds. Re
.trcActive Problem Count 3Active Incident Count 8As you can see, the view V$diag_info includes the number of issues and events. For example, use the following command to view all ora-errors:Adrci> Set HomePath Diag/rdbms/rac/racAdrci> Set Editor VIAdrci> show alert-p "Message_text like '%ora-% '"ADR Home =/home/oracle/diag/rdbms/rac/rac:*************************************************************************Output the results to file:/tmp/alert_10191_1638_rac_1.ado2012-03-29 20:56:12.266000 +08
First, the premiseInstall Git:yum installed git on the virtual machine, no virtual machine can see Windows install Linux virtual machine (CENTOS7) virtual machine address: 192.168.240.139 Create a git directory under the native D drive. and new Git1 and git2 two directories git1 and Git2 are used to clone the remote warehouse, and then the simulation team two people collaborate, one party submits the file, the other party updates the file
second, remote initialization of the warehouse
Initial
This problem occurs at the time of the update
Error:cannot Retrieve repository metadata (Repomd.xml) for Repository:epel. Please verify its path and try againThe question is very simple. And it's very obvious.Solution
Execute the cleanup command,
Yum Clean metadataYum Clean All
We'd better rebuild it after we finish the execution.
RPM--REBUILDDB
The update command can be executed again
Yum Update
The error code is as follows when you use Yum install again after installing Gitlab:
Error: Cannot retrieve repository metadata (Repomd.xml) for Repository:gitlab_gitlab-ce. Please verify its path and try again
The solution is as follows:
A. Open/etc/yum.repos.d/xxxxx.repo, for this example is/etc/yum.repost.d/xxx.repoB. Change the enabled=1 in item [XXX] to Enabled=0
According to the above code prompts, my is gitlab_gitlab-ce the error, so wi
installation and use, or it's going to be a problem when building a library, I'm 1.5g, and my swap is 2.9G.
If you install Linux without setting the swap to sufficient size, please follow the following setting.
$su-root
#dd If=/dev/zero Of=tmpswap bs=1k count=900000
#chmod Tmpswap
#mkswap Tmpswap
#swapon Tmpswap
=======
Installation of Oracle Universal Installer requires at least MB of free space at/tmp.
Check/tmp:
$DF/tmp
If you don't have enough space in/TMP, you can create a TMP re
In September 29, inspur group recently signed a strategic cooperation agreement with red hat, an open-source manufacturer. Based on the new-generation Red Hat Enterprise Operating System (Red Hat Enterprise Linux7 ), as well as comprehensive strategic cooperation between the nine categories of x86 platform products of inspur. According to the Cooperation Agreement, inspur will become a Red Hat OEM Partner. It is reported that the OEM Partner is the highest-level partner of
Linux is short for GNU/Linux. It is usually the general name of various Linux releases. Common Linux Manufacturers include RedHat/Novell.
RedHat has two major Linux product series, one of which is the free Fedora Core series. It is mainly used for desktop versions and provides support for many new features. Another product series is the paid enterprise series, which is divided into as, es, WS, and other
[Oracle @ sky ~] $/Oracle/database/runinstaller
Starting Oracle universal installer...
Checking installer requirements...
Checking operating system versions: Must be a redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Failed
Exiting Oracle universal installer. You can find the log for this session in/tmp/OraInstall2011-03-18_08-48-45PM/installActions2011-03-18_08-48-45PM.log
This is
file. If yes, run the following command?
A: yum -- enablerepo = repoid COMMAND
This command only enables the yum repository at one time and runs the following command. The enabled value in the configuration file is not modified.
2. Q: When multiple available yum repositories exist, how does the yum command specify the yum repository operations, such as yumlist and install?
A: # yum -- disablerepo = * -- en
RedHat 6 desktop installation and redhat desktop Installation1. Configure the virtual optical drive of the yum library Virtualbox to be located in/dev/sr0. Therefore, after loading the RHEL6.5 image to vmware, you can configure the yum Library 1. attach an image [root @ db01 ~] # Mkdir/media/rhel [root @ db01 ~] # Mount-o loop/dev/sr0/media/rhel 2. Enable the image to be automatically mounted at startup and
RedHat static IP Address Configuration, redhat static IP Address
RedHat static IP Address ConfigurationModify the following three files in sequence:/etc/sysconfig/network-scripts/ifcfg-eth0/etc/resolv. conf
1./etc/sysconfig/networkNETWORKING = yesNETWORKING_IPV6 = noHOSTNAME = WKM # host name GATEWAY = 192.168.53.1 # Default GATEWAY
2./etc/sysconfig/network-scrip
AbstractThis article describes how to install virtualbox guest additions in RedHat Linux.
IntroductionEnvironment: Windows XP SP3 + virtualbox 4.1.2 + RedHat Linux 5.4
To install virtualbox guest additions in Windows, you only need to choose "placement"> "Security guest additions" to automatically install the agent (please refer to the original example) quartus II Security New Ideas: how to install Quartu
Common RedHat commands and common redhat commandsCommon RedHat commands
1. query registration module software
yum list all | grep subscription
2. Uninstall the Registration Module
yum remove subscription-manager
3. Restart now
shutdown -r now
4. decompress the package to the specified path.
tar zxvf /source/kernel.tgz -C /Document
5. Package compressed f
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.