RedHat products include RedHatLinux (such as Redhat8, 9) and RedHatEnterpriseLinux released for enterprises. CentOS is short for communitypoliciseoperatingsystem. many of us call it a community enterprise operating system. no matter how you call it, it is a release version of linux. Most of the software packages that constitute RHEL are developed based on the GPL protocol.
Red Hat products include RedHat Li
When yum commands are used on the RedHat system, the following problems occur: ldquo; ThesystemisnotregisteredwithRHN rdquo; the reason is that the node is not registered on the Red Hat Network. The solution is to use CentOS yum source 1. view the default yum package installed by rhel and uninstall [root @ zhu1 ~] # Rpm-qa | grepyumyum-fastestmirror-1.1.16-14.el5.centos.
The following problems occur when using the yum command on the
: // centos.ustc.edu.cn/CentOS-Base.repo
Better sources include Netease And Sohu:
Wget http://mirrors.163.com/.help/CentOS-Base-163.repo
Wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
Modify the configuration file.
Some source configuration files may contain the following content:
[Base]
Name = CentOS-$ releasever-Base
Using list = http://mirrorlist.centos.org /? Release = $ releasever arch = $ basearch repo = OS
Baseurl
Idea: Uninstall Redhat with yum, then download the CentOS yum, install and modify the configuration file1 , first to Http://mirrors.163.com/centos Download Packagex86 Address: http://mirrors.163.com/centos/6/os/i386/Packages/x86_64 Address: http://mirrors.163.com/centos/6/os/x86_64/Packages/The necessary packages to download are (for example, 64-bit systems):A py
. Download related packages to other links for Installation
2. When the openmotif-* package is installed, the libxp. so.6 package is required. I am too lazy to install libxp-* directly by using rpm -*.
3. Configure Linux for Oracle
1. Create a group and a user
* The user account is called Oracle, and the group is called oinstall and DBA.
Command:
/Usr/sbin/groupadd oinstall/Usr/sbin/groupadd DBA/Usr/sbin/useradd-G oinstall-g dba OracleId Oracle
* Set the Oracle user password
Command:
Passwd Orac
MongoDB on OS X
2. Package IntroductionThe 10gen repository consists of two packages:
Mongo-10genThe package contains the latest version of the MongoDB tool . Install the package on all production MongoDB hosts and optionally install on other systems that you may need to manage the MongoDB system.The included MongoDB tools are: MONGO, Mongodump, Mongorestore, Mongoexport, Mongoimport, Mongostat, Mongotop, Bsondump
Mongo-server-10gen
Configuration Description:
1. iSCSI shared storage via Openfiler
2. Implement fence functionality through VMware ESXi5 virtual fence.
3. Combine Redhat 5.8 vmware-fence-soap to realize RHCs fence equipment function.
4. This article was originally created to build RHCS experimental environment test RHCs Oracle ha function.
This article link: http://koumm.blog.51cto.com/703525/1161791
I. Preparation of the basic environment
1. Network Environment
1. c executable code structure
(1) code segment. Text: The machine command that stores CPU execution. Generally,. text can be shared and read-only.
(2) Data Segment. Data:. rodata (constant data),. rwdata (initialized global variables, static variables ).
(3) uninitialized data segment. BSS: uninitialized global and static variables.
(4) stack. STACK: stores function parameters, local variables, and context During task switching.
(5) Heap. Heap: used for dynamic memory allocation.2. Task Structu
Users who have installed the Linux software know that sometimes we install a software, need to rely on other software, so we have to find all the software, this is a very troublesome thing, there is no way to let it find its own dependence?
The answer is certainly, this requires us to configure an artifact--yum, through which we can directly install the software, we only need to know the name of the software can be, let it put all the dependencies are directly connected to install. However, I r
which package is missing to be forcibly installed on the iso image installation disk or the server or packages folder in the cd. And the OS version should not be too new.
Command for forcibly installing rpm package: rpm-ivh -- nodeps name
Que4: su-root gedit/etc/hosts related to the network configuration check (the OS is static as follows)
Format:
"Local IP host name host alias"
Note: The "127.0.0.1 host n
BackgroundBecause of kernel version issues, only Ubuntu can support Docker at first. However, since the Redhat series OS (Rehl, CentOS) is currently the mainstream Linux server operating system, it is necessary to enable the Redhat series OS to support Docker. Currently, Docker and
Netease And Sohu:
Wget http://mirrors.163.com/.help/CentOS-Base-163.repo
Wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
Modify the configuration file.
Some source configuration files may contain the following content:
[Base]
Name = centos-$ releasever-Base
Using list = http://mirrorlist.centos.org /? Release = $ releasever arch = $ basearch repo = OS
Baseurl = http://developer.centos.org/centos/?releasever/
Note:
Que1: Generally, When configuring kernel parameters (gedit/etc/sysctl. conf), we only need to modify kernel. shmmax.
1 is half of the physical memory:
Physical memory grep MemTotal/proc/meminfo
The Unit is byte. (B)
3 It is recommended that the RedHat should not exceed 4 GB
4. The shmmax Kernel Parameter defines the maximum value of a single shared memory segment. If this parameter is set to a smaller value than the Oracle SGA setting, SGA will
Python calls shell scripts in two ways: OS. system (CMD) or OS. popen (CMD), the former returns the exit code of the script, and the latter returns the output content during script execution. The actual usage depends on your needs.
Assume that there is a shell script test. sh:
#! /Bin/bash
1. Echo "Hello world! "
2. Exit 3
OS. System (CMD ):
After the
Python standard library OS. path package, glob package use instance, OS. pathglob
OS. path package
The OS. path package is mainly used to process string paths, such as '/home/zikong/doc/file.doc' to extract useful information.
Copy codeThe Code is as follows:Import OS. pathP
RedHat (Red Hat) yum cannot use the solution, redhatyum
Because RedHat is a commercial version, the yum program cannot be used because it is not registered (in linux, yum is an "artifact" for installing software "). In this case, the CentOS address can be replaced. The following describes how to handle the problem step by step:
1. Delete yum-related files that come with
Users who have installed Linux software in redhat system yum source configuration 1 know that sometimes we install a software and need to rely on other software, so we must find all the software, this is a very troublesome task. Is there any way for it to find its own dependencies? Of course the answer is yes, this... users who have installed Linux software in redhat system yum source configuration 1 know t
Linux $ releasever-$ basearch-BaseBase url = http://centos.ustc.edu.cn/centos/4/ OS /i386/# [Updates]# Name = Red Hat Linux $ releasever-Updates# Baseurl = http://developer.dulug.duke.edu/pub/yum-repository/redhat/updates/#releasever/Name = Red Hat Linux $ releasever-UpdatesBase url = http://mirror.centos.org/centos/4/updates/i386/[Base] # name = Red Hat Linux $ releasever-$ basearch-Base# Baseurl = http:/
First, prefaceRecently want to test the Redhat 7 KVM V2V function, the results found that Redhat 7.0 no V2V package, on the Redhat official website only found to Redhat 7.2 to include VIRT-V2V package.The official website is described below:VIRT-V2V became a supported product starting with Red Hat Enterprise Linux 7.2.
Reference article:
1) http://www.oschina.net/question/12_76955
2) http://rudamoura.com/luaonmacosx.html
Recently in the development of the game for iOS, my development machine is iPhone5. The LUA language is required in the development of the game project, so I want to use it in myApple MacBook ProThe LUA language interpreter is installed for script debugging.
The version of my Mac OS x is 10.8.3. Lua is a lightweight scripting language that is used
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.