
centos
希哈科技
希哈科技 (XIHA) 致力于成为全球领先的AIoT产品与技术服务解决方案提供商。把 “赋能万物,机器智能” 作为核心价值观。相信所秉承的 “星球万物,智慧物联” 的使命,会持续为客户创造长期价值。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CentOS7搭建apache/nginx、mysql、php、phpmyadmin环境
最近在看鸟哥的私房菜Linux,所以就在买了一个国外的服务器来折腾,首先就搭建了一下基本的web服务器。过程中遇到了各种坑,总结了一下,写出来,避免大家踩坑。1.安装apache或nginx服务器/***************apache***************///1.安装apache服务器,-y表示后面的提示全部都通过yum install httpd -y//2.启动apa...转载 2018-06-26 17:25:34 · 695 阅读 · 0 评论 -
contos7部署LNMP方法
一、Nginx 1、安装nginxyum install nginx2、启动nginxsystemctl start nginx除了systemctl start nginx之外,常用的相关命令还有systemctl stop nginx、systemctl restart nginx、systemctl status nginx3、测试nginx是否安装成功 浏览器输入ip地址或者域名(...转载 2018-06-26 17:46:00 · 284 阅读 · 0 评论 -
centos7 升级 php 5.4 -> php5.6
centos7 自带php5.4,升级到php5.6的方法: https://webtatic.com/packages/php56/CentOS/RHEL 7.x:rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpmrpm -Uvh https://mirror.webtatic.com/...转载 2018-06-26 17:47:24 · 552 阅读 · 0 评论 -
phpmyadmin,访问主页报错: Error during session start; please check your PHP and/or webserver log file and c
部署完phpmyadmin,访问主页报错:Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.百度以后...转载 2018-06-26 17:50:13 · 5644 阅读 · 0 评论 -
nginx服务器,访问目录下php文档会直接下载,而不是转到页面
ubnuntu系统,nginx服务器,修改本地hosts文件定义自己的域名后,(在/etc/host文件中添加一行: 127.0.0.1 www.my-web-site.com),再访问网站根目录下php文档会直接下载,而不是转到页面,比如访问:www.my-web-site.com/index.php ,此时的解决办法是:修改对应的nginx配置文件中的servername,其位置...转载 2018-06-26 17:51:29 · 9424 阅读 · 2 评论 -
Centos 7 开启端口
CentOS 7 默认没有使用iptables,所以通过编辑iptables的配置文件来开启80端口是不可以的CentOS 7 采用了 firewalld 防火墙如要查询是否开启80端口则:12[root@joe-pc ~]# firewall-cmd --query-port=80/tcpno显然80端口没有开启下面我们开启80端口:12[root@joe-pc ~]# firewall-cmd...转载 2018-06-26 17:53:11 · 235 阅读 · 0 评论 -
CentOS 7如何开放其它的端口,比如8080
CentOS 7如何开放其它的端口,比如8080CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.servicesystemctl disable firewalld.servicesystemctl mask firewalld.service2、安装iptables防火墙yum...转载 2018-06-26 17:54:13 · 475 阅读 · 0 评论 -
Linux利用OneinStack搭建环境
OneinStack官方网站:https://oneinstack.com介绍OneinStack支持以下数种环境组合:LNMP(Linux + Nginx+ MySQL+ PHP)LAMP(Linux + Apache+ MySQL+ PHP)LNMPA(Linux + Nginx+ MySQL+ PHP+ Apache):Nginx处理静态,Apache(mod_php)处理动态PHPLNMT...转载 2018-06-26 17:55:55 · 320 阅读 · 0 评论 -
Linux解决Warning: mysql_connect(): Headers and client library minor version mismatch. 警告
这两天用阿里云服务器重新部署网站服务器后,打开某php页面出现了如下警告:Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50547 Library:50631 in /XXX(某某目录)/wp-db.php on line 1520,虽然是警告,但是有的界面会因此打不开,无法...转载 2018-06-26 18:32:48 · 5185 阅读 · 0 评论