名称 角色 server (RHEL6.0) 服务器 1、前置条件的准备 (1)解压压缩文件 [root@localhost ~]# unzip linux_11gR2_
名称
角色
server
(RHEL6.0)
服务器
1、前置条件的准备
(1)解压压缩文件
[root@localhost ~]# unzip linux_11gR2_database_1of2.zip //解压后缀为.zip的文件包
[root@localhost ~]# unzip linux_11gR2_database_2of2.zip
[root@localhost ~]# ls database/ //查看生成的database数据文件
doc install response rpm runInstaller sshsetup stage welcome.html
[root@localhost ~]# mv database / //移动database文件到根下,因为一会要到程序用户下安装Oracle数据库
[root@localhost ~]# chmod 777 /database/ //普通用户没有权限,并给予777权限
(2)对于安装的前置要求
[root@localhost ~]# cat /etc/RedHat-release //系统为RHEL6
Red Hat Enterprise Linux Server release 6.1 (Santiago)
[root@localhost ~]# grep MemTotal /proc/meminfo //物理内存不少于1G,虚拟机内存不少于1200MB
MemTotal: 1563688 kB
[root@localhost ~]# grep SwapTotal /proc/meminfo //交换分区为物理内存的1-5~2倍,物理内存为2GB-16GB时,交换分区与物理内存大小相等
SwapTotal: 2097144 kB
[root@localhost ~]# df -hT /tmp/ //确保/tmp目录所在的分区的空间不少于1GB,oracle 11g 硬盘空间不得少于8G
文件系统 类型 容量 已用 可用 已用%% 挂载点
/dev/sda3 ext4 18G 13G 4.0G 77% /
[root@localhost ~]# hostname dbserver.benet.com //服务器要有完全合格的主机名
[root@localhost ~]# hostname
dbserver.benet.com
[root@localhost ~]# cat /etc/hosts
192.168.1.1 dbserver dbserver.benet.com
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
2、软件环境要求
挂载光盘
[root@localhost ~]# mount /dev/cdrom /media/
mount: block device /dev/sr0 is write-protected, mounting read-only
编辑yum仓库,修改配置行
[root@localhost ~]# vi /etc/yum.repos.d/rhel-source.repo //编辑YUM仓库
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=file:///media/Server //url访问路径
enabled=1 //启动软件仓库
gpgcheck=0 //不验证软件包签名
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
yum安装软件环境
[root@localhost ~]# yum -y install binutils compat-libstdc++-33 compat-libstdc++ elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers libaio libaio-devel libgcc libcstdc++ libstdc++-devel make sysstat unixODBC unixODBC-devel
RHEL6中安装的oracle 11g,对系统中的ksh软件包无法识别,所有只能挂载RHEL5,安装此光盘中的pdksh软件包
[root@localhost ~]# ls
anaconda-ks.cfg linux_11gR2_database_1of2.zip 公共的 图片 音乐
install.log linux_11gR2_database_2of2.zip 模板 文档 桌面
install.log.syslog pdksh-5.2.14-36.el5.i386.rpm 视频 下载
[root@localhost ~]# rm -rf linux_11gR2_database_1of2.zip //在安装pdksh时,先卸载llg 已节省内存占用率
[root@localhost ~]# rm -rf linux_11gR2_database_2of2.zip
[root@localhost ~]# rpm -ivh pdksh-5.2.14-36.el5.i386.rpm //挂载RHEL5,安装pdksh
安装Java-1.6.0软件包,,以支持使用中文的oracle安装界面
[root@localhost ~]# yum -y install java-1.6.0
[root@localhost ~]# cd /usr/lib/jvm/jre-1.6.0/lib/
[root@localhost lib]# mv fontconfig.bfc fontconfig.bfc.origin //备份默认字体配置
[root@localhost lib]# cp fontconfig.RedHat.6.0.bfc fontconfig.bfc //建立RHEL6的字体配置

mysqlviewshavelimitations:1)他們不使用Supportallsqloperations,限制DatamanipulationThroughViewSwithJoinsOrsubqueries.2)他們canimpactperformance,尤其是withcomplexcomplexclexeriesorlargedatasets.3)

porthusermanagementinmysqliscialforenhancingsEcurityAndsingsmenting效率databaseoperation.1)usecReateusertoAddusers,指定connectionsourcewith@'localhost'or@'%'。

mysqldoes notimposeahardlimitontriggers,butacticalfactorsdeterminetheireffactective:1)serverConfiguration impactactStriggerGermanagement; 2)複雜的TriggerSincreaseSySystemsystem load; 3)largertablesslowtriggerperfermance; 4)highConconcConcrencerCancancancancanceTigrignecentign; 5); 5)

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

通過PHP網頁界面添加MySQL用戶可以使用MySQLi擴展。步驟如下:1.連接MySQL數據庫,使用MySQLi擴展。 2.創建用戶,使用CREATEUSER語句,並使用PASSWORD()函數加密密碼。 3.防止SQL注入,使用mysqli_real_escape_string()函數處理用戶輸入。 4.為新用戶分配權限,使用GRANT語句。

mysql'sblobissuitableForStoringBinaryDataWithInareLationalDatabase,而ilenosqloptionslikemongodb,redis和calablesolutionsolutionsolutionsoluntionsoluntionsolundortionsolunsonstructureddata.blobobobissimplobisslowdeperformberbutslowderformandperformancewithlararengedata;

toaddauserinmysql,使用:createUser'username'@'host'Indessify'password'; there'showtodoitsecurely:1)choosethehostcarecarefullytocon trolaccess.2)setResourcelimitswithoptionslikemax_queries_per_hour.3)usestrong,iniquepasswords.4)Enforcessl/tlsconnectionswith

toAvoidCommonMistakeswithStringDatatatPesInMysQl,CloseStringTypenuances,chosethirtightType,andManageEngencodingAndCollationsEttingSefectery.1)usecharforfixed lengengtrings,varchar forvariable-varchar forbariaible length,andtext/blobforlargerdataa.2 seterters seterters seterters


熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

MantisBT
Mantis是一個易於部署的基於Web的缺陷追蹤工具,用於幫助產品缺陷追蹤。它需要PHP、MySQL和一個Web伺服器。請查看我們的演示和託管服務。

EditPlus 中文破解版
體積小,語法高亮,不支援程式碼提示功能

Dreamweaver Mac版
視覺化網頁開發工具

Atom編輯器mac版下載
最受歡迎的的開源編輯器

WebStorm Mac版
好用的JavaScript開發工具