网站准备迁移至aliyun

网站准备迁移至aliyun了。

1、付款买下云服务器。最便宜的那种,单核,512M内存,10G数据盘,以后有需要时再进行扩容。
2、安装必要的支持库:
  • yum install lrzsz unzip gcc pcre pcre-devel make  gcc-c++ ncurses-devel wget
3、安装nginx。
  • 下载nginx : wget http://nginx.org/download/nginx-1.2.8.tar.gz
  • 编译nginx : ./configure
    –prefix=/opt/nginx
    –sbin-path=/opt/nginx/bin/nginx
    –conf-path=/opt/nginx/config/nginx.conf
    –pid-path=/opt/nginx/logs/nginx.pid
    –with-http_ssl_module
  • make;make install
4、安装mysql
5、安装php
6、已经迁移成功。下面就是转移域名了。
7、cvs安装完成。准备把迁移工程:
  • 安装参考:http://hsinichi.pixnet.net/blog/post/4524770-cvs-server-for-linux-%E5%AE%89%E8%A3%9D%E6%AD%A5%E9%A9%9F
发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>