Skip to content

Instantly share code, notes, and snippets.

#wordpress
server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log /var/log/nginx/log/host.access.log main;
location / {
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
body {
width: 35em;
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
}
@t-min
t-min / gist:1ae17c3320f9562c2a5e
Created August 30, 2014 10:24
nginxforwpc5.conf
server {
listen 80;
server_name localhost;
# $document_root にパスをセット
root /var/www;
location / {
root /var/www;
index index.php index.html index.htm;
server {
listen 80;
server_name localhost;
# $document_root にパスをセット
root /usr/share/nginx/html;
location / {
root /usr/share/nginx/html;
index index.php index.html index.htm;
server {
listen 80;
server_name localhost;
# $document_root にパスをセット
root /usr/share/nginx/html;
location / {
root /usr/share/nginx/html;
index index.php index.html index.htm;
server {
listen 80;
server_name localhost;
# $document_root にパスをセット
root /usr/share/nginx/html;
location / {
root /usr/share/nginx/html;
index index.php index.html index.htm;
$ php -v
(中略)
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendConfigEntry ::= { nsExtendConfigTable 1 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostRowStatus ::= { netSnmpHostsEntry 5 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostStorage ::= { netSnmpHostsEntry 4 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostAddress ::= { netSnmpHostsEntry 3 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostAddressType ::= { netSnmpHostsEntry 2 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostName ::= { netSnmpHostsEntry 1 }
Cannot adopt OID in UCD-SNMP-MIB: prEntry ::= { prTable 1 }
Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpExampleNotification ::= { netSnmpExampleNotifications 1 }
$ sudo apt-get install -y snmp snmpd snmp-mibs-downloader
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
以下の特別パッケージがインストールされます:
smistrip
以下のパッケージが新たにインストールされます:
smistrip snmp snmp-mibs-downloader snmpd
アップグレード: 0 個、新規インストール: 4 個、削除: 0 個、保留: 0 個。
(中略)
C:/Ruby21-x64/bin/ruby.exe -r ./siteconf20141004-4112-5eeuhi.rb extconf.rb
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
<!DOCTYPE HTML>
<html lang="<%template_language>">
<head>
<meta charset="<%template_charset>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="<%author_name>" />
<meta name="description" content="<%introduction>" />
<title><%blog_name><!--permanent_area--> |<%sub_title><!--/permanent_area--><!--date_area--> |<!--/date_area--><!--category_area--> |<!--/category_area--><!--not_permanent_area--><%sub_title><!--/not_permanent_area--></title>
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" charset="<%template_charset>" />