随笔分类 -  Linux

Linux
摘要:参考 https://www.cnblogs.com/zhangmingcheng/p/7455278.html 在 /etc/rc.d/init.d 下创建zookeeper脚本 测试脚本是否能够正常运行 添加到开机启动并查看 知识点 对 /etc/rc.d/init.d 目录的一点理解 chkc 阅读全文
posted @ 2019-02-15 13:59 MicroCat 阅读(179) 评论(0) 推荐(0)
摘要:参考:https://linux.cn/article-5335-1.html 安装 vnc 服务器 配置 vnc 更改配置 /etc/systemd/system/vncserver@:1.service 替换成 重启 systemd 设置 vnc 密码 加入开机启动 other 防火墙、端口 b 阅读全文
posted @ 2018-01-15 10:39 MicroCat 阅读(171) 评论(0) 推荐(0)
摘要:配置导出的表:(configure.sh) 主程序代码:(start.sh) oracle 导出数据的存储过程: 参考:http://blog.csdn.net/huangzhijie3918/article/details/72732816 阅读全文
posted @ 2018-01-04 09:31 MicroCat 阅读(158) 评论(0) 推荐(0)
摘要:参考:http://www.runoob.com/linux/linux-shell-basic-operators.html 阅读全文
posted @ 2018-01-02 14:25 MicroCat 阅读(228) 评论(0) 推荐(0)
摘要:参考:http://www.runoob.com/linux/linux-shell-array.html 阅读全文
posted @ 2018-01-02 14:15 MicroCat 阅读(132) 评论(0) 推荐(0)
摘要:参考:http://www.runoob.com/linux/linux-shell-passing-arguments.html 阅读全文
posted @ 2018-01-02 13:54 MicroCat 阅读(254) 评论(0) 推荐(0)
摘要:参考:http://www.runoob.com/linux/linux-shell-variable.html 阅读全文
posted @ 2018-01-02 13:42 MicroCat 阅读(112) 评论(0) 推荐(0)
摘要:参考:http://blog.csdn.net/shangdiyisi/article/details/9477521 日志 /var/log/cron 阅读全文
posted @ 2017-12-01 12:54 MicroCat 阅读(231) 评论(0) 推荐(0)
摘要:参考:https://www.cnblogs.com/leixingzhi7/p/6281675.html 阅读全文
posted @ 2017-11-30 14:26 MicroCat 阅读(6614) 评论(0) 推荐(0)
摘要:参考:https://www.cnblogs.com/lixigang/articles/4849527.html 阅读全文
posted @ 2017-11-30 14:25 MicroCat 阅读(554) 评论(0) 推荐(0)
摘要:参考 http://blog.csdn.net/u013410747/article/details/61696178 查看已开放的端口(默认不开放任何端口) firewall-cmd --list-ports 开启80端口 firewall-cmd --zone=public --add-port 阅读全文
posted @ 2017-10-20 09:12 MicroCat 阅读(802) 评论(0) 推荐(0)
摘要:参考:http://www.cnblogs.com/Anker/p/3551508.html 阅读全文
posted @ 2017-10-20 09:07 MicroCat 阅读(345) 评论(0) 推荐(0)
摘要:参考:http://blog.csdn.net/zhangjs0322/article/details/32711211 http://gitolite.com/gitolite/fool_proof_setup/ 在安装完 git 的基础上安装 gitolite。 生成 SSH Key,这个 Ke 阅读全文
posted @ 2017-07-21 15:42 MicroCat 阅读(173) 评论(0) 推荐(0)
摘要:参考:http://kimi.it/370.html http://blog.csdn.net/wave_1102/article/details/47779401 开始直接用 yum install 安装 git,后来发现版本太低,就 yum remove 掉了。 整个过程也是神烦各种权限,包括后 阅读全文
posted @ 2017-07-19 15:03 MicroCat 阅读(155) 评论(0) 推荐(0)
摘要:参考:http://pengbotao.cn/linux-tar.html 这五个是独立的命令,压缩解压都要用到其中一个,可以和别的命令连用但只能用其中一个。 -c: 建立压缩档案 create a new archive -x:解压 extract files from an archive -t 阅读全文
posted @ 2017-02-13 09:50 MicroCat 阅读(169) 评论(0) 推荐(0)
摘要:参考:http://blog.csdn.net/ziju125521/article/details/52575715 使用wget下载一个 rpm包, 然后用 rpm -ivh xxx.rpm 安装这个软件,嫌麻烦的话,就 可以直接用 yum install sqoop 来自动下载和安装依赖的rp 阅读全文
posted @ 2017-02-10 15:32 MicroCat 阅读(252) 评论(0) 推荐(0)
摘要:参考:http://www.mamicode.com/info-detail-613410.html 查看yum库中jdk版本: 下载安装: 安装完默认在/usr/lib/jvm下 好像是不需要配置环境变量了。 下面是需要配置环境变量的情况该如何设置。 到/etc/profile下增加java环境变 阅读全文
posted @ 2017-02-10 15:02 MicroCat 阅读(188) 评论(0) 推荐(0)
摘要:参考 http://www.centoscn.com/CentosBug/softbug/2015/0823/6039.html Centos7默认是不启用有线网卡的,需要手动开启。 改完保存退出 阅读全文
posted @ 2017-02-10 13:23 MicroCat 阅读(618) 评论(0) 推荐(0)