标签 centos 下的文章

Checking if your kit is complete... Looks good Writing Makefile for Geo::IPfree [root@dq geoip]# make cp lib/Geo/IPfree.pm blib/lib/Geo/IPfree.pm cp lib/Geo/ipscountry.dat blib/lib/Geo/ipscountry.dat cp lib/Geo/ipct2txt.pl blib/lib/Geo/ipct2txt.pl cp lib/Geo/txt2ipct.pl blib/lib/Geo/txt2ipct.pl Manifying blib/man3/Geo::IPfree.3pm

Tags: centos ExtUtils Geo::IPfree

Read more

vi /etc/nginx/nginx.conf server { listen 80 default_server; listen [::]:80 default_server; server_name _; root /usr/share/nginx/html; //增加下面一行 index index.php index.html index.htm; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location / { } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; location = /50x.html {

Tags: centos MySQL PHP Nginx

Read more

**1. 自己新建一个脚本,如startup.sh** **2. 在脚本中输入启动服务的命令,如(开机启动tomcat):** #!/bin/bash export JDK_HOME=/home/java/jdk1.8.0_91 export JAVA_HOME=/home/java/jdk1.8.0_91 /home/tomcat/apache-tomcat-8.0.36/bin/startup.sh

Tags: centos rc.local 自启动

Read more

1、php -v PHP 5.4.16 (cli) (built: Nov 6 2016 00:29:02) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies    2、执行下面的命令升级软件仓库 rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Tags: centos PHP PHP5.6

Read more

V