Ubuntu Server安装配置
2009-03-03 19:49
483 查看
日期:2009-03-03
一、通过光盘安装Ubuntu Server 8.10,在选择服务器用途时什么都不选
二、登录系统后,安装SSH,FTP
sudo apt-get install openssh-server
sudo apt-get install vsftpd
三、更新系统
首先备份一下sources.list总是没有坏处的
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo vim /etc/apt/sources.list
增加如下内容:
deb http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
sudo apt-get update
sudo apt-get upgrade
为了编译安装Apache MySQL PHP,还要安装一些东东:
sudo apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev lynx m4 make ncftp nmap perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++ build-essential
接下来就是安装Apache MySQL PHP了
添加 GD2
sudo apt-get install php5-gd
增加apache的rewrite
sudo a2enmod rewrite
vi /etc/apache2/sites-enabled/000-default
把所有 AllowOverride None 改成 AllowOverride All
sudo apache2ctl restart
一、通过光盘安装Ubuntu Server 8.10,在选择服务器用途时什么都不选
二、登录系统后,安装SSH,FTP
sudo apt-get install openssh-server
sudo apt-get install vsftpd
三、更新系统
首先备份一下sources.list总是没有坏处的
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
sudo vim /etc/apt/sources.list
增加如下内容:
deb http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
sudo apt-get update
sudo apt-get upgrade
为了编译安装Apache MySQL PHP,还要安装一些东东:
sudo apt-get install binutils cpp fetchmail flex gcc libarchive-zip-perl libc6-dev libcompress-zlib-perl libdb4.3-dev libpcre3 libpopt-dev lynx m4 make ncftp nmap perl perl-modules unzip zip zlib1g-dev autoconf automake1.9 libtool bison autotools-dev g++ build-essential
接下来就是安装Apache MySQL PHP了
添加 GD2
sudo apt-get install php5-gd
增加apache的rewrite
sudo a2enmod rewrite
vi /etc/apache2/sites-enabled/000-default
把所有 AllowOverride None 改成 AllowOverride All
sudo apache2ctl restart
相关文章推荐
- linux -- Ubuntuserver图形界面下安装、配置lampp、phpmyadmin
- linux -- ubuntuserver 安装Apache后,修改默认目录和分布式配置文件可执行
- ubuntu server 12.04 上mysql的安装与配置
- 在Ubuntu Server上源码安装OpenERP 8.0,并配置wsgi和nginx运行环境
- Ubuntu 10.0.4 server BOOST环境配置安装
- 菜鸟玩ubuntu(3)--ubuntu server 安装配置
- Ubuntu server安装apache2及重要配置(持续更新)
- Ubuntu Server 12.04下cobbler + dnsmasq +tftpd-hpa的安装配置(四)
- xshell远程终端操作Ubuntu server安装LAMP环境之最详细笔记之二PHP开发环境配置
- Ubuntu环境下配置网络环境及ssh服务器搭建(openssh-server无法安装的终极解决方案)
- 阿里云ubuntu 16.04 Server配置方案 3 安装git ,node,pyhon常用的工具
- ubuntu安装配置DNS server
- Ubuntu vnc4server安装配置
- Ubuntu server 16.04安装配置Gitlab
- Ubuntu 12.10安装和配置KVM Server用户使用手册v1.0
- ubuntu 中 mysql-server 的 安装 与 配置 ..
- ubuntu server 安装配置记录1
- ubuntu server 12.04.4安装配置