dev つくる

cp .env.example .env
191 history
192 whoami
193 cd /var/www/html/
194 ls -la
195 cd /home/
196 mkdir vhosts
197 cd vhosts/
198 ls -la
199 mkdir rooking.co.jp
200 cd rooking.co.jp/
201 mkdir www
202 cd www/
203 pwd
204 cd ../
205 mv www/ dev
206 ls -la
207 cd dev/
208 pwd
209 vim /etc/httpd/conf/httpd.conf
210 cd /etc/httpd/
211 ls -la
212 mkdir vhosts
213 ls -la
214 cd vhosts/
215 ls -la
216 vim rooking.co.jp.conf
217 vim /etc/httpd/conf/httpd.conf
218 apachectl configtest
219 apachectl restart
220 cd /home/vhosts/rooking.co.jp/dev/
221 mkdir public
222 cd public/
223 vim index.html
224 vim /etc/httpd/vhosts/rooking.co.jp.conf

 

<virtualhost *:80>
documentroot "/home/vhosts/rooking.co.jp/dev/public/"
servername dev.rooking.co.jp
<directory "/home/vhosts/rooking.co.jp/dev/public/">
options all
allowoverride all
deny from none
</directory>
errorlog logs/rooking.co.jp-error_log
customlog logs/rooking.co.jp-access_log combined
</virtualhost>

 

 


225 apachectl restart
226 ls -la
227 cd ../../
228 ls -la
229 cd ../
230 ls -la
231 mkdir aeonnetcampus.com/html -p
232 ls -la
233 cd /etc/httpd/vhosts/
234 ls -la
235 cp rooking.co.jp.conf aeonnetcampus.com.conf
236 vim aeonnetcampus.com.conf


237 cd /home/vhosts/aeonnetcampus.com/
238 mkdir dev
239 ls -la
240 mv html/ dev/
241 ls -la
242 cd dev/
243 ls -la
244 apachectl configtest
245 vim /etc/httpd/conf/httpd.conf
246 apachectl configtest
247 cat /etc/redhat-release
248 apachectl restart
249 vim aeonnetcampus.com.conf
250 vim /etc/httpd/vhosts/aeonnetcampus.com.conf
251 vim /home/vhosts/aeonnetcampus.com/dev/html/index.html
252 apachectl restart
253 exit


260 cd /home/vhosts/rooking.co.jp/dev/
261 rm public/ -rf
262 touch readme1.md
263 ls -la
264 composer install
265 vim composer.json
266 ls -la
267 chmod 777 storage/ -R
268 ls -la
269 vim .env
270 vim config/app.php
271 composer install
272 chmod 777 bootstrap/ -R
273 vim config/app.php
274 composer update
275 vim config/app.php
276 exit!
277 exit
278 ls
279 cd /var/www/html
280 ls


307 whoami
311 ls
312 cd www.rooking.co.jp/
313 ls
314 chmod 777 bootstrap -R
315 chmod 777 storage -R
316 ls
317 tail -f /var/log/httpd/error_log
321 getenforce
322 setenforce 0
324 vim /etc/selinux/config
326 composer update
329 tail -f /var/log/httpd/error_log
337 vim /etc/sysconfig/network-scripts/ifcfg-lo
343 cd dev/
344 cat composer.json
345 exit