分类 http/html/web articles

yum卸载lamp环境

由于目前使用的是lamp环境,目前为实验需要想把apache更换为litespeed web服务器。因为之前是通过yum安装的。 通过 rpm -qa|grep http rpm -qa|grep php rpm -qa|grep mysql 查看目前安装的包后,通过 yum remove mysql-*<br /> yum remove php-* yum remove httpd 卸载安装的包。……

Continue reading

淘宝开源http&#8211;tengine

Tengine的实现背景及特点 淘宝网现在已经将其服务器平台软件Tengine 开源,Tengine基于Nginx,针对大流量网站需求增加了很多功能特性和性能优化。以下沿引项目主页上的特性介绍: 继承Nginx的所有特性; 组合多个CSS、JavaScript文件的访问请求变成一个请求;……

Continue reading

替代Apache和IIS的轻量级网络服务器

说起Apache和IIS网络服务器,真可谓无人不知,其应用之广也是首屈一指。但是,出色的网络服务器可并不只有Apache和IIS。事实上,性能卓越,堪比Apache和IIS的其他网络服务器还有很多。 出色的网络服务器应该具备哪些条件呢?至少得达到如下要求: 高可扩展性 稳定 易配置 轻巧:……

Continue reading

php的几种web架构

1) 目前各种服务器HTTP Server对PHP的支持一共有三种: a.通过HTTPServer内置的模块来实现, 例如Apache的mod_php5,类似的Apache内置的mod_perl可以对perl支持; b.通过CGI来实现,这个就好比之前perl的CGI,该种方式的缺点是性能差……

Continue reading

xampp环境下joomla报422错误

在xampp环境下安装joomla时报下面的错误Strict Standards: Accessing static property JCache::$_handler as non static in htdocsjoomlalibrariesjoomlacachecache.php on line 422 可以尝试关闭PHP 错误信息。Xampp的默认php环境是开启错误信息的、 在PHP.ini中 查找error_reporting = E_ALL | E_STRICT 然后屏蔽修改为 error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED 查找 display_errors = On 屏蔽后修改为 display_errors = Off……

Continue reading

postgresql django 搭建博客

