タグ

2014年5月27日のブックマーク (4件)

  • Cross-architecture Linux containers in Debian

    I wanted to create a Deb-o-Matic environment to testbuild packages for a different architecture. Taking inspiration on Stéphane’s excellent blog post, I tried to replicate the creation of a cross-architecture Linux container in Debian. Here are the steps I made: Load binfmt_misc module: # modprobe binfmt_misc Install the required packages: # apt-get install lxc debootstrap rsync qemu-user-static b

    Cross-architecture Linux containers in Debian
  • debianでgccのバージョンを切り替える - kinneko@転職先募集中の日記

    viコマンドを発行した場合に起動するアプリケーションは、nviかvimか。 起動するバイナリのデフォルトバージョンを変更したい。 そのあたりの問題を自由に制御するために、Debianではalternativesという仕組みを持っている。 altanativesは、同じ機能を持ったアプリケーションのデフォルト起動順の切り替えや、インストールされた異なるバージョンのソフトウエアのデフォルト起動順の切り替えを可能にする。 コマンドに対するシンボリックリンクをコントロールすることで機能を実現しているが、これを管理するツールとしてupdate-alternativesがある。 update-alternativesを使ってgccの切り替えを行うことができる。 現在インストールされているgccのパッケージ。 crossroad:/# dpkg -l | grep gcc | awk '{print $

    debianでgccのバージョンを切り替える - kinneko@転職先募集中の日記
    kotak
    kotak 2014/05/27
    update-alternatives の設定方法
  • Debian Jenkins Packages

    Jenkins Debian Packages This is the Debian package repository of Jenkins to automate installation and upgrade. To use this repository, first add the key to your system (for the Weekly Release Line): sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \ https://pkg.jenkins.io/debian/jenkins.io-2023.key Then add a Jenkins apt repository entry: echo "deb [signed-by=/usr/share/keyrings/jenkins-keyrin

    kotak
    kotak 2014/05/27
    how to install jenkins to Debian machine
  • codefirst を支える開発環境 07: Git-Jenkins 連携

    こんにちは R&D 担当の @suer です。 今回は Git と Jenkins の連携について、具体的な設定についてご紹介します。 Jenkins の設定まず、Jenkins のプロジェクトに Git リポジトリを登録します。 (Git リポジトリの登録には Git プラグインが必要です) Git の場合は、リポジトリ URL とブランチを設定します。 ビルドが開始すると、指定したリポジトリのブランチの先端から最新のソースコードを取得するようになります。 次に Jenkins のプロジェクトの設定で、リモートからビルドできるようにします。 Jeknins では認証トークンを設定することによって、HTTP 経由で外部からビルドを開始できるようになります。 ここでは、以下のように認証トークンを “as-build” としています。 URL については認証トークンのテキストボックスの下に書い

    codefirst を支える開発環境 07: Git-Jenkins 連携
    kotak
    kotak 2014/05/27
    リモートにあるgit repoにpushしたら、Jenkinsで自動でビルド実行する方法