-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.xml
98 lines (98 loc) · 16.3 KB
/
search.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" encoding="utf-8"?>
<search>
<entry>
<title><![CDATA[RedHat6.5 安装EBS 12.1 系列前的预安装rpm包]]></title>
<url>%2Fpost%2F6c991b0d.html</url>
<content type="text"><![CDATA[参考文章:https://blog.csdn.net/vindak/article/details/7803588/参考MOS文章: Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1] 配置 oracle ebs 专用yum源 配置oracle yum安装源: 12# cd /etc/yum.repos.d# wget http://public-yum.oracle.com/public-yum-ol6.repo 修正成如下内容 123456789101112131415161718192021222324252627282930313233343536373839[ol6_latest]name=Oracle Linux $releasever Latest ($basearch)baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6gpgcheck=1enabled=1[ol6_addons]name=Oracle Linux $releasever Add ons ($basearch)baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6gpgcheck=1enabled=1[ol6_UEK_latest]name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEK/latest/$basearch/gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6gpgcheck=1enabled=0 执行安装123456789101112131415161718192021222324252627282930313233343536# yum update# yum install oracle-ebs-server-R12-preinstall Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package oracle-ebs-server-R12-preinstall.x86_64 0:1.0-3.el6 will be installed--> Processing Dependency: libstdc++-devel for package: oracle-ebs-server-R12-preinstall-1.0-3.el6.x86_64--> Processing Dependency: libXp(x86-32) for package: oracle-ebs-server-R12-preinstall-1.0-3.el6.x86_64....Transaction Summary================================================================================Install 176 Package(s)Upgrade 11 Package(s)Total download size: 168 MIs this ok [y/N]: yDownloading Packages:....Dependency Updated: db4.x86_64 0:4.7.25-18.el6_4 db4-utils.x86_64 0:4.7.25-18.el6_4 glib2.x86_64 0:2.26.1-3.el6 glibc.x86_64 0:2.12-1.132.el6 glibc-common.x86_64 0:2.12-1.132.el6 libblkid.x86_64 0:2.17.2-12.14.el6 libgcc.x86_64 0:4.4.7-4.el6 libstdc++.x86_64 0:4.4.7-4.el6 libuuid.x86_64 0:2.17.2-12.14.el6 nss-softokn-freebl.x86_64 0:3.14.3-9.el6 util-linux-ng.x86_64 0:2.17.2-12.14.el6 Complete! 若第一次不成功,多试几次最后一个安装命令即可,反正我试了三次才安装成功。 修改交换空间的大小一般直接配置memory_target 这个参数直接限制oracle 数据库的的总内存,pga 和 sga让oracle自动进行调整,如果oracle使用的内存超过交换空间的内存,则报如下错误 12ORA-00845: MEMORY_TARGET not supported on this system ` 解决方法: 修改/etc/fstab,在swap和tmpfs 的defaults后面加入size=XXG 1234567891011121314151617[root@localhost ~]# cat /etc/fstab ## /etc/fstab# Created by anaconda on Sun Sep 23 05:22:04 2018## Accessible filesystems, by reference, are maintained under '/dev/disk'# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info#UUID=f9589126-32c9-4cd0-a6fe-d2ece6e7c8f5 / ext4 defaults 1 1UUID=05560d62-9dc9-41d3-a717-e3e91d18f81a /boot ext4 defaults 1 2UUID=ed237d3f-ca5b-41d0-a38b-91aaf1f5af3e swap swap defaults,size=8G 0 0tmpfs /dev/shm tmpfs defaults,size=8G 0 0devpts /dev/pts devpts gid=5,mode=620 0 0sysfs /sys sysfs defaults 0 0proc /proc proc defaults 0 0[root@localhost ~]# 然后重新挂载: 1[root@localhost ~]# mount -o remount,size=8G /dev/shm]]></content>
<categories>
<category>ORACLE EBS DBA</category>
</categories>
<tags>
<tag>ORACLE EBS DBA</tag>
</tags>
</entry>
<entry>
<title><![CDATA[RedHat6.5更新为CentOS源]]></title>
<url>%2Fpost%2F41a2e6fe.html</url>
<content type="text"><![CDATA[基于 https://blog.csdn.net/u011641865/article/details/78518214有改动 删除自带的包123456#1.检查yum包rpm -qa |grep yum #2.删除自带包 rpm -aq | grep yum | xargs rpm -e --nodeps #3.再检查一下 rpm -qa |grep yum 下载更新rpm包新建一个文件夹,把这个放到先建立的文件夹下 12345678## 注意:包名不会变,不要直接拷贝下面的命令,因为版本会更新,如果404 not found则根据名字查下最新的版本号wget http://mirrors.163.com/centos/6/os/x86_64/Packages/python-urlgrabber-3.9.1-11.el6.noarch.rpmwget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-41.el6.noarch.rpmwget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-3.2.29-81.el6.centos.noarch.rpmwget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-updateonboot-1.1.30-41.el6.noarch.rpmwget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpmwget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-utils-1.1.30-41.el6.noarch.rpm 执行安装1234567891011121314151617181920[root@bogon yum_rpms]# lspython-urlgrabber-3.9.1-11.el6.noarch.rpm yum-plugin-fastestmirror-1.1.30-41.el6.noarch.rpmyum-3.2.29-81.el6.centos.noarch.rpm yum-updateonboot-1.1.30-41.el6.noarch.rpmyum-metadata-parser-1.1.2-16.el6.x86_64.rpm yum-utils-1.1.30-41.el6.noarch.rpm[root@bogon yum_rpms]# rpm -ivh yum-*warning: yum-3.2.29-81.el6.centos.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEYerror: Failed dependencies: python-urlgrabber >= 3.9.1-10 is needed by yum-3.2.29-81.el6.centos.noarch[root@bogon yum_rpms]# rpm -Uvh python-urlgrabber-3.9.1-11.el6.noarch.rpm warning: python-urlgrabber-3.9.1-11.el6.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEYPreparing... ########################################### [100%] 1:python-urlgrabber ########################################### [100%][root@bogon yum_rpms]# rpm -ivh yum-*warning: yum-3.2.29-81.el6.centos.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEYPreparing... ########################################### [100%] 1:yum-metadata-parser ########################################### [ 20%] 2:yum-plugin-fastestmirro########################################### [ 40%] 3:yum ########################################### [ 60%] 4:yum-updateonboot ########################################### [ 80%] 5:yum-utils ########################################### [100%] 更新repo源12345678910111213141516171819[root@bogon yum.repos.d]# cd /etc/yum.repos.d/[root@bogon yum.repos.d]# mv rhel-source.repo rhel-source.repo.bak[root@bogon yum.repos.d]# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo--2018-09-20 07:17:38-- http://mirrors.163.com/.help/CentOS6-Base-163.repoResolving mirrors.163.com... 59.111.0.251Connecting to mirrors.163.com|59.111.0.251|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 2006 (2.0K) [application/octet-stream]Saving to: “CentOS6-Base-163.repo”100%[===================================================================================>] 2,006 --.-K/s in 0s 2018-09-20 07:17:38 (363 MB/s) - “CentOS6-Base-163.repo” saved [2006/2006][root@bogon yum.repos.d]# lsCentOS6-Base-163.repo rhel-source.repo.bak#用vi编辑命令 :1,$s/$releasever/6#将CentOS6-Base-163.repo 里面的$releasever 替换为6 清理缓存 并验证12345678#清理缓存 yum clean allyum makecache#验证yum install telnet]]></content>
<categories>
<category>Linux</category>
</categories>
<tags>
<tag>RedHat6.5 yum源</tag>
</tags>
</entry>
<entry>
<title><![CDATA[HEXO-next 文章阅读次数、gulp压缩、调试命令优化]]></title>
<url>%2Fpost%2F9eb3a5aa.html</url>
<content type="text"><![CDATA[配置显示阅读次数、压缩js和css文件、几个偷懒小技巧 插件gitlab 地址https://github.com/theme-next/hexo-leancloud-counter-security 大致步骤参考如下博主文章:https://leaferx.online/2018/02/11/lc-security/ 其中在修正deploy的时候注意tab的控制,不然编译会报错: 12345678910deploy: #type: git #repository: [email protected]:x695/thinkee.github.io.git #repository: https://github.com/x695/thinkee.github.io.git #branch: master - type: git #repository: [email protected]:yangshixian/blog.git repository: [email protected]:thinkee/blog.coding.me.git branch: master - type: leancloud_counter_security_sync gulp进行压缩参考下面博主的文章: https://blog.csdn.net/sunshine940326/article/details/70936988 https://blog.csdn.net/ganzhilin520/article/details/79052512 nmp 脚本运行 简化调试动作在博客根目录下的package.json 中最后加入1234, "scripts": { "d": "hexo cl && hexo g && gulp && hexo d && hexo s" } 这样因为跑清理、部署、调试的时候,执行下1nmp run d 就可以了。 新建文章后自动打开vs code在博客跟目录下 建立 scripts 文件夹 写入下面的js文件,文件名随意命名 12345let spawn = require('hexo-util/lib/spawn');hexo.on('new', (data) => { spawn('code', [hexo.base_dir, data.path]);}); 这样就自动打开了 12 $ hexo new "HEXO-next 文章阅读次数、gulp压缩、调试命令优化"INFO Created: ~\hexo\blog\source\_posts\HEXO-next-文章阅读次数、gulp压缩、调试命令优化.md]]></content>
<categories>
<category>HEXO</category>
</categories>
<tags>
<tag>HEXO 优化</tag>
</tags>
</entry>
<entry>
<title><![CDATA[hexo-theme-next主题升级的时候配置文件冲突解决方法]]></title>
<url>%2Fpost%2Ff1011520.html</url>
<content type="text"><![CDATA[hexo-theme-next主题是hexo一个广为使用的主题。当采用git pull 升级的时候,会将master分支拉到本地中,然而 主题配置文件会和我们已经自定义过的配置冲突。官方提供了两个方法 next主题github地址https://github.com/theme-next/hexo-theme-next 当采用git pull 升级的时候,会将master分支拉到本地中,然而 主题配置文件会和我们已经自定义过的配置冲突。官方提供了两个方法: 1. git 操作命令来解决https://stackoverflow.com/questions/15745045/how-do-i-resolve-git-saying-commit-your-changes-or-stash-them-before-you-can-me/15745424#15745424 核心命令: 1234567891011121314151617Commit the change usinggit commit -m "My message"Stash it.Stashing acts as a stack, where you can push changes, and you pop them in reverse order.To stash, typegit stashDo the merge, and then pull the stash:git stash popDiscard the local changesusing git reset --hardor git checkout -t -f remote/branchOr: Discard local changes for a specific fileusing git checkout filename 2 用HEXO的DATA-FILES 来解决参见 https://github.com/theme-next/hexo-theme-next/blob/master/docs/DATA-FILES.md 推荐方法: 12345678910Please ensure you are using Hexo 3 (or above).Create an file named next.yml in site's hexo/source/_data directory (create _data directory if it did not exists).And after that steps there are 2 variants, need to choose only one of them and resume next steps.Variant 2: override: true:In next.yml set override option on true.Copy all NexT theme options from theme's next/_config.yml into hexo/source/_data/next.yml.Then, in main site's hexo/_config.yml need to define theme: next option (and if needed, source_dir: source).Use standart parameters to start server, generate or deploy (hexo clean && hexo g -d && hexo s).]]></content>
<categories>
<category>HEXO</category>
</categories>
<tags>
<tag>hexo-theme-next</tag>
</tags>
</entry>
<entry>
<title><![CDATA[HEXO_next主题 自带样式设置]]></title>
<url>%2Fpost%2F177574ba.html</url>
<content type="text"><![CDATA[参考文档: http://theme-next.iissnan.com/tag-plugins.html 居中居中标签设置 1{% cq %} 居中标签设置 {% endcq %} note样式Content (md partial supported) 1{% note default %} Content (md partial supported) {% endnote %} default 1<div class="note default"><p>default</p></div> primary 1<div class="note primary"><p>primary</p></div> success 1<div class="note success"><p>success</p></div> info 1<div class="note info"><p>info</p></div> warning 1<div class="note warning"><p>warning</p></div> danger 1<div class="note danger"><p>danger</p></div> danger no-icon 1<div class="note danger no-icon"><p>danger no-icon</p></div> 主题配置文件1234567891011121314# Note tag (bs-callout).note: # Note tag style values: # - simple bs-callout old alert style. Default. # - modern bs-callout new (v2-v3) alert style. # - flat flat callout style with background, like on Mozilla or StackOverflow. # - disabled disable all CSS styles import of note tag. style: simple icons: true #改成true 就可以显示图标 border_radius: 3 # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6). # Offset also applied to label tag variables. This option can work with disabled note tag. light_bg_offset: 0 label 样式default {% label default@default %} primary {% label primary@primary %} success {% label success@success %} info {% label info@info %} warning {% label warning@warning %} danger {% label danger@danger %} tab选项卡 1选项卡 2选项卡 3这是选项卡 1 列表 列表 这是选项卡 2 内容balabala2这是选项卡 3 哇,你找到我了!φ(≧ω≦*)♪~ 1234567891011121314百分号前面的数字就是定位在第几个tab上{% tabs 选项卡, 1 %} <!-- tab -->**这是选项卡 1** * 列表* 列表<!-- endtab --><!-- tab -->**这是选项卡 2** 内容balabala2<!-- endtab --><!-- tab -->**这是选项卡 3** 哇,你找到我了!φ(≧ω≦*)♪~<!-- endtab -->{% endtabs %}]]></content>
<categories>
<category>HEXO</category>
</categories>
</entry>
<entry>
<title><![CDATA[NPM包管理命令]]></title>
<url>%2Fpost%2Ffc7ee163.html</url>
<content type="text"><![CDATA[123456789101112npm安装模块【npm install xxx】利用 npm 安装xxx模块到当前命令行所在目录;【npm install -g xxx】利用npm安装全局模块xxx;本地安装时将模块写入package.json中:【npm install xxx】安装但不写入package.json;【npm install xxx –save】 安装并写入package.json的”dependencies”中;【npm install xxx –save-dev】安装并写入package.json的”devDependencies”中。npm 删除模块【npm uninstall xxx】删除xxx模块; 【npm uninstall -g xxx】删除全局模块xxx;]]></content>
<categories>
<category>Node.js</category>
</categories>
<tags>
<tag>npm admin</tag>
</tags>
</entry>
<entry>
<title><![CDATA[HEXO_next 主题个性配置]]></title>
<url>%2Fpost%2F84c36509.html</url>
<content type="text"><![CDATA[文章字数统计及耗时功能参加网址 https://github.com/theme-next/hexo-symbols-count-time 12345678# Post wordcount display settings# Dependencies: https://github.com/theme-next/hexo-symbols-count-timesymbols_count_time: separated_meta: false #设置成true后 会换行显示 item_text_post: true item_text_total: false awl: 4 wpm: 275]]></content>
<categories>
<category>HEXO</category>
</categories>
<tags>
<tag>HEXO</tag>
<tag>NEXT 主题</tag>
</tags>
</entry>
<entry>
<title><![CDATA[Hello World]]></title>
<url>%2Fpost%2F4a17b156.html</url>
<content type="text"><![CDATA[Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment]]></content>
</entry>
<entry>
<title></title>
<url>%2Fgoogle804c18c6a4502130.html</url>
<content type="text"><![CDATA[google-site-verification: google804c18c6a4502130.html]]></content>
</entry>
<entry>
<title><![CDATA[categories]]></title>
<url>%2Fcategories%2Findex.html</url>
<content type="text"></content>
</entry>
<entry>
<title><![CDATA[tags]]></title>
<url>%2Ftags%2Findex.html</url>
<content type="text"></content>
</entry>
</search>