Ubuntu 14.04搜狐更新源及安装软件linux教程http://www. linuxprobe. com/
Ubuntu 14.04搜狐更新源及安装软件sudo vim /etc/apt/source. list
#将软件源改为sohu的deb http://mirrors. sohu. com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors. sohu. com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors. sohu. com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors. sohu. com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors. sohu. com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors. sohu.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors. sohu.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors. sohu.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors. sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors. sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
2. 更新并升级已有软件并安装一些基础依赖库apt-get update apt-get upgrade apt-get install libcurl3-dbg curl libpcre3 libpcre3-dev libcurl4-openssl-dev libyaml-dev
3. 安装软件
&bull ;Nginx/MySQL/Redis/Git/SVN apt-get install nginx mysql-server redis-server git subversion
&bull ;PHP及核心扩展apt-get install php5
#中途出现apache相关的警告和错误说明系统默认安装了Apache卸载之apt-get remove apache2apt-get autoremove
#安装核心扩展apt-get install php5-dev php5-cgi php5-cli php5-fpm php5-common php5-mysql php5-curl php5-dbg php5-json php5-gd php5-mcrypt php5-redis
&bull ;Composer curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/composer
&bull ;PHP在PECL上的扩展Yaf/Yar等扩展
pecl install yaml pecl install yaf pecl isntall yar
&bull ;Phalcon
#下载的源码放在/source 目录下git clone --depth=1git://github.com/phalcon/cphalcon.git cd cphalcon/build sudo ./install
配置sudo vim /etc/php5/mods-available/private. ini extension=yaml. so extension=yaf. so extension=yar. so extension=phalcon. so extension=swoole. so ln -s /etc/php5/mods-available/private. ini /etc/php5/fpm/conf.d/30-private. ini ln -s /etc/php5/mods-available/private. ini /etc/php5/cli/conf.d/30-private. ini ln -s /etc/php5/mods-available/private. ini /etc/php5/cgi/conf.d/30-private. ini linux教程http://www. linuxprobe. com/
近日华纳云商家正式上线了美国服务器产品,这次美国机房上线的产品包括美国云服务器、美国独立服务器、美国高防御服务器以及美国高防云服务器等产品,新产品上线华纳云推出了史上优惠力度最高的特价优惠活动,美国云服务器低至3折,1核心1G内存5Mbps带宽低至24元/月,20G ddos高防御服务器低至688元/月,年付周期再送2个月、两年送4个月、三年送6个月,终身续费同价,有需要的朋友可以关注一下。华纳云...
Sharktech又称SK或者鲨鱼机房,是一家主打高防产品的国外商家,成立于2003年,提供的产品包括独立服务器租用、VPS云服务器等,自营机房在美国洛杉矶、丹佛、芝加哥和荷兰阿姆斯特丹等。之前我们经常分享商家提供的独立服务器产品,近期主机商针对云虚拟服务器(CVS)提供优惠码,优惠后XS套餐年付最低仅33.39美元起,支持使用支付宝、PayPal、信用卡等付款方式。下面以XS套餐为例,分享产品配...
RepriseHosting是成立于2012年的国外主机商,提供独立服务器租用和VPS主机等产品,数据中心在美国西雅图和拉斯维加斯机房。商家提供的独立服务器以较低的价格为主,目前针对西雅图机房部分独立服务器提供的优惠仍然有效,除了价格折扣外,还免费升级内存和带宽,商家支持使用支付宝或者PayPal、信用卡等付款方式。配置一 $27.97/月CPU:Intel Xeon L5640内存:16GB(原...