ecshop+mysql+配置文件_PHP文件环境搭建—EcShop环境搭建

1  rpm -qa|grep yum|xargs rpm -e --nodeps

2  ls

3  rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm

4  rpm -ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm

5  rpm -ivh yum-3.2.29-69.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm

6  cd /etc/yum.repos.d/

7  lsmys

8  mv /root/CentOS-Base.txt ./CentOS-Base.repo

9  ls

10  yum clean all

11  yum makecache

12  cd

13  yum -y install httpd

14  chkconfig httpd on

15  service httpd start

16  yum -y install httpd-manual mod_ssl mod_perl mod_auth_mysql

17  yum -y install mysql mysql-server mysql-devel

18  chkconfig mysqld on

19  service mysqld start

20  /usr/bin/mysqladmin -u root password '123456'

21  mysql -u root -p

22   /usr/bin/mysql_secure_installation

23  mysql -u root -p

24  netstat -tulpn | grep -i mysql

25  yum -y install php php-mysql

26  yum search php

27  yum -y install gd php-gd gd-devel php-xml php-common php-mbstring php-ldap php-pear php-xmlrpc php-imap

28  service httpd restart

29  vim /var/www/html/index.php

30  cd /var/www/html/

31  cp /root/ecmoban_V2.7.3_UTF8_20160825\ \(2\).zip ./

32  unzip ecmoban_V2.7.3_UTF8_20160825\ \(2\).zip

33  ls

34  cd ecmoban_V2.7.3_UTF8_20160

35  lslsl

36  cd ecmoban_V2.7.3_UTF8_20160722/

37  ls

38  cd ecmoban_V2.7.3_UTF8_20160720/ls

39  ls

40  cd ../

41  ls

42  mv ecmoban_V2.7.3_UTF8_20160720/ ../ecmoban27

[root@localhost html]# ls

ecmoban_V2.7.3_UTF8_20160722  ecmoban_V2.7.3_UTF8_20160825.zip  index.php  phpinfo.php

[root@localhost html]# cd ecmoban_V2.7.3_UTF8_20160

-bash: cd: ecmoban_V2.7.3_UTF8_20160: No such file or directory

[root@localhost html]# cd ecmoban_V2.7.3_UTF8_20160722

[root@localhost ecmoban_V2.7.3_UTF8_20160722]# ls

ecmoban_V2.7.3_UTF8_20160720

[root@localhost ecmoban_V2.7.3_UTF8_20160722]# cd ecmoban_V2.7.3_UTF8_20160720

[root@localhost ecmoban_V2.7.3_UTF8_20160720]# cd ../

[root@localhost ecmoban_V2.7.3_UTF8_20160722]# ls

ecmoban_V2.7.3_UTF8_20160720

[root@localhost ecmoban_V2.7.3_UTF8_20160722]# mv ecmoban_V2.7.3_UTF8_20160720/ ../ecmoban27

[root@localhost ecmoban_V2.7.3_UTF8_20160722]# cd html/

-bash: cd: html/: No such file or directory

[root@localhost ecmoban_V2.7.3_UTF8_20160722]# cd html

-bash: cd: html: No such file or directory

[root@localhost ecmoban_V2.7.3_UTF8_20160722]# cd /

[root@localhost /]# cd www

-bash: cd: www: No such file or directory

[root@localhost /]# cd .var/

[root@localhost var]# cd www

[root@localhost www]# ls

cgi-bin  error  html  icons

[root@localhost www]# cd html

[root@localhost html]# ls

ecmoban27  ecmoban_V2.7.3_UTF8_20160722  ecmoban_V2.7.3_UTF8_20160825.zip  index.php  phpinfo.php

[root@localhost html]# chmod -r 777 *

chmod: cannot access `777': No such file or directory

[root@localhost html]# chmod -R 777 *

[root@localhost html]#

Connection closed by foreign host.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值