0%

控制

  • git init G
  • git add/rm
  • git commit -m “informatiom”

查看修改

  • git status
  • git diff # failure after use git add
  • git log [–pretty=oneline//不输出作者时间等信息 ]
    • git log --graph --pretty=oneline --abbrev-commit
Read more »

安装

Oracle in Docker

docke search oracle,选择相应的 image 拉取

1
2
3
$ docker run -d --name oracle \
--privileged -v $(pwd)/oradata:/u01/app/oracle \
-p 8080:8080 -p 1521:1521 absolutapps/oracle-12c-ee

镜像说明文档 中 Additional options 的意思是自己基于它的基础包重修 build 的时候可以修改的参数。

PS:在给自用 Ubuntu 安装时非常顺利,在给测试平台的Centos7安装时诡异地出现了docker-entrypoint.sh中一条chown语句卡出运行不了,修改文件中相应的语句后成功安装。

Read more »

简介

虚拟机磁盘文件格式

  • VDI:virtual box 自有文件格式
  • VMDK:VMWare 格式,受到众多软件支持,具有将存储的文件分割为少于 2 GB 文件的附加功能
  • VHD:微软家的格式
Read more »

安装

环境:Ubuntu 16.04 / python3.5

安装报错Could not import pypandoc - required to package PySpark,进行了如下操作

1
2
3
4
pip install -U pip
pip install -U setuptools
sudo apt install pandoc #不确定是否起作用
pip install pypandoc

运行时发现未安装 JAVA

1
sudo apt install openjdk-8-jdk

成功运行

Read more »

Linux 系统包含两类环境变量:系统环境变量和用户环境变量。

系统环境变量对所有系统用户都有效,用户环境变量仅仅对当前的用户有效。

1、修改用户环境变量
用户环境变量通常被存储在下面的文件中:

  • ~/.profile

  • ~/.bash_profile 或者 ~./bash_login

  • ~/.bashrc

上述文件在 Ubuntu 10.0 以前版本不推荐使用。

Read more »

实现方法

常见的 ETL 实现方法

  1. 借助 ETL 工具(如 Oracle 的 OWB、Informatic、Kettle 等)实现
  2. SQL 方式实现
  3. ETL 工具和 SQL 相结合。

借助工具可以快速的建立起 ETL 工程,屏蔽了复杂的编码任务,提高了速度,降低了难度,但是缺少灵活性。SQL 的方法优点是灵活,提高 ETL 运行效率,但是编码复杂,对技术要求比较高。往往需要结合使用。

Read more »

本文记录 Linux 使用过程中遇到的小问题和解决方法,比较杂。

日常使用Ubuntu 18.04,服务器常用CentOS 7

Read more »