Ubuntu22.04 php7.3 sqlsrv 部署教程

Ubuntu22.04 php7.3 sqlsrv 部署教程

https://github.com/microsoft/msphpsql/releases/tag/v5.9.0 sudo pecl install sqlsrv-5.9.0 sudo pecl install pdo_sqlsrv-5.9.0 https://learn.microsoft.com/zh-cn/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver16&tabs=ubuntu18-install%2Cubuntu17-inst...

PHP 2024-06-29 AM 37℃ 0条
Ubuntu 挂载 win 共享盘

Ubuntu 挂载 win 共享盘

Ubuntu 挂载 win 共享盘mount -t cifs //IP地址/共享名称 挂载点(文件夹路径) -o username=用户名,password=密码例子:mount -t cifs //192.168.3.251/soft -o username=drg,password=ftp://ftp.gnu.org/gnu/make/https://ftp.gwdg.de/pub/misc/gcc/releases/ubuntu22 安装gcc 使用aptitude包依赖管理工具代替apt来处理,aptitude软件包管理工具在解决依赖性问题上更有优势,具体使用方法如下:sudo ...

技术分享 2024-06-28 PM 32℃ 0条
Nginx开启目录访问功能

Nginx开启目录访问功能

Nginx目录访问开启的三种场景configuration file /etc/nginx/conf.d/server81.conf:server { listen 81; server_name localhost; location / { root /; autoindex on; autoindex_localtime on; } } configuration file /etc/nginx/conf.d/server82.conf:server { listen 82; server_name loc...

技术分享 2024-06-28 PM 39℃ 0条
Ubuntu 24 换国内源及原理 (阿里源)

Ubuntu 24 换国内源及原理 (阿里源)

备份原文件sudo cp /etc/apt/sources.list.d/ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources.bak编辑源文件sudo gedit /etc/apt/sources.list.d/ubuntu.sources(阿里源)Types: deb deb-src URIs: https://mirrors.aliyun.com/ubuntu/ Suites: noble noble-security noble-updates noble-proposed noble-backports Components...

技术分享 2024-06-14 AM 39℃ 0条
解决yarn install报错:error @achrinza/node-ipc@9.2.2: The engine “node“ is incompatible

解决yarn install报错:error @achrinza/node-ipc@9.2.2: The engine “node“ is incompatible

解决yarn install报错:error @achrinza/node-ipc@9.2.2: The engine “node“ is incompatible解决办法:yarn config set ignore-engines true

Vue 2024-03-16 AM 252℃ 0条
Ubuntu 20.04 下 部署 SoftEther vpnclient

Ubuntu 20.04 下 部署 SoftEther vpnclient

1、解压 tar -xvf vpnclient 2、安装 cd vpnclient make3、启动 sudo ./vpnclient start4、RemoteEnable/RemoteDisable:允许/禁止 远程管理5、输入以下命令来更改IP地址:ip addr add 192.168.8.99/24 dev vpnvpn6、在Linux中,可以使用以下命令添加永久路由: sudo route add -net 目标网络 netmask 子网掩码 gw 网关

技术分享 2024-01-28 PM 401℃ 0条
win 宝塔bt  composer

win 宝塔bt composer

7、关闭掉面板中php所禁止的几个函数putenv()proc_open()proc_get_status()

技术分享 2023-04-13 PM 811℃ 0条
xampp中MySQL启动失败解决方法

xampp中MySQL启动失败解决方法

解决方法参考https://stackoverflow.com/questions/56847804/xampp-mysql-service-crash-after-reboot1、点击xampp面板上的Shell按钮进入命令框,输入命令:mysqld –-console –-skip-grant-tables –-skip-external-locking2、第一个cmd命令行窗口不关闭,重新在面板上点开一个Shell,再次输入指令:mysqlcheck -r --databases mysql --use-frm等命令窗口不再变化,再关闭命令窗口,重新启动xampp,重启mysql,...

技术分享 2023-04-08 PM 957℃ 0条
宝塔面板安装composer后报错

宝塔面板安装composer后报错

PHP Fatal error: Uncaught Error: Call to undefined function Composer\XdebugHandler\putenv() in phar:///usr/bin/composer/vendor/composer/xdebug-handler/src/Process.php:149 ...其他更多,由于php版本禁用了函数导致删除禁用函数宝塔面板默认禁用一些安装 Composer 要用到的 3 个函数如下:putenv() 、 pcntl_signal() 、 proc_open(), “PHP管理”→“禁用函数”→“删除pute...

PHP 2023-03-16 AM 1245℃ 1条
CentOS下nohup命令

CentOS下nohup命令

后台运行 nohup ./duibi.sh >> ./duibi.log 2>&1 &ps -aux | grep "duibi.sh" #a:显示所有程序 u:以用户为主的格式来显示 x:显示所有程序,不以终端机来区分kill 或 kill -9 终止进程;一般情况下,-9可以马上杀死进程,没有任何阻塞

技术分享 2023-03-02 PM 872℃ 0条