文章归档

ubuntu10.04安装Cherokee 在PHP5 MySQL

是一个非常快速,灵活和易于配置的Web Server.它支持现今普遍的技术:FastCGI, SCGI, , CGI, TLS and SSL 加密连接, virtual hosts, authentication, on the fly encoding, load balancing, Apache compatible log files, and much more. 本教程演示如何安装 Cherokee 在Ubuntu 10.04 服务器上PHP5(through FastCGI) and 的问题.

1 初步说明

在本教程中我使用的IP地址192.168.0.100主机名server1.example.com。这些设置可能不同的你,所以你必须在适当情况下更换。

下面配置都是以 root用户执行程序:

sudo su

2 安装 MySQL 5

首先安装 MySQL 5 :

aptitude install mysql-server mysql-client

阅读更多 »

Share

安装Nginx 的 PHP 5.3 和 PHP-FPM 在 Ubuntu(10.04)

安装PHP在nginx的平台上.基于ubuntu10.04的版本之上安装.安装过程看下面.

安装环境 0

在安装nginx之前必须有一个平台.下面是选择Ubuntu Lucid (10.04). 安装 +

安装Nginx 1

要先安装nginx.

sudo apt-get install nginx

修改默认的配置文件.

sudo vim /etc/nginx/sites-available/default

阅读更多 »

Share

Edit PDF On Ubuntu

这是一个很不错的开源PDF编辑软件,你也可以编辑PDF文档里的照片和连接.官方的下载连接.http://pdfedit.petricek.net/en/download.html

安装在 :

#sudo apt-get install pdfedit

Share

eBox Platform 1.4-2

eBox Platform是一份集成的网络服务器,它面向中小型企业提供简易和有效的计算机网络管理。它可以当作网关、基础设施管理工作站、风险管理工作站、办公服务器、通信服务器或是上述的集成来使用。这些功能被紧密地集成以自动完成大多数任务,并且避免出错和节省系统管理时间。eBox Platform遵循GNU公用许可证(GPL)发布,它运行于Ubuntu之上。

下载:ebox_installer-1.4-2.iso

Share

简单的WP备份脚本 to ssh

现在,每个人都有自己的Blog.那么有多少人做好备份工作呢.如果你是一个电脑专业人员.那么你需要让它自动运行程序.让它自动备份这才是你最想要的.那么如果你的主机符合条件(远程ssh)的话.那么你就可以这样做.不多说.代码如下.

#!/bin/sh
#WP备份脚本
#方便地备份wordpress的文件及数据库(限mysql)
#作者: bones7456

#需要事先设置好这个HOST的rsa key 不然无法用ssh登录
HOST="admin@ptubuntu.com"
#远程的WP文件所在目录,此目录下要有 wp-config.
REMOTE_PATH="www/ptubuntu"
#本地保存目录(最好是绝对路径),留空为当前目录
LOCAL_PATH="/home/ptubuntu/ptubuntu.backup"
#备份文件的前缀,默认自动按时间生成
PRE=`date +%F-%H-%M-%S`
 阅读更多 »
Share

Ubuntu 10.04更新源

现在ubuntu10.04 出来了.那么大家一定关心的是升级更新软件.或是下载中文语言版本.那么第一关你就是需要更新源.收集相关的源.

ArchLinux,Everest,FreeBSD,Fedora,LFS,Magiclinux,Mandriva,OpenOffice,openSUSE,Puppy,Red Hat,Slitaz,Turbolinux,Ubuntu, 中标普华
deb http://mirror.lupaworld.com/Ubuntu/ lucid main universe restricted multiverse


deb-src http://mirror.lupaworld.com/Ubuntu/ lucid main universe restricted multiverse
deb http://mirror.lupaworld.com/Ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirror.lupaworld.com/Ubuntu/ lucid-security universe main multiverse restricted
deb http://mirror.lupaworld.com/Ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirror.lupaworld.com/Ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirror.lupaworld.com/Ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirror.lupaworld.com/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirror.lupaworld.com/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirror.lupaworld.com/Ubuntu/ lucid-updates universe main multiverse restricted

阅读更多 »

Share