精华内容
下载资源
问答
  • libiconv安装

    万次阅读 2017-11-22 09:46:04
    1.yum安装 yum -y install libevent libevent-devel 2.源码安装 yum -y install libevent-devel cd / wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.15.tar.gz tar -zxvf libiconv-1.15.tar.gz cd ...

    1.yum安装

    yum -y install libevent libevent-devel

    2.源码安装

    yum -y install libevent-devel
    cd /  
    wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.15.tar.gz  
    tar -zxvf libiconv-1.15.tar.gz  
    cd libiconv-1.15  
    ./configure --prefix=/usr/local/libiconv  
    make && make install


    展开全文
  • libiconv的安装 ...yum安装 yum -y install libevent libevent-devel .源码安装yum -y install libevent-devel wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.15.tar.gz tar -zxvf libiconv...

    libiconv的安装

    我的路径在/application/tools下存放

    yum安装

    yum -y install libevent libevent-devel

    .源码安装
    yum -y install libevent-devel

    wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.15.tar.gz
    tar -zxvf libiconv-1.15.tar.gz
    cd libiconv-1.15
    ./configure --prefix=/application/libiconv
    make &&make install

    转载于:https://blog.51cto.com/13754503/2154913

    展开全文
  • zabbix-3.0.4mysql-5.7.17libiconv-1.14.tar.gzphp-...yum安装 nginx mysql php yum源 [nginx]name=nginx repobaseurl=http://nginx.org/packages/centos/6/$basearch/gpgcheck=0enabled=1[webtatic]name=We...

    zabbix-3.0.4
    mysql-5.7.17
    libiconv-1.14.tar.gz
    php-5.6.30

    yum安装 nginx  mysql  php 

    yum源

    [nginx]
    name=nginx repo
    baseurl=http://nginx.org/packages/centos/6/$basearch/
    gpgcheck=0
    enabled=1

    [webtatic]
    name=Webtatic Repository EL6 - $basearch
    #baseurl=http://repo.webtatic.com/yum/el6/$basearch/
    mirrorlist=http://mirror.webtatic.com/yum/el6/$basearch/mirrorlist
    failovermethod=priority
    enabled=0
    gpgcheck=0

    [epel]
    name=Extra Packages for Enterprise Linux 6 - $basearch
    baseurl=http://mirrors.aliyun.com/epel/6/$basearch
    http://mirrors.aliyuncs.com/epel/6/$basearch
    #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
    failovermethod=priority
    enabled=1
    gpgcheck=0

    [remi]
    name=Les RPM de remi pour Enterprise Linux 6 - $basearch
    #baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
    mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
    enabled=1
    gpgcheck=0
    [zabbix]
    name=Zabbix Official Repository - $basearch
    baseurl=http://repo.zabbix.com/zabbix/3.0/rhel/6/$basearch/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX

    [zabbix-non-supported]
    name=Zabbix Official Repository non-supported - $basearch
    baseurl=http://repo.zabbix.com/non-supported/rhel/6/$basearch/
    enabled=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
    gpgcheck=1



    /etc/nginx/conf.d/default.conf   nginx配置文件目录
    /usr/share/nginx/html/     nginx root目录
    /etc/httpd/conf.d/php.conf     /etc/php.ini php配置
    /etc/zabbix/web/zabbix.conf.php  
    /etc/httpd/conf.d/php.conf

    which nginx           #查看nginx是否存在
    which php             #查看php是否存在
    which mysql          #查看mysql是否存在

    yum install pcre* gcc gcc-c++ autoconf automake zlib libxml libjpeg freetype libpng gd curl zlib-devel libxml2-devel libjpeg-devel freetype-devel libpng-devel gd-devel curl-devel openssl openssl-devel bzip2-devel crypto libscrypt glibc net-snmp-devel -y
    yum install cmake gcc* ncurses-devel -y
    yum install mysql-devel  nginx  php  php-fpm php-mysql   -y

    如果缺少bcmath 。。。。  则yum install php-bcmath 。。。。。。。。。。。。。

    nginx部分:

    修改nginx配置文件让PHP的请求转发到php-fpm所绑定的ip和端口上:

    vi /etc/nginx/conf.d/default.conf                 #行[37-43]

    去掉#号:

    location ~ \.php$ {

          root /usr/share/nginx/html;

          fastcgi_pass 127.0.0.1:9000;

          fastcgi_index index.php;

          fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

          include fastcgi_params;

          }

    验证是否处理请求PHP文件:

    vi /usr/share/nginx/html/info.php

    <?php

       phpinfo();

    ?>

    检查是否可以通过php操作mysql数据库:

    vi /usr/share/nginx/html/db.php

    <?php

      @mysqli_connect("localhost","root","","mysql") or die("connect mysql failed\n");

      echo "connect ok\n";

    ---------------------------------------------------------

    php /usr/share/nginx/html/db.php         #用命令行执行php

    http://182.92.73.109/db.php                   #在浏览器执行



    修改php.ini  vi /etc/php.ini
    max_execution_time = 300
    max_input_time = 300
    date.timezone = Asia/Shanghai
    post_max_size = 32M
    memory_limit = 128M
    mbstring.func_overload = 2

    yum安装zabbix

    https://www.zabbix.com/documentation/3.4/zh/manual/installation/install_from_packages  官方文档,注意版本问题。

    #rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm
    #yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent -y

    然后导入初始架构(Schema)和数据。

    # cd /usr/share/doc/zabbix-server-mysql-3.1.14
    # zcat create.sql.gz | mysql -uroot -p zabbix 

    在zabbix_server.conf中编辑数据库配置

    # vi /etc/zabbix/zabbix_server.conf
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=zabbix

    启动 zabbix-server:

    #service zabbix-server start

    编辑Zabbix前端的PHP配置

    #vi /etc/httpd/conf.d/php.conf

          php_value max_execution_time 300
          php_value memory_limit 128M
          php_value post_max_size 16M
          php_value upload_max_filesize 2M
          php_value max_input_time 300
          php_value always_populate_raw_post_data -1
          php_value date.timezone Asia/Shanghai


    导入zabbix数据库
     mysql -u root -p         #输入密码,进入MySQL控制台
    create database zabbix character set utf8; #创建数据库zabbix,并且数据库编码使用utf8
    grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';
     #新建账户zabbix,密码zabbix
    flush privileges;           #再次刷新系统授权表
    grant all on zabbix.* to 'zabbix'@'localhost' identified by 'zabbix' with grant option; #允许账户zabbix能从本机连接到数据库zabbix
    flush privileges;         #再次刷新系统授权表
    use zabbix                  #进入数据库,并刷新数据库,一定要按照sql文件顺序
    source /home/soft/zabbix-3.0.0alpha2/database/mysql/schema.sql #导入脚本文件到zabbix数据库
    source /home/soft/zabbix-3.0.0alpha2/database/mysql/images.sql #导入脚本文件到zabbix数据库
    source /home/soft/zabbix-3.0.0alpha2/database/mysql/data.sql #导入脚本文件到zabbix数据库

    cd /usr/share/doc/zabbix-server-mysql-3.0.14
    mysql -uzabbix -p zabbix < create.sql

    mysql注意事项:

    编辑zabbix_server.conf文件
    vi  /etc/zabbix/etc/zabbix_server.conf
    LogFile=/tmp/zabbix_server.log
    PidFile=/tmp/zabbix_server.pid
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=zabbix

    zabbix界面汉化
    vi /usr/share/zabbix/include/locales.inc.php  
    找到zh_CN  将,flase改为true
    web设置:administration-->users-->admin-->language

    转载于:https://www.cnblogs.com/feng-shao/p/8350848.html

    展开全文
  • fedora 安装libiconv

    2015-06-04 22:49:00
    前几天换fedora系统,安装PHP时,系统提示没有没有找到liconv动态链接库,这货在centos中好像是在glibc中的,不知道是不是fedora 20的缘故,yum源中的glibc没有iconv,那得自己去下载源码包安装了。 解压执行...

    前几天换fedora系统,安装PHP时,系统提示没有没有找到liconv动态链接库,这货在centos中好像是在glibc中的,不知道是不是fedora 20的缘故,yum源中的glibc没有iconv,那得自己去下载源码包安装了。

    解压执行configure,提示:
    ./stdio.h:1010:1: error: 'gets' undeclared here (not in a function)
    _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
    报错说gets没有声明到神马神马的,请用fgets替换,在C89以上,gets是不推荐用的啦,我们在本目录中执行:
    vi srclib/stdio.in.h文件,接着搜索到:
    _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); 这一行,然后把这个替换成:
    #if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
    _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
    #endif

    转载于:https://www.cnblogs.com/hilo/p/4553292.html

    展开全文
  • 安装php的时候,经常需要根据具体需求安装特定版本的php以及其扩展。本文主要讲解一些安装php扩展的主要流程和遇到问题的解决...3、安装一些主要的扩展包 (有一些包是yum上没有的,这个时候我们需要自己编译这些包
  • 问题分析: 应用运行时找不到需要的动态链接库libiconv.so.2。一般是文件不存在或者存在但是找不到两种情况。 解决方案: 这时首先确认自己的...sudo yum install libiconv 或者使用源码安装,可以参考文章: https
  • 编译安装php7时报错“Please ...但yum安装又提示“No package libiconv available”。 无奈,只能下载libiconv源码安装了!依次执行下列代码: wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14....
  • Smokeping安装

    2011-03-13 15:43:28
    2.1 安装环境 总体环境: Centos5.5_64 + ...2.2 安装过程 (1)YUM安装 使用YUM安装以下软件: freetype freetype-devel libpng libpng-devel gd gd-devel libxml2 libxml2-devel libiconv libiconv-devel ...
  • LNMP编译安装

    2019-02-22 10:33:00
    目录 LNMP编译安装 1.安装准备 1.1 先卸载之前yum安装的相关软件 1.2 安装编译工具和相关依赖 1.3 下载依赖安装包 1.4 安装libiconv,libmcrypt,mhash,bision 2.编译安装mysql...
  • PHP安装

    2019-09-18 07:29:58
    系统环境:CentOS 6.5 / 7.0 x86_64Fedora 20 x86_64一.yum安装依赖包程序包yum install zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libjpeg-devel freetype-devel libpng-...
  • centos 安装php

    2017-01-29 15:35:53
    yum安装依赖库 yum install -y make cmake gcc gcc-c++ autoconf automake libpng-devel libjpeg-devel zlib libxml2-devel ncurses-devel bison \ libtool-ltdl-devel libiconv libmcrypt mhash mcrypt pcre-dev
  • php安装

    2018-06-05 21:33:40
    yum install -y zlib-devel libxml2-devel libjpeg-devle libipeg-turbo-devel libiconv-develyum install -y freetype-devel libpng-devel gd-devel libcurl-devel libxslt-devel1.1 安装libiconvwget htt...
  • yum -y install zlib-devel libxml2-devel libjpeg-devel libjpeg-turbo-devel libiconv-devel yum -y install freetype-devel libpng-devel gd libcurl-devel libxslt-devel yum -y install op...
  • centos7.0安装php5.6.30

    2017-12-26 15:52:57
    1、查看当前系统版本 # cat /etc/redhat-release CentOS Linux release 7.2.1511 ...2、yum安装依赖的程序包 yum install zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libj
  • smokepin安装及使用

    2016-03-25 17:55:43
    1、基础环境 yum安装yum -y install freetype freetype-devel libpng libpng-devel gd gd-devel libxml2 libxml2-devellibiconv libiconv-devel pango pango-devel qpixman qpixman-devel glib glib-devel cairo...
  • linux 手动源码安装lnmp笔记(亲测)先安装这2个yum install gccyum install g++先在linux 安装libiconv 源码编译安装PHP有用#wget ...libiconv-1.14# ./...
  • 系统环境: CentOS 6.5 / 7.0 x86_64 ...一.yum安装依赖包程序包 yum install zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libjpeg-devel freetype-devel l...
  • 需要先成功安装mysql检查安装PHP需要的编译库:yum install -y zlib-devel libxml2-devel libjpeg-turbo-devel libiconv-develyum install -y freetype-devel libpng-devel gd-devel libcurl-de...
  • 编译安装php

    2017-06-04 19:53:13
    在编译安装php时需要安装一下软件yum install -y zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libjpeg-devel freetype-devel libpng-devel gd-devel curl-devel安装好后需要...
  • git 安装

    2016-08-07 16:05:00
    yum源中安装的git版本是1.7.1,太老了,Github等需要的Git...Git 的工作需要调用 curl,zlib,openssl,expat,libiconv 等库的代码,所以需要先安装这些依赖工具 [root@GIT ~]# yum install curl-devel expat-de...
  • 为了下面的安装顺利建议先使用yum安装依赖库。 yum install -y make cmake gcc gcc-c++ autoconf automake libpng-devel libjpeg-devel zlib libxml2-devel ncurses-devel bison libtool-ltdl-devel libiconv ...
  • Git 各平台安装包下载地址为:http://git-scm.com/downloads Linux 平台上安装Git 的工作需要调用 curl,zlib,openssl,expat,libiconv 等库的代码,所以需要先安装这些依赖工具。 在有 yum 的系统上(...
  • GIT安装

    2021-01-16 16:23:53
    Git 的工作需要调用 curl,zlib,openssl,expat,libiconv 等库的代码,所以需要先安装这些依赖工具。在有 yum 的系统上(比如 Fedora)或者有 apt-get 的系统上(比如 Debian 体系),可以用下面的命令安装yum ...
  • 编译安装php-5.6.30.tar.gz

    千次阅读 2017-02-22 13:44:50
    1、查看当前系统版本 # cat /etc/redhat-release ...2、yum安装依赖的程序包 yum install zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libjpeg-devel free...
  • PHP源码安装

    2017-01-20 15:32:00
    1.安装php依赖包  yum install zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel\ libxml2-devel libjpeg-devel freetype-devel libpng-devel gd-devel curl-devel -y  安装libiconv ./...
  • PHP编译安装

    2018-03-30 18:26:00
    PHP5.6编译安装wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repoyum install zlib-devel libxml2-devel libjpeg-devel libjpeg-turbo-devel libiconv-devel -yyum install freetype-...

空空如也

空空如也

1 2 3 4 5 ... 9
收藏数 166
精华内容 66
关键字:

libiconvyum安装