pam

Oracle11g静默安装

蹲街弑〆低调 提交于 2019-11-29 04:39:38
静默安装Oracle11G 前期准备 1虚拟机准备: Centos 6.5 64位 内存2G 硬盘30G Cpu 4核 Hostname silent 将安装包放到/tmp/oracle目录下 2.软件所需依赖包检查 依赖包检查(root下执行) rpm -q binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers kernel-headers ksh libaio libaio-devel libgcc libgomp libstdc++ libstdc++-devel make numactl-devel sysstat unixODBC unixODBC-devel 由于我已经成功安装了一次,然后卸载重装出教程,此处以来表检查时候都已经存在了,如果不存在,可以yum安装 yum -y install xxxx即可 gcc安装顺序 ppl-0.10.2-11.el6.x86_64-->cloog-ppl-0.15.7-1.2.el6.x86_64-->mpfr-2.4.1-6.el6.x86_64-->cpp-4.4.7-18.el6.x86_64 3.创建Oracle用户和相应的属组

Resident Set Size (RSS) limit has no effect

自古美人都是妖i 提交于 2019-11-28 19:34:49
The following problem occurs on a machine running Ubuntu 10.04 with the 2.6.32-22-generic kernel: Setting a limit for the Resident Set Size (RSS) of a process does not seem to have any effect. I currently set the limit in Python with the following code: import resource # (100, 100) is the (soft, hard) limit. ~100kb. resource.setrlimit(resource.RLIMIT_RSS, (100, 100)) memory_sink = ['a']*10000000 # this should fail The list, memory_sink, succeeds every time. When I check RSS usage with top, I can easily get the process to use 1gb of RAM, which means that the limit is not working. Do RSS limits

Limit the memory and cpu available for a user in Linux

﹥>﹥吖頭↗ 提交于 2019-11-28 15:54:07
问题 I am a little concerned with the amount of resources that I can use in a shared machine. Is there any way to test if the administrator has a limit in the amount of resources that I can use? And if does, to make a more complete question, how can I set up such limit? Thank you. 回答1: For process related limits, you can have a look in /etc/security/limits.conf (read the comments in the file, use google or use man limits.conf for more information). And as jpalecek points out, you may use ulimit -a

Clustering algorithm for obtaining equal sized clusters

跟風遠走 提交于 2019-11-28 14:40:28
I am trying to form clusters around medoids using PAM algorithm in R. Is there anyway of fixing the cluster size for PAM (somewhat bruteforce the cluster size) ? Are there any other clustering algorithms that will provide equal sized clusters for medoids ? Thank you in advance for your help. You can modify a clustering algorithm to suit your needs. You can follow this Tutorial for Same-Size K-Means , or simply use this algorithm from the tutorial package/module in ELKI (build the latest version from GitHub, because I just fixed a bug there - this will be included in ELKI 0.7.2). Essentially,

exportfs命令 FTP介绍

依然范特西╮ 提交于 2019-11-28 13:58:45
12月10日任务 14.4 exportfs命令 14.5 NFS客户端问题 15.1 FTP介绍 15.2/15.3 使用vsftpd搭建ftp 1.exportfs命令 exportfs 命令, 常用选项 -a 全部挂载或者全部卸载 -r 重新挂载 -u 卸载某一个目录 -v 显示共享目录 以下操作在服务端上 vim /etc/exports //增加 /tmp/ 192.168.133.0/24(rw,sync,no_root_squash) exportfs -arv //不用重启nfs服务,配置文件就会生效,在服务端执行 如下是在客户端执行的情况 以下操作在客户端 mount -t nfs -onolock 192.168.133.130:/tmp /mnt 将目录挂载到/mnt 下 touch /mnt/test.txt 创建一个测试文件,随便写点内容 ls -l !$ 查看一下文件详细信息 在服务端的共享目录里,也可以看到这个文件 -oremount,nfsvers=3 未讲解 2.NFS客户端问题 NFS 4版本会有该问题 ,尤其是在centos 6 上使用会有这种问题 客户端挂载共享目录后,不管是root用户还是普通用户,创建新文件时属主、属组为nobody 客户端挂载时加上 -o nfsvers=3 指定版本为3 客户端和服务端都需要 编辑这个文件 vim

Clustering algorithm for obtaining equal sized clusters

廉价感情. 提交于 2019-11-27 08:43:11
问题 I am trying to form clusters around medoids using PAM algorithm in R. Is there anyway of fixing the cluster size for PAM (somewhat bruteforce the cluster size) ? Are there any other clustering algorithms that will provide equal sized clusters for medoids ? Thank you in advance for your help. 回答1: You can modify a clustering algorithm to suit your needs. You can follow this Tutorial for Same-Size K-Means, or simply use this algorithm from the tutorial package/module in ELKI (build the latest