Jetpackが導入できない場合の対処法のメモ書き

Error Details: The Jetpack server could not communicate with your site's XML-RPC URL. Please check to make sure http://example.com/xmlrpc.php is working properly. It should show 'XML-RPC server accepts POST requests only.' on a line by its…

install Chrome in Debian jessie

dpkg -i Downloads/google-chrome-stable_current_amd64.deb Selecting previously unselected package google-chrome-stable. (Reading database ... 93066 files and directories currently installed.) Preparing to unpack .../google-chrome-stable_cur…

)

echo "Usage: $0 {start|stop|restart}" exit 1 esacexit 0 /usr/local/bin/vpnserver/vpncmd vpncmd command - SoftEther VPN Command Line Management Utility SoftEther VPN Command Line Management Utility (vpncmd command) Version 4.19 Build 9605 (…

Debian Jessie SoftEather 設定メモ

apt-get install build-essential wget http://jp.softether-download.com/files/softether/v4.19-9605-beta-2016.03.06-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.19-9605-beta-2016.03.06-linux-x64-64bit.tar.…

KVM導入 Debian

apt-get install qemu-kvm libvirt-bin virt-manager

Snorby入れてみた Debian Wheezy

//とりあえず必要なパッケージなどを入れる(Rubyとかその周辺apt-get install mysql-server mysql-client snort-mysql libyaml-dev git-core default-jre imagemagick libmagickwand-dev wkhtmltopdf build-essential libssl-dev libreadline-gplv2-dev zli…

-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.

mysqlバックアップのお決まりの呪文 mysqldump -uroot -ppassword -x --all-databases > /backup/`date +%Y%m%d`mysqldump.sql を唱えると Warning: Skipping the data of table mysql.event. Specify the --events option explicitly. などとエラー履かれた…

mdadm修復中メモ

root@debian:~# cat /proc/mdstat Personalities : [raid1] md1 : active raid1 sdb5[0] sdc5[1] 976233280 blocks super 1.2 [2/2] [UU] [==========>..........] resync = 52.1% (508785088/976233280) finish=154.3min speed=50474K/secmd0 : active raid…

Cannot load from mysql.proc. The table is probably corrupted

MySQLで Cannot load from mysql.proc. The table is probably corruptedのようなエラーが出た時の解決策 mysql_upgrade -u root -p --force

Debianでやっておきたいセキュリティあれこれ

1ユーザーのrootへのログイン制限 addgroup --gid 11 wheel gid11が開いているらしいのでそこにwheelグループを作る usermod -a -G wheel alumina ユーザー(alumina)をwheelグループに所属させるvisudo%wheel ALL=(ALL) ALL を追加vi /etc/pam.d/su # auth…

[....] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0

Debian WheezyでApacheの再起動時に [....] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ... waiting apache2: Could not reliably determine the ser…

[client 192.168.x.x] mod_fcgid: HTTP request length xxxxxx (so far) exceeds MaxRequestLen (xxxxxx), referer: http://example.com/

[warn] [client 192.168.x.x] mod_fcgid: HTTP request length xxxxxx (so far) exceeds MaxRequestLen (xxxxxx), referer: http://example.com/上記のようなエラーメッセージがWordPressで画像をアップロードしようとした時、fcgidでphpをラッパーしている…

Debian WheezyにTrac入れてみる

#aptitude install python python-pkg-resources python-setuptools #easy_install genshi #easy_install babel user@Server:~/public_html$ mkdir trac user@Server:~/public_html$ trac-admin /home/user/public_html/trac/ initenv Creating a new Trac e…

Debian SqueezeにKVM導入 ゲストにDebianSqueezeを

#aptitude install ssh bridge-utils libvirt-bin virt-managersshは通信用 libvirtは管理用API virtmanagerは管理ソフト#adduser user libvirtユーザーをlibvirtグループに入れる でなければ と警告 Unable to open connection to hypervisor URI'qume:///s…

Lxde on Debianでスクリーンショットをとれるようにする

#aptitude install imagemagick #cd /usr/local/bin/ #vi screenshot.sh #!/bin/bash DATE=`date +%Y-%m-%d\ %H:%M:%S` import -window root "$HOME/Desktop/screenshot $DATE.png" #chmod a+x screenshot.sh #vi /home/user/.config/openbox/lxde-rc.xml 18…

結城浩先生のキャンペーンに当選しました!

結城浩先生のキャンペーンに当選しました!ありがとうございます!

結城浩先生のJava本3版発売されるってよ

ソース『Java言語プログラミングレッスン第3版』無料プレゼント http://d.hatena.ne.jp/hyuki/20121109/jb結城先生のプログラミング入門本のJava版こと”Java言語プログラミングレッスン第3版”が発売されるようです またそれに伴いラッキーセブン七名様に新刊…

snmpd[****]: error on subcontainer 'ia_addr' insert (-1)

ネタ元http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559109snmpd[****]: error on subcontainer 'ia_addr' insert (-1) syslogがこのようなエラーに埋まっていたので対処 logのレベルを落として対処する感じか?vi /etc/default/snmpdSNMPDOPTS='-Lsd …

Xenにイメージを追加する

dd if=/dev/zero of=/home/somewhere/some.img bs=10M count=350 #bs*countだけ作成される(約3.5GBmke2fs -j -F /home/somewhere/some.img #イメージをext3でフォーマットxm block-attach Domain-UName file:/home/somewhere/some.img /dev/xvda3 w #一時的…

ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)

ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)なるエラーメッセージが出てきたのでなぞデータベースにはdebian-sys-maintがある cat /etc/mysql/debian.cnf で # Automatically generated for Debian s…

DebianSqueezeでUUIDの調べ方が変わってた

ls -l /dev/disk/by-uuid で出てくるどうやらLinux的にこちらが主流らしい/lib/udev/vol_id -u /dev/sdc みたいな調べ方は稀なやりかったみたいだ

メモ

環境Debian SqueezeデフォルトでエディターがなのなのでVimに変更する aptget install vim updateーalternatives ーーconfig editor locales変更 dpkgーreconfigure locales