質問編集履歴
7
owner
test
CHANGED
File without changes
|
test
CHANGED
@@ -184,4 +184,4 @@
|
|
184
184
|
|
185
185
|
|
186
186
|
|
187
|
-
![イメージ説明](
|
187
|
+
![イメージ説明](5ab922fb757e0eaf7e75a97fc7a88a8c.png)
|
6
PHPinfo();
test
CHANGED
File without changes
|
test
CHANGED
@@ -182,4 +182,6 @@
|
|
182
182
|
|
183
183
|
何かおかしな事してしまったのかもしれません。
|
184
184
|
|
185
|
+
|
186
|
+
|
185
|
-
![イメージ説明](
|
187
|
+
![イメージ説明](340f6ceb7f80c84f87a63137a562d8bc.png)
|
5
phpinfo();の写真のアップです。
test
CHANGED
File without changes
|
test
CHANGED
@@ -181,3 +181,5 @@
|
|
181
181
|
上記のような警告が出ていました。
|
182
182
|
|
183
183
|
何かおかしな事してしまったのかもしれません。
|
184
|
+
|
185
|
+
![イメージ説明](ca90f0295985f54169ec27a7ec6306b3.png)
|
4
ntpqを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -100,8 +100,84 @@
|
|
100
100
|
|
101
101
|
時間は縮まった気がしますが
|
102
102
|
|
103
|
-
「Default timezone UTC」が以前のままでした。
|
103
|
+
「Default timezone UTC」が以前のままでした。
|
104
104
|
|
105
|
-
|
106
105
|
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
8
|
110
|
+
|
111
|
+
$ date
|
112
|
+
|
113
|
+
Thu Jan 23 23:36:57 JST 2020
|
114
|
+
|
115
|
+
$ ntpq -p
|
116
|
+
|
117
|
+
-bash: ntpq: command not found
|
118
|
+
|
119
|
+
↓
|
120
|
+
|
121
|
+
ntpq導入
|
122
|
+
|
123
|
+
yum install ntp
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
Package ntp-4.2.6p5-15.el6.centos.x86_64 already installed and latest version
|
128
|
+
|
129
|
+
Nothing to do
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
↓
|
134
|
+
|
135
|
+
再起動
|
136
|
+
|
137
|
+
↓
|
138
|
+
|
139
|
+
sudo yum install ntp
|
140
|
+
|
141
|
+
$ date
|
142
|
+
|
143
|
+
Thu Jan 23 23:50:42 JST 2020
|
144
|
+
|
145
|
+
$ ntpq -p
|
146
|
+
|
147
|
+
ntpq: read: Connection refused
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
※vagrant立ち上げる際に
|
152
|
+
|
153
|
+
ーーー
|
154
|
+
|
155
|
+
Vagrant was unable to mount VirtualBox shared folders. This is usually
|
156
|
+
|
157
|
+
because the filesystem "vboxsf" is not available. This filesystem is
|
158
|
+
|
159
|
+
made available via the VirtualBox Guest Additions and kernel module.
|
160
|
+
|
161
|
+
Please verify that these guest additions are properly installed in the
|
162
|
+
|
163
|
+
guest. This is not a bug in Vagrant and is usually caused by a faulty
|
164
|
+
|
107
|
-
|
165
|
+
Vagrant box. For context, the command attempted was:
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
mount -t vboxsf -o uid=500,gid=500 vagrant /vagrant
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
The error output from the command was:
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
/sbin/mount.vboxsf: mounting failed with the error: No such device
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
上記のような警告が出ていました。
|
182
|
+
|
183
|
+
何かおかしな事してしまったのかもしれません。
|
3
「Default timezone UTC」追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -98,7 +98,9 @@
|
|
98
98
|
|
99
99
|
でした。
|
100
100
|
|
101
|
+
時間は縮まった気がしますが
|
101
102
|
|
103
|
+
「Default timezone UTC」が以前のままでした。
|
102
104
|
|
103
105
|
|
104
106
|
|
2
vagrantの再起動方法の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -84,6 +84,22 @@
|
|
84
84
|
|
85
85
|
その後パソコンの再起動もしましたが時刻は変化しておりませんでした。
|
86
86
|
|
87
|
+
|
88
|
+
|
89
|
+
追加
|
90
|
+
|
91
|
+
7 vagrantの停止・再起動の方法が間違えていたようで「vagrant suspend」で試していたのですが方法を変更しました。「vagrant halt」⇒「vagrant reload」⇒「vagrant up」と試してみました。
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
現在時刻は 2020年1月23日16時31分
|
96
|
+
|
97
|
+
echo date("Y/m/d H:i:s");表示は 2020/01/22 22:32:06
|
98
|
+
|
99
|
+
でした。
|
100
|
+
|
101
|
+
|
102
|
+
|
87
103
|
|
88
104
|
|
89
105
|
![イメージ説明](f7758f67bd8b0b4fdc9f4d7dc9ec09b6.png)
|
1
アパッチ再起動を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,4 +64,26 @@
|
|
64
64
|
|
65
65
|
|
66
66
|
|
67
|
+
追加
|
68
|
+
|
69
|
+
6 /etc/httpd/conf/httpd.conf 書き換え後アパッチ再起動
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
ServerName localhost:80 //書き換え
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
vagrant@localhost ~]$ sudo service httpd restart
|
78
|
+
|
79
|
+
Stopping httpd: [ OK ]
|
80
|
+
|
81
|
+
Starting httpd: [ OK ]
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
その後パソコンの再起動もしましたが時刻は変化しておりませんでした。
|
86
|
+
|
87
|
+
|
88
|
+
|
67
|
-
![イメージ説明](f7758f67bd8b0b4fdc9f4d7dc9ec09b6.png)
|
89
|
+
![イメージ説明](f7758f67bd8b0b4fdc9f4d7dc9ec09b6.png)
|