はじめに 脆弱性対応のためのアップデート作業というものは頻繁に発生するものですが、本番運用しているシステムではサービスへの影響を最小限にしたいものです。 アップデートした後、出来ることなら必要なプロセスだけリスタートさせることで済ませたいのですが、どのプロセスをリスタートすれば良いのか、そもそもOS再起動しないと反映されないものなのか、判断が付かない場合が少なくありません。 そのような場合のため、再起動が必要なプロセスを見つけたり、OS再起動が必要かどうかアドバイスしてくれるコマンドがあります。 Redhat系 「yum-utils」パッケージに入っている「needs-restarting」コマンドを使います。 # needs-restarting -h Usage: needs-restarting: Report a list of process ids of programs th
インフラストラクチャー部の宮下(@gosukenator)です。 クックパッドでは一部のサーバで Ubuntu を使い始めており、 apt リポジトリをどのように管理するのが良いのか、試行錯誤しています。aptリポジトリ管理で実現したいことは、主に次の2点です。 自前でビルドしたパッケージの管理 リモートリポジトリから削除された旧バージョンパッケージの保全 このあたりをいい感じにできるツールはないかな、と社内で話していたところ、カルビ生焼け王 に教えてもらったのが aptly です。 aptly とは 公式サイトに「aptly is a swiss army knife for Debian repository management」とあるように、aptly は多機能な apt リポジトリ管理用ツールです。外部リポジトリのミラー作成、ローカルリポジトリの作成、リポジトリのスナップショット
Swiss army knife for Debian repository management Aptly allows you to mirror remote repositories, manage local package repositories, take snapshots, pull new versions of packages along with dependencies, publish as Debian repository. You can try it right now for free, aptly is available both as CLI tool and HTTP REST service.
2月8日、Debianのテクニカルコミッティはひとつの決断を下した。チェアマンのBdale Garbee氏が開発者メーリングリストに投稿した内容によれば、Debianのデフォルトのinitシステムとしてsystemdを採用することが決定した。投稿を見ると、委員の間ではsystemd派とUpstart派に分かれて白熱した議論が展開されたらしい。最初の投票結果は4票対4票、まったく五分の戦いだったが、結果としてGarbee氏の後押しが影響しsystemdに落ち着いた。 call for votes on default Linux init system for jessie --debian-ctte 現在のLinuxディストリビューション開発では、initにsystemdを採用する流れが強く、Fedora/Red Hat、openSUSEなども最新バージョンではsystemdを選んでいる。
Translation(s): none This page is about optimal set up of an SSD (Solid State Drive). This page should be kept clean enough for beginners to get the most basic idea. Note that some of the configuration improvements listed below happen automatically today for new installations. WARNING Some firmware versions on some SSD models have bugs that result in data corruption when used in certain ways. For
Web制作初心者によるWebデザインやWebプログラムを扱った忘却ログビルドからのインストールを勉強していたときのメモになります。実稼働ではなく、単なる開発環境を想定しています。環境はUbuntu12.04。 下準備 UbuntuにはC++のコンパイラが入っていないのでインストールします sudo apt-get install g++ 次にMySQLを利用するユーザとグループを作成しておきます sudo groupadd mysql sudo useradd -g mysql mysql CMakeのインストール MySQL5.5以降はconfigureスクリプトが付属しないので、CMakeを使ってのインストールになります。こちらもバイナリからインストールしてみます。 公式サイトから最新バージョンをダウンロード。保存場所はどこでもいいのですが、今後特に指定がない限りは/usr/local
I found there were deb packages for mysql server on dev.mysql.com. You don’t need to build mysql yourself! Then I tried to use it. $ sudo dpkg -i mysql-5.6.8-rc-debian6.0-x86_64.deb But this package install files into /opt/mysql/server-5.6/, even client side files. So you shuld setup some environment. InstallYou need libaio-dev package. $ sudo apt-get install libaio-dev Make user/group of mysql. $
主に自分用なので読みにくいのはごめんなさい。また下記の設定だけで設定終了というものではありません。 サーバスペック メモリ16G Six Core Opteron 2.2GHz x 2 SAS 146G 3.5inch 15000rpm x 2 (RAID 1) X25-E 64G x 2 SATA 1T 3.5inch 7600rpm x 2(RAID 1) X25-EとSATA 1Tは後付けした。3.5inchのHDDを選択した場合、もともとSASx6のバックプレーンが付いているので、そこにSAS-SATA変換ケーブルでSATAのHDDをつないだ。この場合、BIOS画面でバックプレーンにケーブルが刺さってないとエラーが表示され、この状態だとIPMIの設定画面にいけなくなるので注意する。X25-EはSSDのためハードウェア障害はないものとしてRAID 1の設定はしていない。ただ、何らかの
If you’re looking for a developerWorks forum — Don't panic! You are in the right place. You are here because specific IBM developerWorks forums, blogs and other Connections content have been decommissioned. This page will help you find the content you are looking for, get answers to your questions, and find a new community to call home. Where am I? You are on the IBM Community area, a collection o
ひさしぶりにDebianでiptablesをいじる機会があって、「/etc/init.d/iptables」があるものだと思っていたらなかったという話。 woodyまではあったそれがsargeからは「/usr/share/doc/iptables/examples/oldinitdscript.gz」として外されてて、lennyではそれすらもなくなってる、という経緯らしい。 理由は、「/etc/init.d」にあると順番によってはiptablesのルールが有効になる前に他のサービスが上がってしまって、一次的に無防備になるのを防ぐためだとか。(だったらその旨を書いてどこかに置いておいてくれたらいいのに・・・。) で、どうするかというと、 「/etc/network/interfaces」で対象NICの「pre-up」と「post-down」にそれぞれルールの追加、削除を書く。 「/etc/n
Thanks for using apt-mirror. A small tool that provides ability to mirror any parts (or even all) of Debian and Ubuntu GNU/Linux distributions or any other apt sources which typically provided by open source developers. On Debian or Ubuntu simply: $ apt-get install apt-mirror $ nano /etc/apt/mirror.list $ sudo apt-mirror This can then easily be set to run via cron or continued to run manually when
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く