Download kernel source for CentOS 6.0
see also: http://kanjuku-tomato.blogspot.jp/2013/03/centos-63.html
# Add yum repository
sudo vi /etc/yum.repo.d/CentOS-Source.repo
mkdir /tmp/kernelsrc
cd /tmp/kernelsrc
@echo off | |
set PROXY_SERVER="proxy.example.com:80" | |
set PROXY_OVERRIDE="172.30.*" | |
echo *** Set proxy config *** | |
echo PROXY_ENABLE | |
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v "ProxyEnable" /t REG_DWORD /d "1" /f |
buildscript { | |
ext { | |
springBootVersion = '1.4.0.RELEASE' | |
} | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") | |
} |
image: java:8-jdk | |
stages: | |
- build | |
- test | |
- deploy | |
before_script: | |
# - echo `pwd` # debug | |
# - echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug |
var http = require('http'); | |
var fs = require('fs'); | |
var js2xmlparser = require('js2xmlparser'); | |
var search_url = 'http://search.maven.org/solrsearch/select?rows=20&wt=json&q=1:'; | |
// コマンドライン引数チェック | |
if (process.argv.length != 3) { | |
log("Usage `node mkmvn path/to/jar_list`"); | |
log("jar_list is required fciv output format"); |
# アップデート | |
yum -y update | |
# Japanese Locale の設定 | |
yum -y groupinstall "Japanese Support" | |
sed -i.org -e "s/en_US.UTF-8/ja_JP.UTF-8/g" /etc/sysconfig/i18n | |
# JST タイムゾーンに変更 | |
rm -f /etc/localtime | |
ln -s /usr/share/zoneinfo/Asia/Tokyo /etc/localtime |
# See also: https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+says+my+reverse+proxy+setup+is+broken | |
# Tested on Apache2.2.15/CentOS6 | |
# /etc/httpd/conf.d/proxy.conf | |
ProxyPass /jenkins http://localhost:8080/jenkins nocanon | |
ProxyPassReverse /jenkins http://localhost:8080/jenkins | |
ProxyRequests off | |
AllowEncodedSlashes on |
Download kernel source for CentOS 6.0
see also: http://kanjuku-tomato.blogspot.jp/2013/03/centos-63.html
# Add yum repository
sudo vi /etc/yum.repo.d/CentOS-Source.repo
mkdir /tmp/kernelsrc
cd /tmp/kernelsrc
see also:
Troubleshooting:
see also: https://about.gitlab.com/downloads/
sudo yum install curl openssh-server postfix cronie -y
sudo service postfix start
sudo chkconfig postfix on
// UDP Sample Client | |
// UDP 接続先 | |
var host = "localhost"; | |
var c_port = 41234; | |
var dgram = require("dgram"); | |
var client = dgram.createSocket("udp4"); | |
// サーバに送信するメッセージ | |
// var message = new Buffer("hello"); |