名称 角色 server (RHEL6.0) 服务器 1、前置条件的准备 (1)解压压缩文件 [root@localhost ~]# unzip RHEL6.0下Oracle安装_11gR2_
名称
角色
server
(RHEL6.0)
服务器
1、前置条件的准备
(1)解压压缩文件
[root@localhost ~]# unzip RHEL6.0下Oracle安装_11gR2_database_1of2.zip //解压后缀为.zip的文件包
[root@localhost ~]# unzip RHEL6.0下Oracle安装_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 RHEL6.0下Oracle安装_11gR2_database_1of2.zip 公共的 图片 音乐
install.log RHEL6.0下Oracle安装_11gR2_database_2of2.zip 模板 文档 桌面
install.log.syslog pdksh-5.2.14-36.el5.i386.rpm 视频 下载
[root@localhost ~]# rm -rf RHEL6.0下Oracle安装_11gR2_database_1of2.zip //在安装pdksh时,先卸载llg 已节省内存占用率
[root@localhost ~]# rm -rf RHEL6.0下Oracle安装_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,而alenosqloptionslikemongodb,redis和calablesolutionsoluntionsoluntionsoluntionsolundortionsolunsolunsstructureddata.blobobobsimplobissimplobisslowderperformandperformanceperformancewithlararengelitiate;

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 lengengters lengengtings,varchar forbariaible lengength,varchariable length,andtext/blobforlabforlargerdata.2 seterters seterters seterters seterters


热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

Video Face Swap
使用我们完全免费的人工智能换脸工具轻松在任何视频中换脸!

热门文章

热工具

MinGW - 适用于 Windows 的极简 GNU
这个项目正在迁移到osdn.net/projects/mingw的过程中,你可以继续在那里关注我们。MinGW:GNU编译器集合(GCC)的本地Windows移植版本,可自由分发的导入库和用于构建本地Windows应用程序的头文件;包括对MSVC运行时的扩展,以支持C99功能。MinGW的所有软件都可以在64位Windows平台上运行。

安全考试浏览器
Safe Exam Browser是一个安全的浏览器环境,用于安全地进行在线考试。该软件将任何计算机变成一个安全的工作站。它控制对任何实用工具的访问,并防止学生使用未经授权的资源。

DVWA
Damn Vulnerable Web App (DVWA) 是一个PHP/MySQL的Web应用程序,非常容易受到攻击。它的主要目标是成为安全专业人员在合法环境中测试自己的技能和工具的辅助工具,帮助Web开发人员更好地理解保护Web应用程序的过程,并帮助教师/学生在课堂环境中教授/学习Web应用程序安全。DVWA的目标是通过简单直接的界面练习一些最常见的Web漏洞,难度各不相同。请注意,该软件中

Dreamweaver Mac版
视觉化网页开发工具

EditPlus 中文破解版
体积小,语法高亮,不支持代码提示功能