精华内容
下载资源
问答
  • lamp ubuntu

    2012-08-16 10:01:48
    虽然ubuntu安装lamp很简单,但还是很多朋友安装不成功,借此把一下安装步骤写一下看看 安装步骤 1.Install SSH Client and Server (for my remote access) sudo apt-get install ssh 2. Install ...

    apt-get install openssh-server  ,then modify the root password.

    apt-get install apache2

    apt-get install mysql-server mysql-client, input passwd in the insatlling process.

    apt-get install php5 libapache2-mod-php5

    a error  phpmyadmin

     

     

     

    how to install mod_security   :http://www.howtoforge.com/installing-mod-security-on-sles10

     

     

    虽然ubuntu安装lamp很简单,但还是很多朋友安装不成功,借此把一下安装步骤写一下看看

    安装步骤

    1.Install SSH Client and Server (for my remote access)

    sudo apt-get install ssh

    2. Install Database Server(传言现在只能装5.0的版本,别的我没实践过)

    sudo apt-get install mysql-server-5.0

    3. Install Apache HTTP Server

    sudo apt-get install apache2

    4.Install PHP5 and Apache PHP5 module

    sudo apt-get install php5 libapache2-mod-php5

    5.Install php5-mysql

    sudo apt-get install php5-mysql

    6. Restart Apache

    sudo /etc/init.d/apache2 restart

    7. Optionally, install phpMyAdmin
    sudo apt-get install phpmyadmin

    注意:如果你想运行php脚本,还得安装php5-cli

    sudo apt-get install php5-cli(这个是网上查到的,但是有些人没有提到这条。)

    配置

    1.配置php5

    sudo gedit /etc/php5/apache2/php.ini

    允许 mysql 和 gd 模块,检查文件最后是否包含下面的代码,如果没有添加上。(默认是在配置文件最后有添加的,检查一下以防万一)
    extension=mysql.so
    extension=gd.so

    2.配置apache2

    sudo gedit /etc/apache2/conf.d/charset
    这个是网站编码配置,里面内容很少,打开看就知道了,我这里将最后行的 #AddDefaultCharset UTF-8 前面的#去掉,使用UTF-8编码,当然也可以把 UTF-8改成别的编码.

    sudo gedit /etc/apache2/sites-available/default

    更改apache2运行路径,更改DocumentRoot 指向的路径(绝对路径),更改< Directory > 里的路径,和DocumentRoot保持一致

    3.配置 mysql,让它支持其它客户端访问,如果你不需要就不用修改。
    sudo gedit /etc/mysql/my.cnf

    查找文件
    skip-networking
    修改为
    #skip-networking
    保存并关闭文件。

    重新启动 mysql
    sudo /etc/init.d/mysql restart

    测试

    为了检查你的

    为检查你的PHP安装状态:
    sudo gedit /var/www/testphp.php
    在上述文件中插入下面这行代码:
    < ?php phpinfo(); ?>
    在Web浏览器中查看此页面,通过 http://yourserveripaddress/testphp.phphttp://localhost/testphp.php 地址
    补充
    运行、停止和重启Apache
    使用如下命令运行 Apache:
    sudo /usr/sbin/apache2ctl start

    要停止 Apache,使用:
    sudo /usr/sbin/apache2ctl stop

    最后,重启 Apache,执行如下命令:
    sudo /usr/sbin/apache2ctl restart

    展开全文
  • 详细解释LAMP搭建及其周边

    LAMP Ubuntu 12.04 LTS 搭建

    转载请声明http://blog.csdn.net/atvance016

    基本组件的安装

    #!/bin/env bash
    
    #update
    sudo apt-get update
    
    echo "********************LAMP*****************************"
    apt-get install install apache2 php5 mysql-server php5-mysql
    
    echo "********************php5-extend gd curl******************************"
    apt-get install php5-gd curl libcurl3 libcurl3-dev php5-curl
    测试脚本

    位置放在/var/www 中

    <?php 
    echo mysql_connect('127.0.0.1', 'root', '输入你安装时候给MYSQL设定的密码') ? "mysql ok" : "数据库连接失败";
    
    phpinfo();
    
     ?>

    检索页面GD curl  mysql 这些

    php5常用扩展

    sudo apt-get install php5-gd curl libcurl3 libcurl3-dev php5-curl

    mysql remote access

    /etc/mysql/my.cnf   把 bind_address= 127.0.0.1 注释掉

    安装memcache

    sudo apt-get instal memcached

    sudo apt-get instal php5-memcache

    最好用apt安装

    sudo vi /etc/php5/conf.d/memcache.ini
    ;uncomment the next line to enable the module
    extension=memcache.so

    [memcache]
    memcache.dbpath="/var/lib/memcache"
    memcache.maxreclevel=0
    memcache.maxfiles=0
    memcache.archivememlim=0
    memcache.maxfilesize=0
    memcache.maxratio=0

    继续打开上个测试页面检索memcache

    源码安装

    需要依赖

    http://www.monkey.org/~provos/libevent-2.0.13-stable.tar.gz

    http://www.danga.com/memcached/dist/memcached-1.4.0.tar.gz

    最好切到root /tmp

    下载

    tar xzvf libevent-2.0.21-stable.tar.gz
    cd libevent-2.0.21-stable
    ./configure 
    make install

    安装完后可以查看下/usr/lib是否有libevent等文件(ls -al /usr/lib | grep libevent)

    tar xzvf memcached-1.4.15.tar.gz
    cd memcached-1.4.15
    ./configure --with-libevent=/usr
    make
    make install

    ls -al /usr/local/bin/memcached

    /usr/local/bin/memcached -d -m 1024 -u root -p 11211

    # telnet 127.0.0.1 11211
    如果出现: Trying 127.0.0.1...
       Connected to 127.0.0.1.
       Escape character is '^]'

    OK

    安装redis

    sudo apt-get install redis-server

    注意make test 如果不过 安装 sudo apt-get install tcl8.5 

    ps -aux|grep redis

    redis-cliredis 127.0.0.1:6379>

    redis 127.0.0.1:6379> set key1 "hello"

    OK

    redis 127.0.0.1:6379> get key1"hello"


    sudo vi /etc/redis/redis.conf

    #取消注释requirepass

    requirepass 密码

    设置密码

    sudo vi /etc/redis/redis.conf #注释bind#bind 127.0.0.1  远程访问



    安装扩展

    wget https://github.com/nicolasff/phpredis/zipball/master -O php-redis.zip
    unzip php-redis.zip
    进入目录:cd php-redis
    phpize (ps:这个是php-dev下的编译扩展的工具,如果没有的话快点执行 sudo apt-get install php5-dev安装)
    如果说libssl 缺少 先安他

    apt-get install libssl 如果还是安不了

    那么就 aptitude install libssl  记住选n y y y 别选错了..

    ./configure
    make

    make install

    修改php.ini文件(/etc/php5/apache2/php.ini或者/etc/php5/fpm/php.ini)
    extension=redis.so

    或者在/etc/php5/conf.d  中

    vim redis.ini  里面写上extension=redis.so

    重启apache

    再次回到测试页面 搜索redis

    $redis = new Redis();
    $redis->connect('127.0.0.1',6379);
    $redis->set('name','jigsaw');
    echo $redis->get('name')

    完毕

    下面是源码安装redis

    cd /tmp  
    wget http://download.redis.io/releases/redis-2.8.8.tar.gz  
    cd redis-2.8.8  
    make  
    make install  

    sudo mkdir /etc/redis  
    sudo cp redis.conf /etc/redis/6379.conf  
    cd utils  
    sudo cp redis_init_script /etc/init.d/redis_6379   

    打开后
    redis_6379 
    
    修改 

    ${REDISPORT}.pid

    去掉${REDISPORT}

    sudo mkdir -p /var/redis/6379  
    sudo vim /etc/redis/6379.conf  
    需要修改的项如下:

    设置服务为后台程序:daemonize yes
    设置日志文件路径:logfile "/var/log/redis_6379.log"
    设置数据库文件路径:dir "/var/redis/6379"

    sudo service redis_6379 start  
    redis-cli  
    >set key “hello 
    >OK  
    >get key
    ”hello

    /var/redis/6379/dump.rdb是否存在
    查看/var/log/redis_6379.log是否有内容
    OK

    <?
    $redis = new Redis();
    $redis->connect(‘127.0.0.1′,6379);
    $redis->set(‘test’,'hello world!’);
    echo $redis->get(‘test’);
    ?>


    展开全文
  • Ubuntu上安装LAMP

    2014-04-04 09:03:20
    Ubuntu上安装LAMPUbuntu上安装LAMP Ubuntu的开发人员让人们很容易安装和配置LAMP软件包,只要借助一个终端命令。所以,打开终端窗口,让我们开始入手吧。 sudo apt-get install lamp-server^  是的,你...

    Ubuntu上安装LAMP

    在Ubuntu上安装LAMP

    Ubuntu的开发人员让人们很容易安装和配置LAMP软件包,只要借助一个终端命令。所以,打开终端窗口,让我们开始入手吧。

    1. sudo apt-get install lamp-server^ 

    是的,你没有看错。不要漏了末尾的那个脱字符号(^)。要是少了这个脱字符号,这个命令就无法运行。就是这么神奇!

    在Ubuntu上安装LAMP

    apt软件包管理器现在会显示需要安装、等待确认的软件包。输入回车键,确认并继续安装。

    安装LAMP软件包

    下载软件包花了一点时间后,系统会提示你为MySQL的根用户设置密码。

    设置MySQL根密码

    输入你想用于MySQL的密码。此处不能空着。系统会提示你第二次输入,以确认密码。

    确认MySQL根密码

    确认密码后,apt会继续安装剩余的软件包。

    剩余LAMP软件包的安装

    你的LAMP安装现已完成。哇,就是这么简单!现在只剩下几个步骤来进行配置,以便你可以轻松使用系统。

    测试Apache

    打开Web浏览器窗口,输入地址http://localhost/。你应该会看到一个网页显示"It Works!"。

    Apache可正常工作

    测试php

    你已确认了Apache Web服务器可正常工作,于是你应该确保所安装的php正常工作。为此,你需要在/var/www中创建一个名为testing.php的文件。你可以以根用户的身份使用常用的文本编辑器,也可以使用下面这个终端命令:

    1. echo "<?php phpinfo(); ?>" | sudo tee /var/www/testing.php 

    之后,你需要重新启动Apache Web服务器。

    1. sudo service apache2 restart 

    回到Web浏览器,输入地址http://localhost/testing.php/,你应该会看到一个网页显示关于所安装的php的信息。

    php信息

    安装phpMyAdmin

    强烈建议不要从源里安装
    phpmyadmin官网上下载软件包,解
    缩到本地目录/var/www/phpmyadmin
    tips:如果你请直接解压到/var/www/phpmyadmin,如果不存在phpmyadmin,请自行创建 
    在终端下执行

    sudo cp /var/www/phpmyadmin/config.sample.inc.php /var/www/phpmyadmin/config.inc.php
    sudo gedit /var/www/phpmyadmin/config.inc.php
    

    找到“blowfish_secret”在后面填上任意字母

    $cfg['Servers'][$i]['auth_type']='cookie';
    $cfg['Servers'][$i]['host']='localhost';
    $cfg['Servers'][$i]['connect_type']='tcp';
    $cfg['Servers'][$i]['compress']='false';
    $cfg['Servers'][$i]['extension']='mysql';


    保存,退出


    安装php5-mcrypt

    sudo apt-get install php5-mcrypt
    

    编辑php配置文件

    sudo gedit /etc/php5/apache2/php.ini 
    

    在extension下面加上(任何独立一行就行)

    extension=php_mcrypt.so (原来的php5-mcrypt.so无效)
    


    保存,重启apache2

    sudo /etc/init.d/apache2 restart
    

    在浏览器里输入http://localhost/phpmyadmin 

    注:如果进入phpmyadmin出现配置文件引用失败则删除刚自己添加的

    $cfg['Servers'][$i]['auth_type']='cookie';
    $cfg['Servers'][$i]['host']='localhost';
    $cfg['Servers'][$i]['connect_type']='tcp';
    $cfg['Servers'][$i]['compress']='false';
    $cfg['Servers'][$i]['extension']='mysql';


    保存,退出 
    然后再重启apache2

    sudo /etc/init.d/apache2 restart
    

    在浏览器里输入http://localhost/phpmyadmin 

    测试phpMyAdmin

    最后一步就是,确保phpMyAdmin在正常运行。打开Web浏览器,输入地址 http://localhost/phpmyadmin/。你应该会看到像这样的页面。 

    phpMyAdmin登录屏幕

    现在你应该能够以用户名root和之前创建的根密码来登录。

    phpMyAdmin已登录

    恭喜你,现在你已完成了在Ubuntu 12.04上安装和配置LAMP及phpMyAdmin的工作。现在,你可以开始创建本地的网站了。如果你只是在从事一个网站的开发,可以把文件放入到/var/www。请注意:/var/www归用户和用户组root所有,所以你需要以根用户身的份将文件拷贝过去,或者更改该目录的所有权及/或权限,那样就能在那里写文件了。另外,你可以进行一些另外的Apache配置,那样可以将文件保留在主目录下的某个地方。你甚至可以以那种方式搭建多个网站。


    展开全文
  • lamp on ubuntu

    2014-11-13 22:09:17
    How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 14.04  2014-07-06 17:49:38| 分类: PHP |举报 |字号 订阅 Introduction A "LAMP" stack is a group of open source ...

    How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 14.04  

    Introduction

    A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP.

    In this guide, we'll get a LAMP stack installed on an Ubuntu 14.04 Droplet. Ubuntu will fulfill our first requirement: a Linux operating system.

    Prerequisites

    Before you begin with this guide, you should have a separate, non-root user account set up on your server. You can learn how to do this by completing steps 1-4 in the initial server setup for Ubuntu 14.04.

    Step One — Install Apache

    The Apache web server is currently the most popular web server in the world, which makes it a great default choice for hosting a website.

    We can install Apache easily using Ubuntu's package manager, apt. A package manager allows us to install most software pain-free from a repository maintained by Ubuntu. You can learn more about how to use apt here.

    For our purposes, we can get started by typing these commands:

    sudo apt-get update
    sudo apt-get install apache2
    

    Since we are using a sudo command, these operations get executed with root privileges. It will ask you for your regular user's password to verify your intentions.

    Afterwards, your web server is installed.

    You can do a spot check right away to verify that everything went as planned by visiting your server's public IP address in your web browser (see the note under the next heading to find out what your public IP address is if you do not have this information already):

    http://your_server_IP_address
    

    You will see the default Ubuntu 14.04 Apache web page, which is there for informational and testing purposes. It should look something like this:

    Ubuntu 14.04 Apache default

    If you see this page, then your web server is now correctly installed.

    How To Find your Server's Public IP Address

    If you do not know what your server's public IP address is, there are a number of ways you can find it. Usually, this is the address you use to connect to your server through SSH.

    From the command line, you can find this a few ways. First, you can use the iproute2 tools to get your address by typing this:

    ip addr show eth0 | grep inet | awk '{ print $2; }' | sed 's/\/.*$//'
    

    This will give you one or two lines back. They are both correct addresses, but your computer may only be able to use one of them, so feel free to try each one.

    An alternative method is to use an outside party to tell you how it sees your server. You can do this by asking a specific server what your IP address is:

    curl http://icanhazip.com
    

    Regardless of the method you use to get your IP address, you can type it into your web browser's address bar to get to your server.

    Step Two — Install MySQL

    Now that we have our web server up and running, it is time to install MySQL. MySQL is a database management system. Basically, it will organize and provide access to databases where our site can store information.

    Again, we can use apt to acquire and install our software. This time, we'll also install some other "helper" packages that will assist us in getting our components to communicate with each other:

    sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
    

    Note: In this case, you do not have to run sudo apt-get update prior to the command. This is because we recently ran it in the commands above to install Apache. The package index on our computer should already be up-to-date.

    During the installation, your server will ask you to select and confirm a password for the MySQL "root" user. This is an administrative account in MySQL that has increased privileges. Think of it as being similar to the root account for the server itself (the one you are configuring now is a MySQL-specific account however).

    When the installation is complete, we need to run some additional commands to get our MySQL environment set up securely.

    First, we need to tell MySQL to create its database directory structure where it will store its information. You can do this by typing:

    sudo mysql_install_db
    

    Afterwards, we want to run a simple security script that will remove some dangerous defaults and lock down access to our database system a little bit. Start the interactive script by running:

    sudo mysql_secure_installation
    

    You will be asked to enter the password you set for the MySQL root account. Next, it will ask you if you want to change that password. If you are happy with your current password, type "n" for "no" at the prompt.

    For the rest of the questions, you should simply hit the "ENTER" key through each prompt to accept the default values. This will remove some sample users and databases, disable remote root logins, and load these new rules so that MySQL immediately respects the changes we have made.

    At this point, your database system is now set up and we can move on.

    Step Three — Install PHP

    PHP is the component of our setup that will process code to display dynamic content. It can run scripts, connect to our MySQL databases to get information, and hand the processed content over to our web server to display.

    We can once again leverage the apt system to install our components. We're going to include some helper packages as well:

    sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
    

    This should install PHP without any problems. We'll test this in a moment.

    In most cases, we'll want to modify the way that Apache serves files when a directory is requested. Currently, if a user requests a directory from the server, Apache will first look for a file called index.html. We want to tell our web server to prefer PHP files, so we'll make Apache look for an index.php file first.

    To do this, type this command to open the dir.conf file in a text editor with root privileges:

    sudo nano /etc/apache2/mods-enabled/dir.conf
    

    It will look like this:

    <IfModule mod_dir.c>
        DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
    </IfModule>
    

    We want to move the PHP index file highlighted above to the first position after theDirectoryIndex specification, like this:

    <IfModule mod_dir.c>
        DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
    </IfModule>
    

    When you are finished, save and close the file by pressing "CTRL-X". You'll have to confirm the save by typing "Y" and then hit "ENTER" to confirm the file save location.

    After this, we need to restart the Apache web server in order for our changes to be recognized. You can do this by typing this:

    sudo service apache2 restart
    

    Install PHP Modules

    To enhance the functionality of PHP, we can optionally install some additional modules.

    To see the available options for PHP modules and libraries, you can type this into your system:

    apt-cache search php5-
    

    The results are all optional components that you can install. It will give you a short description for each:

    php5-cgi - server-side, HTML-embedded scripting language (CGI binary)
    php5-cli - command-line interpreter for the php5 scripting language
    php5-common - Common files for packages built from the php5 source
    php5-curl - CURL module for php5
    php5-dbg - Debug symbols for PHP5
    php5-dev - Files for PHP5 module development
    php5-gd - GD module for php5
    . . .
    

    To get more information about what each module does, you can either search the internet, or you can look at the long description in the package by typing:

    apt-cache show package_name
    

    There will be a lot of output, with one field called Description-en which will have a longer explanation of the functionality that the module provides.

    For example, to find out what the php5-cli module does, we could type this:

    apt-cache show php5-cli
    

    Along with a large amount of other information, you'll find something that looks like this:

    . . .
    SHA256: 91cfdbda65df65c9a4a5bd3478d6e7d3e92c53efcddf3436bbe9bbe27eca409d
    Description-en: command-line interpreter for the php5 scripting language
     This package provides the /usr/bin/php5 command interpreter, useful for
     testing PHP scripts from a shell or performing general shell scripting tasks.
     .
     The following extensions are built in: bcmath bz2 calendar Core ctype date
     dba dom ereg exif fileinfo filter ftp gettext hash iconv libxml mbstring
     mhash openssl pcntl pcre Phar posix Reflection session shmop SimpleXML soap
     sockets SPL standard sysvmsg sysvsem sysvshm tokenizer wddx xml xmlreader
     xmlwriter zip zlib.
     .
     PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used
     open source general-purpose scripting language that is especially suited
     for web development and can be embedded into HTML.
    Description-md5: f8450d3b28653dcf1a4615f3b1d4e347
    Homepage: http://www.php.net/
    . . .
    

    If, after researching, you decide you would like to install a package, you can do so by using the apt-get install command like we have been doing for our other software.

    If we decided that php5-cli is something that we need, we could type:

    sudo apt-get install php5-cli
    

    If you want to install more than one module, you can do that by listing each one, separated by a space, following the apt-get install command, like this:

    sudo apt-get install package1 package2 ...
    

    At this point, your LAMP stack is installed and configured. We should still test out our PHP though.

    Step Four — Test PHP Processing on your Web Server

    In order to test that our system is configured properly for PHP, we can create a very basic PHP script.

    We will call this script info.php. In order for Apache to find the file and serve it correctly, it must be saved to a very specific directory, which is called the "web root".

    In Ubuntu 14.04, this directory is located at /var/www/html/. We can create the file at that location by typing:

    sudo nano /var/www/html/info.php
    

    This will open a blank file. We want to put the following text, which is valid PHP code, inside the file:

    <?php
    phpinfo();
    ?>
    

    When you are finished, save and close the file.

    Now we can test whether our web server can correctly display content generated by a PHP script. To try this out, we just have to visit this page in our web browser. You'll need your server's public IP address again.

    The address you want to visit will be:

    http://your_server_IP_address/info.php
    

    The page that you come to should look something like this:

    Ubuntu 14.04 default PHP info

    This page basically gives you information about your server from the perspective of PHP. It is useful for debugging and to ensure that your settings are being applied correctly.

    If this was successful, then your PHP is working as expected.

    You probably want to remove this file after this test because it could actually give information about your server to unauthorized users. To do this, you can type this:

    sudo rm /var/www/html/info.php
    

    You can always recreate this page if you need to access the information again later.

    Conclusion

    Now that you have a LAMP stack installed, you have many choices for what to do next. Basically, you've installed a platform that will allow you to install most kinds of websites and web software on your server.

    Some popular options are:

    Note: We will be updating the links above to our 14.04 documentation as it is written.

    点击打开链接 
    展开全文
  • LAMP+ubuntu

    2012-12-11 07:24:09
    基于Linux+appache+Mysql+php的安装配置。
  • ubuntulamp的部署

    2018-07-16 16:09:35
    ubuntulamp的部署ubuntulamp的部署ubuntulamp的部署ubuntulamp的部署
  • ubuntu lamp

    2012-12-08 21:51:48
    安装 当然不使用Gnome,使用终端命令也很简单: 直接一条命令:apt-get install apache2 mysql-server mysql-client php5 php5-gd php5-mysql 设置Ubuntu文件执行读写权限 LAMP组建安装好之后,PHP网络服务器根...
  • ubuntu lamp

    2011-12-29 23:16:12
    如果是ubuntu系统的话,直接依次运行以下命令即可。 sudo apt-get install tasksel sudo tasksel install lamp-server sudo apt-get install phpmyadmin sudo ln -s /usr/share/phpmyadmin /var/www ...
  • Ubuntu LAMP

    2016-07-08 11:04:00
    环境: Ubuntu 14.04 XAMPP 提供了一种简单的搭建方式 Apache sudo apt-get install apache2 启动 Apache : sudo /etc/init.d/apache2 start 重启 Apache: sudo /etc/init.d/apache2 ...
  • ubuntu LAMP 配置

    2019-09-29 11:34:02
    ubuntu LAMP 配置文件位置: apache:/etc/apache2/apache2.conf php:/etc/php5/apache2/php.ini mysql:/etc/mysql/my.cnf ubuntu LAMP 常见命令: apache重启:sudo /etc/init.d/apache...
  • Ubuntu安装LAMP教程

    2018-02-21 09:38:21
    Ubuntu安装LAMP服务器教程,图文解说,满足Ubuntu用户安装LAMP要求
  • Ubuntu安装LAMP

    2019-08-31 12:38:34
    Ubuntu安装LAMP 安装中提示找不到包: sudo apt-get update sudo apt-get upgrade 安装tasksel: sudo apt-get install tasksel 一键安装lamp: sudo tasksel install lamp-server // 卸载: sudo tasksel remove lamp...
  • Ubuntu搭建lamp

    2021-01-20 14:57:29
    阿里云免费领了半年的服务器,lamp环境搭建了n次,这里总结一下基本操作。 安装apache2 apt install apache2 -y 安装mysql apt install mysql-server -y mysql安全配置 mysql_secure_installation 是否安装验证...
  • ubuntu安装LAMP

    千次阅读 2018-07-05 10:51:23
    ubuntu一键安装LAMP首先记住一个命令:更新一下系统,经常执行有助于系统健康,有什么包找不到,执行一下可能就有了:sudo apt-get updatesudo apt-get upgrade先安装一下tasksel: sudo apt-get install ...
  • ubuntu 下安装lamp 到php5.4

    千次阅读 2014-03-16 23:06:20
    就写 linux ubuntu 下安装lamp ubuntu 下安装lamp 整了一个礼拜。 晕死了。各种方案,编译的命令安装的。 失败了N次。 最后搞出来了。总结下。 首先用ubuntu现有的命令直接装lamp环境的话。受ubuntu ppa源的...
  • Ubuntu上安装LAMP Ubuntu的开发人员让人们很容易安装和配置LAMP软件包,只要借助一个终端命令。所以,打开终端窗口,让我们开始入手吧。
  • LAMP on Ubuntu 16.04

    2017-10-18 15:08:02
    具体命令: 安装apache:apt-get install apache2 安装mysql:apt-get install mysql-server 设置mysql密码 检查mysql端口是否监听:sudo netstat -tap | grep mysql 安装...
  • Ubuntu10.04下安装LAMP有一个简单的好用的方法: 打开新立得软件包管理器。 编辑 使用任务分组标记软件包 在其中选定LAMP,应用即可。 中间要设置下mysql的root密码。 在ubuntu较新的版本中,默认是没有...
  • ubuntu 配置lamp

    2013-08-09 13:41:52
    本文主要说明如何在Ubuntu下配置PHP开发环境LAMP。  Ubuntu 搭建 php 环境  所谓LAMP:Linux,Apache,Mysql,PHP  安装 Apache2:  sudo apt-get install apache2  安装PHP模块: ...
  • Ubuntu下搭建LAMP

    2021-03-13 22:52:48
    Ubuntu service 18.04
  • win10 bash的安装 参考: ...装好ubuntu 之后,进入系统(建议安装ubuntu的时候设置账户用root账户,如果不是root账户,运行下面命令的时候请自己切换root账户或者在命令前面加上sudo): 安装apache: apt-get ...
  • ubuntu 安裝LAMP

    2011-10-19 20:49:58
    詳細介紹linux中安裝LAMP過程步驟
  • ubuntu 搭建lamp

    2016-05-31 13:21:44
    直接一条命令:apt-get install apache2 MySQL-server mysql-client php5 php5-gd php5-mysql设置Ubuntu文件执行读写权限LAMP 组建安装好之后,PHP网络服务器根目录默认设置是在:/var/www。由于Linux系统的安全性...
  • Ubuntu上安装LAMP Ubuntu的开发人员让人们很容易安装和配置LAMP软件包,只要借助一个终端命令。所以,打开终端窗口,让我们开始入手吧。 sudoapt-getinstalllamp-server^ 是的,你没有看错。不要漏了末尾的...
  • ubuntu LAMP安装

    2011-11-08 20:38:36
    一、 安装tasksel ubuntu只要安装tasksel程序就可以帮您自动安装一些服务器 sudo apt-get install tasksel 二、 安装lamp sudo tasksel install lamp-server 三、 安装gd库 sudo apt-get install ...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 4,162
精华内容 1,664
关键字:

lampubuntu