centos7 centos php7 php
php反序列化逃逸
之前就对字符串逃逸这一块理解的不是很深刻,下面通过一位师傅的博客来进一步深入理解一下有关php字符串逃逸的相关内容。 贴上师傅的博客地址:https://blog.csdn.net/qq_45521281/article/details/107135706、 **先来说一下什么是字符串逃逸,就是我们 ......
Linux - centos6忘记root密码怎么办?
Linux的root密码修改不像Windows的密码修改找回,Windows的登录密码忘记需要介入工具进行解决。CentOS6和CentOS7的密码方法也是不一样的,具体如下 1、开机按esc 2、按 e 键进入编辑模式 3、进入该编辑模式后,在quiet后面输入 simple 或者 1 然后回车 ......
PHP 获取无限级下级ID 无层级
PHP 获取无限级下级ID 无层级 非递归 删除会员处有误,修复后上传记录, PHP 获取无限级下级ID 无层级 非递归 删除会员处有误,修复后上传记录, PHP 获取无限级下级ID 无层级 非递归 删除会员处有误,修复后上传记录, PHP 获取无限级下级ID 无层级 非递归 删除会员处有误,修复后 ......
用CentOS服务器自己搭建部署个Discuz论坛网站,网站搭建教程
Linux系统CentOS服务器使用堡塔搭建论坛网站全套教程。服务器大本营,技术文章内容集合站发车啦! 操作系统:Centos 7.6 网站程序:Discuz-X3.4 前言 首先,搭建一个网站需要准备:服务器、域名、网站程序。 服务器是什么? 服务器从字面理解就是提供服务的机器,服务器可以提供哪些 ......
CentOS 7系统上安装FRP客户端的步骤
在CentOS 7系统上安装FRP客户端的步骤如下: 1.安装必要的软件包: yum install -y wget unzip2.从官方网站下载最新版本的FRP客户端: wget https://github.com/fatedier/frp/releases/download/v0.34.3/f ......
CentOS配置DNS服务器,并配置3种转发模式
安装BIND组件,开启DNS服务,检查状态 yum install bind bind-utils systemctl start named systemctl enable named systemctl status named 开启DNS服务请求通过防火墙 systemctl start f ......
PHP用PhpOffice->PhpSpreadsheet导出excel
phpexcel由于版本陈旧性能低下官方放弃维护转而开发PhpSpreadsheet 用了最新得psr标准因而 对php版本不向下兼容需要注意!。 PhpSpreadsheet是一个用纯PHP编写的库,提供了一组类,使您可以读取和写入不同的电子表格文件格式PhpSpreadsheet提供了丰富的AP ......
PHP 检查字符或者字符串 是否仅包含指定类型的字符 ctype 系列函数
$strings = array('AbCd1zyZ9', 'foo!#$bar'); foreach ($strings as $testcase) { if (ctype_alnum($testcase)) { echo "The string $testcase consists of all ......
安装MySQLdb for centos 7--小白教程
1.MySQLdb下载地址: https://pypi.python.org/pypi/MySQL-python/1.2.5 2. unzip MySQL-python-1.2.5; 3. cd MySQL-python-1.2.5; python setup.py install; 此时报错: T ......
[Linux] CENTOS7设置Swap交换区
# 0 序言 最近刚买1台`CENTOS7.9`的云服务器,但swap区为空,这着实有丢丢浪费内存了。 # 1 查看swap区的情况 + 方式1 ``` shell # free -m total used free shared buff/cache available Mem: 3645 234 ......
centos7 中singularity的安装
001、系统 [root@PC1 software]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 002、安装依赖 [root@PC1 software]# yum install -y gcc libuuid-deve ......
Centos安装常见软件
一、vscode sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://pac ......
centos7中 micromamba的安装与使用
官网:https://mamba.readthedocs.io/en/latest/installation.html 001、系统 [root@PC1 ~]# cat /etc/system-release CentOS Linux release 7.6.1810 (Core) 002、使用sh ......
centos升级python到3.8
环境: centos 7.9 ## 一 、卸载自带python3.7 ```sh #卸载python3 rpm -qa|grep python3|xargs rpm -ev --allmatches --nodeps #删除所有残余文件 whereis python3 |xargs rm -frv ......
小白零基础在 Centos 7 中安装 mysql
本文参考这三篇博文,安装,修改配置,修改密码。感谢大佬的分享 首先安装好Centos,并使用xshell连接 一、下载 1、下载安装文件 建议自己到这个地址下载 https://dev.mysql.com/downloads/mysql/。选择以下版本 2、下载完后上传到系统,并解压,可以用 tar ......
使用SecureCRT7.2.3远程连接CentOS7
连接名称: 可以填服务器IP, 协议默认SSH2 主机名: 可以填服务器IP, 用户名可填root 终端->反空闲, 勾选发送协议NO-OP, 第30秒 外观: 配色方案改传统, 字体可选黑体, 字号大一些, 字符编码选择UTF-8 另外连接时输入命令->ip addr 可用于查看IP地址; exi ......
基于alios(centos 7.2) 安装 docker
参考文档: https://help.aliyun.com/document_detail/51853.html?spm=a2c4g.264695.0.0.55c91e18zfwqrz#section-gtl-cjs-ls2 https://developer.aliyun.com/article/ ......
VMware虚拟机如何设置CentOS 7 磁盘扩容?
当VMware中的CentOS磁盘空间不足时就需要进行磁盘扩容,具体步骤如下: 步骤一:虚拟机扩展磁盘容量 1、首先,打开已经安装好的虚拟机,选择需要扩展磁盘的虚拟机,点击设备中的“硬盘”。如图: 2、接着,进入虚拟机设置界面,在界面的右侧选择“扩展”。如图: 3、接着,在弹出的扩展磁盘容量中,输入 ......
Rocky Linux 8.8 发布 - CentOS 的权威替代
Rocky Linux 8.8 发布 - CentOS 的权威替代 Rocky Linux 由 CentOS 项目的创始人 Gregory Kurtzer 领导 请访问原文链接:,查看最新版。原创作品,转载请保留出处。 作者主页:[sysin.org](https://sysin.org) 以社区方 ......
AlmaLinux 8.8 发布 - RHEL 下游免费发行版(CentOS 稳定版的替代品)
AlmaLinux OS 是一个开源、社区驱动的项目,旨在提供 CentOS 稳定版的替代品。 请访问原文链接:,查看最新版。原创作品,转载请保留出处。 作者主页:[sysin.org](https://sysin.org) 2023.05.18,[AlmaLinux 8.8 Stable Now ......
CentOS7服务器命令行配置静态IP
cd /etc/sysconfig/network-scripts 找到网卡的配置文件 ifcfg-ens33 [ 文件名称可能不一样 , 基本都是第一个] vim ifcfg-ens33 [这里是 root 用户, 如果不是在可在vim 前面加 sudo ] 打开后的界面 [ 默认未修改 ] TY ......
CentOS 8 & Ubuntu17 安装向日葵远程控制
前言:已知向日葵官网最新版本“SunloginClient_11.0.1.44968_amd64.rpm”安装包,安装后只有画面,不能操作,目前通过向日葵内部提供了一个未发布的安装包解决。 系统安装(以centos为例) 务必勾选桌面程序,能选的尽量都选上,避免后续缺少必要的程序。 务必勾选xorg ......
PHP Warning: PHP Startup: redis: Unable to initialize module
redis已安装,且已经在php中安装了redis.so,但升级php版本后不能使用原来的redis.so扩展,需要重新编译安装phpredis。今天安装后重启php-fpm时出现了以下错误: [root@kermit etc]# php-fpm restartGracefully shutting ......
centos7 中 mamba的安装
001、系统 [root@PC1 software]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 002、下载安装包 [root@PC1 software]# wget https://github.com/conda- ......
一个简单的应用MVC思想的php程序
<?php //controller.php 控制器程序 require_once("model.class.php"); $type = isset($_GET['type'])?$_GET['type']:3; $modelObj = new DateTime2(); switch($type) ......
Centos7开机自动登录root用户
先使用root用户 然后打开/etc/gdm/custom.conf # GDM configuration storage [daemon] AutomaticLoginEnable=true AutomaticLogin=root [security] [xdmcp] [chooser] [de ......
CentOS 跳过开机启动菜单(无需等待)
sudo -i //转成root用户 vim /etc/grub2.cfg //vim编辑这个文件 保存退出,重启查看效果 kali 和 centOS 跳过开机启动菜单(无需等待)_kali跳过设置用户_秋叶依剑的博客-CSDN博客 ......
FreeSWITCH1.10.5源码编译(CentOS 7.10)
一、安装sofia-sip cd /usr/local/src/freeswitch-1.10.5.-release git clone https://github.com/freeswitch/sofia-sip.git cd sofia-sip ./configure make make in ......
Centos7启动rcpbind报错A dependency job for rpcbind.service failed一例
# Centos7.4 rpcbind启动失败一例 ## 问题描述 昨天,一台虚拟机重启后,`/etc/rc.local`里面的`mount -t nfs ....`发现没有正常执行。 ## 问题排查 经过排查,发现`rpcbind`没有正常启动,导致无法正常`mount`。 于是执行以下命令: ` ......
centos7 中如何同步时间
001、查看时区 [root@PC1 bin]# timedatectl status|grep 'Time zone' Time zone: Asia/Shanghai (CST, +0800) 002、查看当前时间 [root@PC1 bin]# date Mon May 22 01:15:22 ......