.
[ ]   [ ]  [ ȥå | | ñ측 | ǿ | Хåå | إ ]


// author:1
**AWSAmazon Web ServiceˤWordPressѤ
Amazon Elastic Compute CloudAmazon EC2ˤϡޥ ӥAWS˥饦ɤǥѹǤ륳ԥ塼ƥ󥰥ѥƥ󶡤ޤLinux 󥹥󥹤³ˤϤĤˡꡢSSH 饤ȤѤ³뤳Ȥ˵Ҥޤ

[[PuTTY Ѥ Windows Linux 󥹥󥹤ؤ³>http://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/putty.html]]



***SSH
ec2-user

***sudo
[ec2-user@ip-xxx ~]$ sudo su -

***ApacheΥ󥹥ȡ
[root@ip-xxx ~]# yum install httpd~
[root@ip-xxx ~]# service httpd start~
[root@ip-xxx ~]# systemctl status httpd~
[root@ip-xxx ~]# systemctl enable httpd.service~
ѥ֥åIP˥֥饦ǥ

***mysqld mariadbˤΥ󥹥ȡ
[root@ip-xxx ~]# yum install mariadb mariadb-server~
[root@ip-xxx ~]# systemctl enable mariadb~
[root@ip-xxx ~]# systemctl start mariadb~
[root@ip-xxx ~]# mysql_secure_installation~
Enter current password for root (enter for none): type enter
Set root password? [Y/n] Y
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables 2016/03/10 () 15:26 [Y/n] Y
Thanks for using MariaDB!

***WordPRessΥ󥹥ȡ
[root@ip-xxx ~]# yum localinstall --nogpgcheck http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel//epel-release-latest-7.noarch.rpm~
[root@ip-xxx ~]# yum clean all~
[root@ip-xxx ~]# yum install php php-pear php-mysql php-mbstring php-gd php-mcrypt php-pecl-apcl~
[root@ip-xxx ~]# mysql -u root -p~
MariaDB [(none)] CREATE DATABASE wordpress;

[root@ip-xxx ~]# yum install wget~
[root@ip-xxx ~]# wget http://wordpress.org/latest.tar.gz~
[root@ip-xxx ~]# tar -xf latest.tar.gz~
[root@ip-xxx ~]# cp -rv wordpress/* /var/www/html/~
[root@ip-xxx ~]# chown -R apache:apache /var/www/html/~
֥饦ǥ

  ʬ եź źեե   Wikiȥå ǽ Хåå   إ   ǽRSS
Expert Menu
ǿ
2017-8-17 2016-7-19 2016-5-31 2016-4-12 2016-4-5 2016-3-28 2016-3-10 2015-8-7
ʤ
Yahoo Japan
̤
ͧͤʹ
URLΤäƤ
¾Ȥ
ǿСγǧ

Linuxexpert is one of the service presented by InfomationSquare. / OmakaseBlog Login  |  Register Now!