Author Archives: Huang Shiyang

CentOs 6.x 升级 Python 版本

在CentOS 6.X 上面安装 Python 2.7.X CentOS 6.X 自带的python版本是 2.6 , 由于工作需要,很多时候需要2.7版本。所以需要进行版本升级。由于一些系统工具和服务是对 Python 有依赖的,所以升级 Python... Read More | Share it now!

linux cp命令参数及用法详解—linux 复制文件命令cp

cp (复制档案或目录) # cp 来源档(source) 目的檔(destination) # cp source1 source2 source3 …. directory 参数: -a :相当于 -pdr 的意思; -d :若来源文件为连结文件的属性(link... Read More | Share it now!

redirect url

 <meta http-equiv="refresh" content="0; URL='http://huangshiyang.com'" /> ... Read More | Share it now!

gcloud Installing Cloud SDK

https://cloud.google.com/sdk/gcloud/ gcloud 概览 本页面概况介绍了 gcloud 命令行工具及其常见命令模式和用法。 什么是 gcloud? gcloud 是一种工具,它为 Google Cloud Platform... Read More | Share it now!

Linux:CentOS install gradle

Ensure that this packages are installed: yum install bzip2 yum install unzip yum install wget Use this shell to install gradle. Copy this content in a file /tmp/gradle.sh cat > /tmp/gradle.sh #!/bin/bash # installs to /opt/gradle #... Read More | Share it now!

Fatal error compiling: invalid target release: 1.7

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project api: Fatal error compiling: invalid target release: 1.7 -> 根据错误提示invalid target release:... Read More | Share it now!

Downloading Apache Maven 3.3.9

https://maven.apache.org/download.cgi wget http://mirror.cogentco.com/pub/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz tar xzvf apache-maven-3.3.9-bin.tar.gz mvn clean install // Skip all unittests -DskipTests ... Read More | Share it now!

Google Cloud: Install gsutil

https://cloud.google.com/storage/docs/gsutil_install Enter the following at a command prompt: curl https://sdk.cloud.google.com | bash Restart your shell: exec -l $SHELL Run gcloud init to initialize the gcloud environment: gcloud init ... Read More | Share it now!

Installing the MapR Client on CentOS or Red Hat

Mapr-Repositories-centos Installing the MapR Client on CentOS or Red Hat Remove any previous MapR software. You can use rpm -qa | grep mapr to get a list of installed MapR packages, then type the packages separated by spaces after the rpm... Read More | Share it now!