2006-08-23

在Ubuntu下安装常用程序

安装apache2:
apt-get install apache2

安装MySQL:
apt-get install mysql-server, mysql-admin

安装php5:
apt-get install php5
apt-get install libapache2-mod-php5
apt-get install php5-gd,php5-mysql, php5-mysqli, php5-xsl, php5-xmlrpc
apt-get install imagemagick
这样LAMP就架设好了!

安装常用的编译工具:
apt-get install build-essential

包括:
The following extra packages will be installed:
binutils cpp cpp-4.0 dpkg-dev g++ g++-4.0 gcc gcc-4.0 libc6-dev libstdc++6-4.0-dev
linux-kernel-headers make
Suggested packages:
binutils-doc cpp-doc gcc-4.0-locales debian-keyring gcc-4.0-doc lib64stdc++6 manpages-dev
autoconf automake1.9 libtool flex bison gcc-doc libc6-dev-amd64 lib64gcc1 glibc-doc
libstdc++6-4.0-doc stl-manual
Recommended packages:
libmudflap0-dev
The following NEW packages will be installed:
binutils build-essential cpp cpp-4.0 dpkg-dev g++ g++-4.0 gcc gcc-4.0 libc6-dev
libstdc++6-4.0-dev linux-kernel-headers make

待续...

1 条评论:

  1. 安装完默认的Apache 2.0.55后,启动时会有提示:
    apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

    解决办法是在/etc/apache2/apache2.conf文件里添上一句:
    ServerName gepc188.uni-trier.de

    回复删除