zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    【第五周读书笔记】我是一只IT小小鸟
    【第三周读书笔记】浅谈node.js中的异步回调和用jsxlsx操作Excel表格
    【第四周读书笔记】读构建之法第11到第16章
    【第一次个人作业】一条咸鱼的词频统计
    win10连接无线网,开启移动热点,手机连接它手机一直显示获取ip地址中。
    每月一次,免费领取小米云服务会员
    Spring Day 1
    oracle闪回查询和闪回数据库
    oracle异库同表名的两个数据库中数据合并或数据表结构的修改
    oracle使用SQL来生成SQL
  • 原文地址:https://www.cnblogs.com/linxinmeng/p/6822320.html
Copyright © 2011-2022 走看看