Monthly Archives: January 2018

Script to install jenkins on ubuntu

echo "START" >> /tmp/status.txt sudo chmod 777 /tmp/status.txt # config jenkins installer on ubuntu sudo add-apt-repository ppa:webupd8team/java -y wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add - # config java8... Read More | Share it now!

Creating gCloud instance with Terraform

main.tf // Create a new instance resource "google_compute_instance" "default" { name = "${var.cluster-name}" machine_type = "${var.machine-type}" zone = "${var.gcloud-zone}" boot_disk { initialize_params { ... Read More | Share it now!

避免’sudo echo x >’ 时’Permission denied’

http://blog.csdn.net/hejinjing_tom_com/article/details/7767127 避免’sudo echo x >’ 时’Permission denied’ 甲: 示例 sudo echo a > 1.txt -bash: 1.txt: Permission denied 乙: 分析: bash... Read More | Share it now!

Installing Java Automatically (With Silent Option)

Auto agree with licence. https://askubuntu.com/questions/190582/installing-java-automatically-with-silent-option If OpenJDK/OpenJRE works fine for you, I recommend using that package instead as suggested by @SAM. However, some software really... Read More | Share it now!

MapReduce: Job提交过程

初学Hadoop,准备用几篇日志来陈述MapReduce job的生命周期中job提交、task分发和task执行,以及JT... Read More | Share it now!