安装配置hosts配置: 用户: useradd spark1、SSH无密码登录2、JDK3、安装Scala 2.10.44、安装配置Spark4.1、解压与权限 chown -R spark:spark /opt/spark4.2、配置workervi conf/slavesES122ES123E...
分类:
其他好文 时间:
2014-09-12 11:35:33
阅读次数:
197
chgrp 语法 chgrp xu install.log chown 语法 chown xu install.logchmod 语法 chmod 777 install.logR:4 w:2 x:1owner group others 7 7 7cd/ tmp 切换工作目录到/tmpmkdir t...
分类:
系统相关 时间:
2014-09-10 19:16:20
阅读次数:
220
五、为了安全要求每次执行shell都手工输入密码$ vi test5.sh#!/bin/bashecho -n "Enter password for u_test:"read PASSWDsqlplus -S /nolog u_test.txt$ chmod g-rwx,o-rwx u_test....
分类:
数据库 时间:
2014-09-10 17:38:00
阅读次数:
207
sudo chmod og+w /etc/hosts
分类:
其他好文 时间:
2014-09-06 12:14:03
阅读次数:
211
1.wget https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz --no-check-certificate2. #chmod +x pip-1.3.1.tar.gz #tar xzvf pip-1.3.1.tar.gz ....
分类:
编程语言 时间:
2014-09-06 00:59:12
阅读次数:
237
#!/bin/bash
mkdir -p /u01/app/oracle
mkdir -p /u01/app/oraInventory
chown -R oracle:oinstall /u01
chmod -R 775 /u01
mkdir -p /u01/app/grid
chown -R grid:oinstall /u01/app/grid
chmod -R 775 /u01/...
分类:
其他好文 时间:
2014-09-04 23:47:20
阅读次数:
498
ssh-keygen -t dsa出现提示都回车就行。cd ~/.sshcat id_dsa.pub >> authorized_keys然后ssh localhost如果不需要密码就是设置成功了。如果不成功,检查authorized_keys和.ssh目录的权限chmod 644 authoriz...
分类:
其他好文 时间:
2014-09-04 23:35:40
阅读次数:
704
CHMOD(1) User Commands CHMOD(1)NAME chmod - change file mode bitsSYNOPSIS chmod [OPTION]... MODE[,MODE]... FILE... chmod [OPTION]... OCTAL-MODE FILE.....
分类:
系统相关 时间:
2014-09-03 23:58:17
阅读次数:
651
CHOWN(1) User Commands CHOWN(1)NAME chown - change file owner and groupSYNOPSIS chown [OPTION]... [OWNER][:[GROUP]] FILE... chown [OPTION]... --refere...
分类:
系统相关 时间:
2014-09-03 23:55:37
阅读次数:
389
/usr/share/info/coreutils.info.gzFile: coreutils.info, Node: touch invocation, Prev: chmod invocation, Up: Changing file attributes13.4 `touch': Chang...
分类:
系统相关 时间:
2014-09-03 19:45:07
阅读次数:
492