首页
关于我们
友链链接
壁纸下载
更多
统计中心
热点搜索
图床上传
推荐
剩余价值
磁链清理
IP定位
Search
1
[Win DD包] wes7-x86-cn-精简,安装后仅占用1.55G存储空间
25,519 阅读
2
v2rayN基础使用教程、配置说明、添加订阅、路由选择
6,357 阅读
3
保姆级教程!甲骨文ARM DD成Debian10并升级内核成5.10
6,216 阅读
4
N1教程:Openwrt安装docker webui界面(基于flippy openwrt n1固件)
5,242 阅读
5
ZFAKA小店Docker版之 数据的备份和迁移
5,112 阅读
Linux学堂
网站建设
网络资源
主题插件
固件工具
主机评测
登录
Search
标签搜索
vps
typecho
linux
bench
mysql
cloudflare
nginx
lnmp
ssl
empirecms
openwrt
centos
google
docker
n1
301
qbittorrent
telegram
free
onedrive
V+变量
累计撰写
280
篇文章
累计收到
215
条评论
首页
栏目
Linux学堂
网站建设
网络资源
主题插件
固件工具
主机评测
页面
关于我们
友链链接
壁纸下载
统计中心
热点搜索
图床上传
推荐
剩余价值
磁链清理
IP定位
搜索到
280
篇与
的结果
2024-12-06
套上Cloudflare后还想用自己SSL证书怎么办
接入了cloudflare ,可以直接用Cf的SSl。但是在Cf设置ssl的时候想用自己的SSL证书怎么办? 由于nginx已经配置强制http到https,这时候无论是cloudflare的ssl加密模式为关闭还是设置灵活后也显示重定向的次数过多,无法访问。 正确的做法是:在cloudflare后台ssl/tls模式设置成“完全”或者“完全(严格)”即可
2024年12月06日
39 阅读
0 评论
0 点赞
2024-12-05
帝国CMS数据库数据表详细说明
帝国CMS数据库数据表详细说明,每个表对应的数据功能说明表名 功能说明phome_ecms_infoclass_news 新闻采集规则记录表phome_ecms_infotmp_news 采集临时表phome_ecms_news 新闻主数据记录表phome_ecms_news_data_1 新闻副表1phome_ecms_news_doc 新闻归档数据主表phome_ecms_news_doc_data 新闻归档数据副表phome_enewsad 广告数据表phome_enewsadclass 广告分类表phome_enewsadminstyle 后台风格phome_enewsbefrom 信息来源数据表phome_enewsbq 标签数据表phome_enewsbqclass 标签分类表phome_enewsbqtemp 标签模板表phome_enewsbqtempclass 标签模板分类phome_enewsbuybak 会员卡充值记录数据表phome_enewsbuygroup 增加充值类型数据记录表phome_enewscard 点卡记录数据表phome_enewschecktext 签发评语数据记录表phome_enewsclass 栏目分类主表phome_enewsclassadd 栏目分类副表phome_enewsclasstemp 例表模板phome_enewsclasstempclass 例表模板分类phome_enewsdiggips 顶数据记录表phome_enewsdo 自动刷新记录表phome_enewsdolog 管理员操作记录表phome_enewsdownerror 下载报错记录表phome_enewsdownrecord 扣点下载记录数据表phome_enewsdownurlqz 下载地址前缀记录表phome_enewserrorclass 管理员错误报告记录表phome_enewsf 字段记录表phome_enewsfava 会员收藏数据记录表phome_enewsfavaclass 会员收藏夹分类记录表phome_enewsfeedback 反馈数据记录表phome_enewsfeedbackclass 反馈分类数据记录表phome_enewsfeedbackf 反馈字段数据记录表phome_enewsfile 附件管理数据记录表phome_enewsgbook 留言数据phome_enewsgbookclass 留言分类phome_enewsgfenip 封IP记录表phome_enewsgroup 管理员用户组数据记录表phome_enewshy 会员好友存放表phome_enewshyclass 会员好友分类表phome_enewsinfoclass 采集正则数据表phome_enewsinfotype 标题分类数据记录表phome_enewsinfovote 内容投票数据记录表phome_enewsjstemp JS模板数据记录表phome_enewsjstempclass JS模板分类数据记录表phome_enewskey 内容关键字数据记录表phome_enewslink 友情链接记录表phome_enewslinkclass 友情链接分类记录表phome_enewslinktmp 采集的URL临时表phome_enewslisttemp 列表模板记录表phome_enewslisttempclass 列表模板分类记录表phome_enewslog 管理员登录日志phome_enewsloginfail 管理员登录失败记录表phome_enewsmember 会员数据记录主表phome_enewsmemberadd 会员增加字段的会员数据记录表phome_enewsmemberf 会员字段数据记录表phome_enewsmemberfeedback 会员空间反馈数据记录表phome_enewsmemberform 会员注册表单数据记录表phome_enewsmembergbook 会员空间留言板数据记录表phome_enewsmembergroup 会员组数据记录表phome_enewsmod 模型数据记录表phome_enewsnewstemp 内容模板数据记录表phome_enewsnewstempclass 内容模板分类数据记录表phome_enewsnotcj 防采集字符记录表phome_enewspage 自定义页面记录表phome_enewspageclass 自定义页面分类记录表phome_enewspayapi 支付接口记录表phome_enewspayrecord 支付记录记录表phome_enewspic 图片信息记录表phome_enewspicclass 图片信息分类记录表phome_enewspl 评论数据记录主表phome_enewsplayer 播放器记录表phome_enewsplf 评论自定义字段表phome_enewspltemp 评论模板记录表phome_enewspl_data_1 评论记录副表1phome_enewspostdata 远程发布临时表phome_enewspublic 网站设置数据记录表phome_enewspubtemp 公共模板数据记录表phome_enewsqf 签发数据记录表phome_enewsqmsg 站内信息记录表phome_enewssearch 搜索关键字记录表phome_enewssearchall 全站搜索数据记录表phome_enewssearchall_load 搜索数据源记录表phome_enewssearchtemp 搜索模板记录表phome_enewssearchtempclass 搜索模板分类表phome_enewsshopdd 商城系统订单记录表phome_enewsshoppayfs 支付方式记录表phome_enewsshopps 配送方式记录表phome_enewsspacestyle 会员空间风格记录表phome_enewssql SQL语句记录表phome_enewstable 数据表记录表phome_enewstask 计划任务数据表phome_enewstempgroup 模板组记录表phome_enewstempvar 模板变量记录表phome_enewstempvarclass 模板变量分类记录表phome_enewstogzts 组合专题参数保存表phome_enewsuser 管理员记录表phome_enewsuserjs 自定义JS数据记录表phome_enewsuserlist 自定义列表phome_enewsvote 管理投票记录表phome_enewsvotemod 模型预设投票记录表phome_enewsvotetemp 投票模板数据表phome_enewswapstyle WAP模板数据表phome_enewswords 过滤字符数据记录表phome_enewswriter 作者表phome_enewszt 专题数据表phome_enewsztclass 专题分类表
2024年12月05日
23 阅读
0 评论
0 点赞
2024-12-05
月付8.8元的香港主机HKLite-One 1C-1G-5GB-1T
HKLite-OneCPU 1核 | 内存 1024 M硬盘 5 GB | 带宽 5000M1000G/月 | 超出限速共享10Mbps重置流量 ¥7.00IPv4 1个 | IPv6 1个¥8.88/月 下单链接:https://acck.io/shop/server?type=traffic&areaId=1&nodeId=1&planId=1&aff_code=6f9e471e-da38-45ae-83e3-59942adb4454
2024年12月05日
59 阅读
0 评论
0 点赞
2024-12-05
Google Voice使用注意事项
注意事项:在使用的过程中请保持美国固定ip,如果经常换ip有可能导致风控甚至封号,登录以后不要马上修改密码,在陌生ip登录以后马上修改密码会导致冻结账号,这个号就废了,最好的办法就是开启两步验证手机号,使用你国内的手机号就可以,绑定以后任何人都登录不了,1.养号3-7天再修改密码和辅助邮箱,2.三个月打电话一次,不要用gv直接注册tg,直接注册会导致tg秒封,可以使用成品号换绑,3.千万不能发短信,千万不能发短信,千万不能发短信。GV发信息等于主动发起销号申请,会立即生效,建议不要乱试
2024年12月05日
29 阅读
0 评论
0 点赞
2024-12-04
Centos安装PT下载工具系列——qBittorrent
一.介绍如果问起在Windows上用什么软件下载BT或是PT,那么我觉得可能大部分人都会说是uTorrent,简单易用速度还快,这就是uTorrent受欢迎的原因,但是,在Linux平台上的uTorrent就不是这么回事了。所以qBittorrent打出了uTorrent替代品的旗号,虽然可能还有很远的路要走,但是它确实有不少可取之处。二.安装qBittorrent在Linux上有GUI模式以及WebGUI模式,我肯定是选择后者的,毕竟服务器大多不装界面,节省资源。下面就来说一下怎么装1.还是先得装libtorrent,这个是rasterbar版本,之前deluge我是懒得装了,这儿没办法,还得装,研究了下,真的是神坑,我从下午研究到了晚上才把这堆坑全填了,网上教程要么太老,要么全是ubuntu的,简直感人肺腑,甚至我这部分的教程写了删删了写来来回回好几次。yum groupinstall 'Development Tools' -y yum install centos-release-scl -y yum install openssl-devel qt5-qtbase-devel qt5-linguist devtoolset-3-toolchain -y yum remove boost* -y wget -O /etc/yum.repos.d/enetres.repo http://repo.enetres.net/enetres.repo sed -i "s/^enabled = 1/enabled = 0/g" /etc/yum.repos.d/enetres.repo yum install --enablerepo=enetres boost-devel scl enable devtoolset-3 bash cd /opt/ wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1_4/libtorrent-rasterbar-1.1.4.tar.gz tar xzf libtorrent-rasterbar-1.1.4.tar.gz cd libtorrent-rasterbar-1.1.4 CXXFLAGS="-std=c++11" ./configure --disable-debug --prefix=/usr make && make install ln -s /usr/lib/pkgconfig/libtorrent-rasterbar.pc /usr/lib64/pkgconfig/libtorrent-rasterbar.pc ln -s /usr/lib/libtorrent-rasterbar.so.9 /usr/lib64/libtorrent-rasterbar.so.9...PS.吐槽时间boost这边是坑之一,自己编译各种出问题,所以我翻来翻去找到了这个源,能直接用真好c++11也是坑之一,因为libtorrent的某个参数是GCC新版本的,相对老版本改了名字,所以老版本要改动才能用,但是老版本GCC在qBittorrent那边出问题了,所以索性从头就用高版本GCC。但是!!!因为默认没添加这个参数,会导致qBittorrent那边最后link错误,找了半天才找到这个解决办法反正我坑全踩了,你们直接复制粘贴就能跑通参考:①. https://github.com/qbittorrent/qBittorrent/issues/5265②. https://ermahgerdlernux.wordpress.com/2015/07/20/installing-qbittorrent-on-centos-6-6-64bit/2.现在可以开始装qBittorrent了,请务必保持在高版本GCC的环境中,如果退出了请重新运行上面的scl命令cd /opt/ wget -O qBittorrent-release-3.3.11.tar.gz https://github.com/qbittorrent/qBittorrent/archive/release-3.3.11.tar.gz tar xzf qBittorrent-release-3.3.11.tar.gz cd qBittorrent-release-3.3.11 ./configure --prefix=/usr --disable-gui gmake && make install...不出意外的话这儿就没问题了,然后你会得到qbittorrent-nox下面我们加个启动脚本方便运行管理cat >/etc/init.d/qbittorrent<<'EOF' #!/bin/sh # # chkconfig: - 80 20 # description: qBittorrent headless torrent server # processname: qbittorrent-nox # # Source function library. . /etc/init.d/functions QBT_USER="qbittorrent" QBT_LOG="/var/log/qbittorrent.log" prog=qbittorrent-nox args="" RETVAL=0 start() { if [ -x /etc/rc.d/init.d/functions ]; then daemon --user $QBT_USER $prog $args else su - $QBT_USER -c "$prog $args" > /var/log/qbittorrent.log & fi echo -n $"Starting qBittorrent: " RETVAL=$? [ $RETVAL = 0 ] && success || failure echo return $RETVAL } status() { qbstatus=`ps ax|grep $prog|grep -v grep` if [ "$qbstatus" = "" ]; then echo "qBittorrent is stopped !" else echo "qBittorrent is running !" fi } stop() { echo -n $"Stopping qBittorrent: " killall qbittorrent-nox success echo } case "$1" in start) start ;; stop) stop ;; status) status ;; restart|reload) stop sleep 2 start ;; *) echo "Usage: $0 {start|status|stop|restart|reload}" exit 1 esac exit $RETVAL EOF chmod +x /etc/init.d/qbittorrent chkconfig --add qbittorrent chkconfig qbittorrent on groupadd qbittorrent useradd qbittorrent -g qbittorrent...然后你就能直接运行了访问http://IP:8080/ 就能看到WebGUI了默认用户名是admin,密码是adminadmin如果要修改端口请在上方启动脚本中的args后面添加--webui-port=XXXX
2024年12月04日
39 阅读
0 评论
0 点赞
2024-12-04
如何挂PT和BT: Ubuntu安装qBittorrent webui (qbittorrent-nox)
1.添加源sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable sudo apt update2.安装成功添加源后,更新包的信息,再安装qBittorrent webui:sudo apt install qbittorrent-nox3.启动成功安装后,输入以下命令启动软件:qbittorrent-nox启动后,在浏览器中输入http://ip地址:8080,即可打开qBittorrent的网页端。默认的用户名是admin,默认密码为adminadmin。如果要使用其他端口,只需在启动命令中加入--webui-port=XXXX参数,其中XXXX为端口号:qbittorrent-nox --webui-port=XXXX4.设置开机自启动在 /etc/systemd/system 下,新建文件 qbittorrent-nox.service ,vim /etc/systemd/system/qbittorrent-nox.service内容如下[Unit] Description=qBittorrent-nox After=network.target [Service] User=root Type=forking RemainAfterExit=yes ExecStart=/usr/bin/qbittorrent-nox -d [Install] WantedBy=multi-user.target再执行以下命令:systemctl enable qbittorrent-nox下一次开机时会自动启动qbittorent。如果要手动开启、停止和重启,参考以下命令:sudo service qbittorrent-nox start sudo service qbittorrent-nox stop sudo service qbittorrent-nox restart配置QBittorrent webui的配置文件qBittorrent.conf在~/.config/qBittorrent/文件夹中。更多命令启动 qbittorrent-nox 后台启动 qbittorrent-nox -d 查看版本 qbittorrent-nox -v 获得帮助 qbittorrent-nox -h
2024年12月04日
71 阅读
0 评论
0 点赞
2024-12-04
黑五灵车小鸡吃灰的可以流量挂机获取收益,nodeseek大佬写了一次性挂6个平台的脚本
原帖来自nodeseek:买了廉价灵车小鸡性能不行,跑不动项目的,如果独立v4还是可以利用下。拿来挂机卖流量获取一点被动收入。虽然不多,但多少可以回血一点。之前50多台挂了一年大概200多美元收益。大厂机器,正常跑项目的就不要挂了,得不偿失。挂这个会导致IP风险变高,还可能会删机。这几天整理了下在挂的平台,都是 VPS 可挂机、并且可以用 docker 一键运行的。再进行了个简单的整合,Nodeseek大佬grace写了个界面 https://passive-income.pages.dev/ 用来生成一键运行命令。详细的说明和各个平台的注册地址见 Github https://github.com/vpslog/passive-income
2024年12月04日
52 阅读
0 评论
0 点赞
2024-12-04
LNMP状态管理命令
LNMP状态管理命令:LNMP 1.2+状态管理: lnmp {start|stop|reload|restart|kill|status}LNMP 1.2+各个程序状态管理: lnmp {nginx|mysql|mariadb|php-fpm|pureftpd} {start|stop|reload|restart|kill|status}LNMP 1.1状态管理: /root/lnmp {start|stop|reload|restart|kill|status}Nginx状态管理:/etc/init.d/nginx {start|stop|reload|restart}MySQL状态管理:/etc/init.d/mysql {start|stop|restart|reload|force-reload|status}Memcached状态管理:/etc/init.d/memcached {start|stop|restart}PHP-FPM状态管理:/etc/init.d/php-fpm {start|stop|quit|restart|reload|logrotate}PureFTPd状态管理: /etc/init.d/pureftpd {start|stop|restart|kill|status}ProFTPd状态管理: /etc/init.d/proftpd {start|stop|restart|reload}Redis状态管理: /etc/init.d/redis {start|stop|restart|kill}多PHP版本状态管理:/etc/init.d/php-fpm5.5 {start|stop|quit|restart|reload|logrotate} 前面5.5为对应的PHP版本,其他版本自行替换。如重启LNMP,1.2+输入命令:lnmp restart 即可;单独重启mysql:/etc/init.d/mysql restart 也可以 lnmp mysql restart ,两个是一样的。LNMPA状态管理命令:LNMPA 1.2+状态管理: lnmp {start|stop|reload|restart|kill|status}LNMPA 1.2+各个程序状态管理: lnmp {httpd|mysql|mariadb|pureftpd} {start|stop|reload|restart|kill|status}LNMPA1.1状态管理: /root/lnmpa {start|stop|reload|restart|kill|status}Nginx状态管理:/etc/init.d/nginx {start|stop|reload|restart}MySQL状态管理:/etc/init.d/mysql {start|stop|restart|reload|force-reload|status}Memcached状态管理:/etc/init.d/memcached {start|stop|restart}PureFTPd状态管理: /etc/init.d/pureftpd {start|stop|restart|kill|status}ProFTPd状态管理: /etc/init.d/proftpd {start|stop|restart|reload}Apache状态管理:/etc/init.d/httpd {start|stop|restart|graceful|graceful-stop|configtest|status}LAMP状态管理命令:LAMP 1.2+状态管理: lnmp {start|stop|reload|restart|kill|status}LAMP 1.2+各个程序状态管理: lnmp {httpd|mysql|mariadb|pureftpd} {start|stop|reload|restart|kill|status}
2024年12月04日
24 阅读
0 评论
0 点赞
2024-12-04
LNMP安装软件清单和安装目录位置
LNMP一键安装包除去安装所必须的依赖包,还会默认安装以下软件: Nginx、MySQL/MariaDB、PHP、phpMyAdmin、Zend Optimizer/Zend GuardLoader。用户可以根据自己的需要安装其他组件,如FTP服务器、缓存组件,也可以使用升级脚本对Nginx、MySQL、PHP进行升级。安装LNMP或升级前都可以修改lnmp.conf来设置其中的一些参数模块等设置。安装这些组件或升级都需要在lnmp下载解压缩后的目录,比如下载到/root目录,就进入/root/lnmp1.7目录,执行以下命令。虚拟主机管理:参见:http://lnmp.org/faq/lnmp-vhost-add-howto.htmlFTP服务器:可选1,PureFTPd,执行:./pureftpd.sh 安装,1.2+版本使用 lnmp ftp {add|edit|del} 管理,1.1及老版本 http://yourIP/ftp/ 进行管理。可选2(LNMP1.2下已经移除该脚本),Proftpd,执行:./proftpd.sh 安装,执行命令:/root/proftpd_vhost.sh 添加FTP账号。缓存加速: LNMP1.2及更高版本统一使用./addons.sh 进行安装和卸载。 使用方法:./addons.sh {install|uninstall} {eaccelerator|xcache|memcached|opcache|redis|apcu|imagemagick|ioncube|exif|fileinfo|ldap|bz2|sodium|imap|swoole} 详细教程:http://lnmp.org/faq/addons.htmlLNMP1.1下:可选1,eAccelerator,执行:./eaccelerator.sh 安装。可选2,memcached,执行:./memcached.sh安装。可选3,xcache,安装时需选择版本和设置密码, http://yourIP/xcache/ 进行管理,用户名 admin,密码为安装xcache时设置的。执行:./xcache.sh安装。可选4,redis,执行:./redis.sh安装。可选5,opcache,执行:opcache.sh安装。http://yourIP/ocp.php 进行管理。Zend Opcache与eaccelerator相冲突,需卸载eaccelerator。升级脚本: LNMP1.2及更高版本: 统一使用./upgrade.sh 进行升级工作。 使用方法:./upgrade.sh {nginx|mysql|mariadb|m2m|php|phpa|phpmyadmin} 详细教程:http://lnmp.org/faq/lnmp1-2-upgrade.htmlLNMP1.1下:Nginx升脚本可,升级至任意Nginx版本。执行:./upgrade_nginx.sh 按提示进行升级。PHP升级脚本,可升级至大部分PHP版本。执行:./upgrade_php.sh 按提示进行升级。MySQL升级脚本,可升级至任意MySQL版本,MySQL升级风险较大,虽然会自动备份数据,建议自行再备份一下。执行:./upgrade_mysql.sh 按提示进行升级。MySQL升级至MariaDB,可从MySQL升级至Mariadb,虽然会自动备份数据,建议自行再备份一下。执行:./upgrade_mysql2mariadb.sh 按提示进行升级。MariaDB升级脚本,可升级已安装的Mariadb,虽然会自动备份数据,依然建议自行再备份一下。执行:./upgrade_mariadb.sh 按提示进行升级。LNMPA PHP升级脚本,可升级LNMPA的PHP至大部分版本。执行:./upgrade_lnmpa_php.sh 按提示进行升级。图像处理: LNMP1.2及更高版本统一使用./addons.sh 进行安装和卸载。 LNMP 1.1及以下版本可选1,imageMagick,执行:./imageMagick.sh 安装。执行:./imageMagick.sh 安装,imageMagick路径:/usr/local/imagemagick/bin/。解密:可选1,ionCube,执行:./ionCube.sh 安装。其他:可选1,(lnmp 1.4+版)执行:./install.sh mphp 在LNMP模式下可安装多PHP版本。可选2,(lnmp 1.4+版)执行:./install.sh nginx 单独只安装Nginx。可选3,(lnmp 1.4+版)执行:./install.sh db 单独只安装MySQL/MariaDB数据库。(lnmp 1.2,1.3版)执行:./php5.2.17.sh 可安装一个不与LNMP冲突的PHP 5.2.17单独存在,使用时需要将nginx虚拟主机配置文件里的 php-cgi.sock 修改为 php-cgi52.sock。可选4,LNMP/LNMPA/LAMP卸载脚本,执行:./uninstall.sh 按提示输入当前模式序号,即可删除,1.4之前版本请自行备份好数据库,网站文件等不会删除。可选5,(以下几个脚本在安装包tools目录下)执行:./reset_mysql_root_password.sh 可重置MySQL/MariaDB的root密码。可选6,执行:./check502.sh 可检测php-fpm是否挂掉,502报错时重启,配合crontab使用。可选7,执行:./cut_nginx_logs.sh 日志切割脚本。可选8,执行:./remove_disable_function.sh 运行此脚本可删掉禁用函数。可选9,执行:./remove_open_basedir_restriction.sh 防跨目录移除工具。LNMP相关软件安装目录Nginx 目录: /usr/local/nginx/MySQL 目录 : /usr/local/mysql/MySQL数据库所在目录:/usr/local/mysql/var/MariaDB 目录 : /usr/local/mariadb/MariaDB数据库所在目录:/usr/local/mariadb/var/PHP目录 : /usr/local/php/多PHP版本目录 : /usr/local/php5.5/ 其他版本前面5.5的版本号换成其他即可PHPMyAdmin目录 : 0.9版本为/home/wwwroot/phpmyadmin/ 1.0及以后版本为 /home/wwwroot/default/phpmyadmin/ 强烈建议将此目录重命名为其不容易猜到的名字。phpmyadmin可自己从官网下载新版替换。默认网站目录 : 0.9版本为 /home/wwwroot/ 1.0及以后版本为 /home/wwwroot/default/Nginx日志目录:/home/wwwlogs//root/vhost.sh添加的虚拟主机配置文件所在目录:/usr/local/nginx/conf/vhost/PureFtpd 目录:/usr/local/pureftpd/PureFtpd web管理目录: 0.9版为/home/wwwroot/default/ftp/ 1.0版为 /home/wwwroot/default/ftp/Proftpd 目录:/usr/local/proftpd/Redis 目录:/usr/local/redis/LNMP相关配置文件位置Nginx主配置(默认虚拟主机)文件:/usr/local/nginx/conf/nginx.conf添加的虚拟主机配置文件:/usr/local/nginx/conf/vhost/域名.confMySQL配置文件:/etc/my.cnfPHP配置文件:/usr/local/php/etc/php.iniphp-fpm配置文件:/usr/local/php/etc/php-fpm.confPureFtpd配置文件:/usr/local/pureftpd/pure-ftpd.conf 1.3及更高版本:/usr/local/pureftpd/etc/pure-ftpd.confPureFtpd MySQL配置文件:/usr/local/pureftpd/pureftpd-mysql.confProftpd配置文件:/usr/local/proftpd/etc/proftpd.conf 1.2及之前版本为/usr/local/proftpd/proftpd.confProftpd 用户配置文件:/usr/local/proftpd/etc/vhost/用户名.confRedis 配置文件:/usr/local/redis/etc/redis.confLNMPA相关目录文件位置Apache目录:/usr/local/apache/Apache配置文件:/usr/local/apache/conf/httpd.confApache虚拟主机配置文件目录:/usr/local/apache/conf/vhost/Apache默认虚拟主机配置文件:/usr/local/apache/conf/extra/httpd-vhosts.conf虚拟主机配置文件名称:/usr/local/apache/conf/vhost/域名.conflnmp.conf 配置文件参数说明lnmp.conf文件位于lnmp安装包目录下参数名称 参数介绍 例子Download_Mirror 下载镜像 一般默认,如异常可修改下载镜像Nginx_Modules_Options 添加Nginx模块或其他编译参数 —add-module=/第三方模块源码目录PHP_Modules_Options 添加PHP模块或编译参数 —enable-exif 有些模块需提前安装好依赖包MySQL_Data_Dir MySQL数据库目录设置 默认/usr/local/mysql/varMariaDB_Data_Dir MariaDB数据库目录设置 默认/usr/local/mariadb/varDefault_Website_Dir 默认虚拟主机网站目录位置 默认/home/wwwroot/defaultEnable_Nginx_Openssl Nginx是否使用新版openssl 默认 y,建议不修改,y是启用并开启到http2Enable_PHP_Fileinfo 是否安装开启php的fileinfo模块 默认n,根据自己情况而定,安装启用的话改成 yEnable_Nginx_Lua 是否为Nginx安装lua支持 默认n,安装lua可以使用一些基于lua的waf网站防火墙
2024年12月04日
27 阅读
0 评论
0 点赞
2024-12-04
LNMP 1.2+缓存加速类扩展(xcache/Redis/memcached/eAccelerator)、imageMagick、ionCube安装教程
本文仅适用于LNMP1.2、1.3及1.4或更高版本安装eAccelerator、xcache、memcached、imageMagick、ionCube、redis、opcache.这几个PHP缓存、加速类的扩展不一定对每个人都能用,自己按需要安装,不用装多个同类的扩展,可能会导致出错。下面会对各个程序的作用、安装方法及相关注意事项。(注意:以下操作均需要在lnmp压缩包解压后的目录里运行,如lnmp1.9-full)这些扩展和组件均采用./addons.sh进行安装。基本用法说明:./addons.sh {install|uninstall} {eaccelerator|xcache|memcached|opcache|redis|imagemagick|ioncube|ioncube|sg|exif|fileinfo|ldap|bz2|sodium|imap|swoole}不同版本可能显示和选项上略微有些差异,目前lnmp 1.9上上述扩展组件均可以一键安装。lnmp 1.4及更高版本如果存在多PHP版本会提示选择对哪个PHP版本进行安装。所有./addons.sh安装的PHP模块在PHP升级/降级后均需要重新使用 ./addons.sh 重新进行安装。1、eAcceleratoreAccelerator是一个自由开放源码php加速器,优化和动态内容缓存,提高了php脚本的缓存性能,使得PHP脚本在编译的状态下,对服务器的开销几乎完全消除。 它还有对脚本起优化作用,以加快其执行效率。安装进入lnmp解压后的目录,执行:./addons.sh install eaccelerator 运行后有如下提示:addons-install-eaccelerator.pngeaccelerator 0.9.5.3 支持PHP 5.2,如需此版本,输入 1 回车。eaccelerator 0.9.6.1 支持PHP 5.2、5.3,如需此版本,输入 2 回车。eaccelerator 1.0-dev 支持PHP 5.2、5.3、5.4,如需此版本输入 3 回车。提示“Press any key to install...or Press Ctrl+c to cancel” 后回车确认,脚本就会自动安装eaccelerator。卸载执行:./addons.sh uninstall eaccelerator2、xcacheXCache 是一个国人开发的又快又稳定的PHP opcode缓存器。经过良好的测试并在大流量/高负载的生产机器上稳定运行,支持所有现行PHP分支的最新发布版本。安装进入lnmp解压后的目录,执行:./addons.sh install xcache 运行后有如下提示:addons-install-xcache.png需要设置xcache管理页面admin用户的密码。出现“Press any key to install...or Press Ctrl+c to cancel“,再次回车确认即可开始安装。卸载执行:./addons.sh uninstall xcache3、memcachedMemcached 是一个高性能的分布式内存对象缓存系统,用于动态Web应用以减轻数据库负载。它通过在内存中缓存数据和对象来减少读取数据库的次数,从而提供动态、数据库驱动网站的速度。安装进入lnmp解压后的目录,执行:./addons.sh install memcachedaddons-install-memcached.png可以根据自己的需求选择php-memcache或php-memcached扩展,目前discuz x使用的是前者,功能上php-memcached更强大一些。输入对应的序号,回车,再次确认回车开始安装。卸载执行:./addons.sh uninstall memcached4、imageMagickImageMagick是一个用于查看、编辑位图文件以及进行图像格式转换的开放源代码软件套装。它可以读取、编辑超过100种图象格式。可用来替换GD库。安装进入lnmp解压后的目录,执行:./addons.sh install imagemagick回车确认后就会自动安装imageMagick。设置:比如在DiscuzX里设置时路径需要填写:/usr/local/imagemagick/bin/ 并且禁用函数里的exec要去掉才可以正常使用。卸载执行:./addons.sh uninstall imagemagick5、ionCube此脚本是用来安装ionCube loader的,ionCube loader是用来解密ionCube加密的PHP脚本,如whmcs就采用ionCube加密。安装进入lnmp解压后的目录,执行:./addons.sh install ionCube回车确认后就会自动安装ionCube loader。卸载执行:./addons.sh uninstall ionCube6、Redis此脚本是用来安装Redis,Redis是一个开源、支持网络、基于内存、键值对存储数据库。安装进入lnmp解压后的目录,执行:./addons.sh install redis运行后有如下提示:lnmp-eacesselerator-install.png,安装稳定版Redis 2.8.8 输入:s 回车;安装测试版Redis 3.0.0输入:b 回车;安装旧版Redis 2.6.17输入:o 回车。7、opcache此脚本是用来安装opcache的,是 Zend 开发的闭源但可以免费使用的 PHP 优化加速组件。LNMP 1.2下安装的PHP 5.5或更高版本的PHP不需要额外安装OPcache,默认已经安装上。1.3上默认已安装但未启用执行:./addons.sh install opcache 进行开启。安装进入lnmp解压后的目录,执行:./addons.sh install opcacheOpcache和eAccelerator是冲突的,脚本会卸载eAccelerator后再安装Opcache,回车确认后就会自动安装opcache。卸载执行:./addons.sh uninstall opcache8、SourceGuardian此脚本是用来安装SourceGuardian的,SourceGuardian是一款 PHP 的加密解密组件。安装执行:./addons.sh install sg 进行开启。安装进入lnmp解压后的目录,执行:./addons.sh install sg其他exif、fileinfo、ldap、bz2、sodium、imap、swoole几个模块同理执行:./addons.sh install xxx 进行安装。
2024年12月04日
26 阅读
0 评论
0 点赞
1
...
17
18
19
...
28