一个国外站点上看到的,使用postgresql django 搭建博客。看着写的不错,就摘了下来: In part 1, we installed PostgreSQL on the VPS. In this part, it’s time to get the database server up and configured. First, though, now that we have something to lose on the server, backups are now enabled at Slicehost. $5/month is cheap insurance. This also means we can take a snapshot of the slice, which we’ll do at the end of each major checkpoint, so we can roll back to it if something gets screwed up. (As they say in videogaming, “Hope you sav……

Continue reading

apache下安装python模块运行django站点框架

安装django 直接rpm包和yum方式两种方式 rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm yum update yum install mod_python Django 安装数据库支持 sqlite、PostgreSQL 和mysql,分别如下: yum install python-sqlite2 yum install python-psycopg2 yum install python-devel mysql-devel gcc wget python-setuptools 或者源码包安装,这里只介绍mysql一种 wget http://downloads.sourceforge.net/project/mysql-python/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz tar -zxvf MySQL-python-1.2.3.tar.gz cd MySQL-python-1.2.3/ python setup.py build python setup.py install 配置apache虚拟主机; SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonDebug Off 如果你……

Continue reading

apache上安装mod_python

一、安装mod_python 针对debian和centos版的linux,安装方式分别如下: 1apt-get install libapache2-mod-python和yum install mod_python 二、配置apache 1cp /etc/httpd/conf.d/python.conf /etc/httpd/conf.d/python.conf_orig 2cat /dev/null > /etc/httpd/conf.d/python.conf 3vi /etc/httpd/conf.d/python.conf 编缉内容如下: 1LoadModule python_module modules/mod_python.so 2<Directory /var/www/html/> 3 Options Indexes FollowSymLinks MultiViews 4 AllowOverride None 5 Order allow,deny 6 allow from all 7 AddHandler mod_python .py 8 PythonHandler mod_python.publisher 9 PythonDebug On 10</Directory> 如果对于.psp……

Continue reading

mod_fastcgi和mod_fcgid的区别

一、两者的原理 mod_fcgid是一个跟mod_fastcgi二进制兼容的Apache module。 原来的mod_fastcgi因为实现方式的限制,所以可能会创建了很多不必要的进程,而实际上只需要更少的进程就能处理同样的请求。 mod_fastcgi的另外一个问题是每一个CGI的多……

Continue reading

Latest articles

Categories

Tags

ACL AD AES AI Alpine Android Anpic Ansible Apache Apm Apparmor Appfog Apr Apt-Get Aria2 Array Atlassian Atop Audit Awk AWS Awstats Axel Azure Backdoor Backup Bamboo Bash Bat Benchmark Bigdata Bin Bind Bitwise Blockchain BMC Book Bootstrap Brocade Bsd C1000 Cache Capistrano Catlog CDH5 Centos Centos7 Chatops Chattr Check_mk Checkinstall Cisco CL210 Clickhouse Cloud Cloud-Desktop Cmdb Cms Cobbler Collectd Comm Compress Confd Conver Corosync Cpu Crontab Crunchbang Css Curl C语言 Date DDOS Decode Dell Desktop Devops Df Dhcp Diff Diskpart DISTINCT Django DNS Docker Dos2unix Dpkg Drupal Duckdb EKS ELK Etcd Excel Fail2ban Fastcgi Fdisk Fiddler Find Firewalld Flask Flvtool Ftp Function Fuser GCP Geek Ghost Gin Git Github Gitlab Glances Glusterfs Go Godaddy Golang Google Gooupadd Grafana Graphviz Gravatra Grep Grub2 Hadoop Haproxy Hardware HBA HCIE Heartbeat Helm Hexdump Hhvm History Hotspot Html Http/Html/Web Http/Html/Web Httplogs Https HttpWatch Huawei Huaweicloud Hugo IBM Icmp Iconv Ifconfig IIS InfluxDB Ingress InnoDB Inotify Iopp IOS Ipmitool Iptables Iredmail Iscsi Isito It-News Java JavaScript Jdk Jenkins Jinja2 Jira Join Joomla K3s K8s Kdump Keepalived Kernel Kingate KVM Lamp Last Leetcode Lib Linux Linux高级篇 Ln Ls Lsi Lsof Lvm Lvs Mac Mail Man Mark Markdown Matplotlib Maven Memcached Microservice Mimikatz Mkdocs Mkpasswd Mmonit Mod_jk Mongodb Monit Monitor Mono Moodle Mosh Mount Mplayer Mpm Mrtg Mtr My.cnf Mysql Mysqlbinlog Mysqld_multi MySQLdb Mysqldump Mysqlhotcopy Nagios Nc Nethogs Netlify Nexus Nfs Nginx Nmon Nocatlog Node.js Nrpe Ntfs Ntop Ntp Obs Ocr Open-Falcon Openbox Opencv Openldap OpenResty Openssl Openstack Oracle Oswatch Paas Pacemaker Pam Pandas Parted Pcp Pcre Pdf Percona Perl Pexpect Pgrep Php Php-Fpm Ping Plsql Develope PM Postfix PostgreSQL Powershell Prettify Proc Prometheus Puppeteer Pushd Pwgen Pxe Pyecharts Python Python模块 QoS Radmin Raid Rdesktop Read Redhat Redis Redmine Regex Rh134 RH318 RH442 RHCA RHCE Rhel7 Rhel8 RHEV Rm Rman Rootkit Route Rpm Rpmforge Rrdtool RSA Rsync Rsyslog Safe Saltstack Samba Scapy Screen SecureCRT Sed Selenium Selinux Seo Seq Session Set Shc Sheepdog Shell Shopt Sitemap Skydns Smokeping Snffier Snmp Socket Soft Sort Spider Sql Sqlserver Squid SRE Ss Ssh Sshpass Statuscode Strace Strings Su SublimeText2 Sudo Suse Svn Sysbench Syslog-Ng Sysstat Systemd T Tar TC Tcpcopy Tcpdump Tech Telecom Telnet Tencentcloud Tengine Test Testlink Threads Time Tmux Tomcat Touch Tr Tsar Twisted Ubuntu Udev Ulimit Unix Unixbench User-Agent Useradd Varnish VBA Vbs Vercel Vi Vim Visudo Vmstat Vmware Vnc Voice Vpn Vscode Vsftp Vsftpd Vue Watchdog Web Webcam Webistrano Wget Wiki Windows Wol Wordpress Workshop Wsl X-Windows Xampp Xcache Xmllint Xtrabackup Yule Yum Zabbix Zeromq Zip Zonetime Zookeeper 下载工具 云主机 云原生 代理 加密 古意 吐槽 圈里圈外 娱乐 字符串函数 安全 平台架构 推理 提权 故事汇 故障案例 数据结构 每日看点 民国史 生活 科学记录 站长管理工具 算法 管理 网站架构 翻墙 股票 行业 诗韵 负载均衡 远程管理 面试题

Links

Meta