最新 分享

Publish our news and thoughts with all.

Popular Articles

Recent Stories

ubuntu zip压缩当前文件夹

命令如下:zip -r %%.zip ./

最近项目用到的mysql语句

建立表:

CREATE TABLE IF NOT EXISTS `postdata` ( `id` int(11) NOT NULL auto_increment, `city` varchar(255), `time` varchar(255), `code` varchar(255), `school` varchar(255), `pay` varchar(255), `state` varchar(255), `updatetime` datetime PRIMARY KEY (`code`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

ubuntu上安装curl库

joomla上安装sobipro时,需要curl库的扩展支持,安装命令如下:

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

Setting Up Subdomains in Linode and Apache

I’ve been using Linode for a few months to host about a dozen websites and I’ve been very happy with the experience. I have found the documentation at Linode to be clear and concise, especially when it comes to setting up multiple sites using a standard, Ubuntu-based LAMP (Linux, Apache, MySQL, PHP) configuration.

linode ubuntu如何支持(安装)GD库

重新安装gd库:apt-get install php5-gd 不起作用的话,更新过后再安装gd库:apt-get update,重启:service apache2 restart OK。

Ubuntu下的计划任务 -- cron的基本知识

cron是一个Linux下的后台进程,用来定期的执行一些任务。因为我用的是Ubuntu,所以这篇文章中的所有命令也只能保证在Ubuntu下有效,但其他系统应该也差不多。

linode vps装wordpress升级和装插件时提示ftp连接错误的解决方法

putty登录vps,输入命令:

chown -R www-data /srv/www/domain.com/
其中 www-data 是你的linux user
我的是ubuntu11.0,如果你的系统不一样或者改动过的话,可能需要把www-data换成www试试
 

Ubuntu 启用 Apache Mod_rewrite 模块

Apache的rewrite模块,提供了一个基于规则的重写(rewrite,也许译为重构更为合适)引擎,来实时重写发送到Apache的请求URL。因功能极其强大,被称为URL重写的“瑞士军刀”。

在 Ubuntu 中可以使用下面的方法来开启Mod_rewrite 模块。