最新 分享

Publish our news and thoughts with all.

Popular Articles

Recent Stories

linux ubuntu 查找文件路径的命令

find / -name
最近找不到my.cnf,可以用这个命令:
find / -name my.cnf
结果:
/etc/mysql/my.cnf

 

MySQL增加普通用户后无法远程本地登陆问题的解决方法

增加普通用户后,执行: mysql> use mysql mysql> delete from user where user=''; mysql> flush privileges; 意思是删除匿名用户。

ubuntu下搭建vsftpd过程概述

一、安装、重装、卸载vsftp

全新安装:apt-get install vsftpd

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。