标签: debian

  • Debian GNU/Linux 6.0 “Squeeze”正式发布

    Debian 6.0 “Squeeze”北京时间今天上午正式发布,带来众多新软件、特性和全新的主题。其软件包版本大致与Ubuntu 10.04相当,使用内核2.6.32,Gnome 2.30,KDE4.4.5等,强烈推荐升级。

    下载:http://www.debian.org/distrib/

    网络安装镜像: http://cdimage.debian.org/debian-cd/6.0.0/i386/iso-cd/debian-6.0.0-i386-netinst.iso (i386)
    http://cdimage.debian.org/debian-cd/6.0.0/amd64/iso-cd/debian-6.0.0-amd64-netinst.iso (amd64)

    可以用来完成安装的第一张CD:
    http://cdimage.debian.org/debian-cd/6.0.0/i386/bt-cd/debian-6.0.0-i386-CD-1.iso.torrent (i386)
    http://cdimage.debian.org/debian-cd/6.0.0/amd64/bt-cd/debian-6.0.0-amd64-CD-1.iso.torrent (amd64)

    离线用户可以下载第一张DVD:
    http://cdimage.debian.org/debian-cd/6.0.0/i386/bt-dvd/debian-6.0.0-i386-DVD-1.iso.torrent (i386)
    http://cdimage.debian.org/debian-cd/6.0.0/amd64/bt-dvd/debian-6.0.0-amd64-DVD-1.iso.torrent (amd64)

    KDE Plasma Workspaces and KDE Applications 4.4.5
    an updated version of the GNOME desktop environment 2.30
    the Xfce 4.6 desktop environment
    LXDE 0.5.0
    X.Org 7.5
    OpenOffice.org 3.2.1
    GIMP 2.6.11
    Iceweasel 3.5.16 (an unbranded version of Mozilla Firefox)
    Icedove 3.0.11 (an unbranded version of Mozilla Thunderbird)
    PostgreSQL 8.4.6
    MySQL 5.1.49
    GNU Compiler Collection 4.4.5
    Linux 2.6.32
    Apache 2.2.16
    Samba 3.5.6
    Python 2.6.6, 2.5.5 and 3.1.3
    Perl 5.10.1
    PHP 5.3.3
    Asterisk 1.6.2.9
    Nagios 3.2.3
    Xen Hypervisor 4.0.1 (dom0 as well as domU support)
    OpenJDK 6b18
    Tomcat 6.0.18
    more than 29,000 other ready-to-use software packages, built from nearly 15,000 source packages.

  • debian安装二进制mysql5.5.8

    debian需要安装libaio

    apt-get install libaio1

    然后输入命令

    shell> groupadd mysql
    shell> useradd -r -g mysql mysql
    shell> cd /usr/local
    shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
    shell> ln -s full-path-to-mysql-VERSION-OS mysql
    shell> cd mysql
    shell> chown -R mysql .
    shell> chgrp -R mysql .
    shell> scripts/mysql_install_db –user=mysql
    这里我用的这句:scripts/mysql_install_db –user=mysql –basedir=/usr/local/mysql –datadir=/usr/local/mysql/data
    shell> chown -R root .
    shell> chown -R mysql data
    shell> cp /usr/local/mysql/support-files/my-small.cnf /etc/my.cnf # Option

    这里需要修改innodb设置
    shell> bin/mysqld_safe –user=mysql &
    shell> cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysql.server # Optional

    这里设置

    basedir=/usr/local/mysql
    datadir=/usr/local/mysql/data

    最后开机自启动

    update-rc.d mysql.server defaults

  • 密码保护:debian下安装directadmin详细步骤

    此内容受密码保护。如需查阅,请在下方输入密码。

  • debian5安装Directadmin

    重装安装系统后,首先做一些准备工作
    修改源、升级、卸载预装的apache、安装一些东东gcc等 vi /etc/apt/sources.list

    修改内容为

    deb http://ftp.debian.org/debian lenny main contrib non-free

    deb http://security.debian.org/debian-security lenny/updates main contrib non-free

    deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

    apt-get update //更新系统

    apt-get upgrade

    apt-get remove apache*  //卸载Apache

    apt-get autoremove

    apt-get install -y build-essential wget make libssl-dev

    apt-get update //更新系统

    apt-get upgrade
    安装DA

    wget www.directadmin.com/setup.sh

    chmod +x setup.sh

    ./setup.sh
    安装完成后手动启用垃圾过滤系统

    /usr/local/directadmin/scripts/spam.sh

    /usr/bin/spamd -d -c -m 15

  • debian安装编译环境

    dabian最小安装,安装好时,只会占去70MB多的空间,可以说真是”小而美小而简”,因为dabian的使用哲学就是:「有用到的软体再装」,不像红帽会把你可能会用到的通通装进去,不过也就是因为如此,所以预设的debian把很多软体都省略了!

    以下介绍debian编译环境,所需要安装的一些套件!

    1.build-essential

    你要编译软体时最基本要装这个,他相依libc6-dev,gcc,g++,make,dpkg-dev,安装他就帮你安装好这些。

    2.apt-file

    一般来说,若已经装好build-essential应该还是不够的,因为它只会安装一些预设的函式库,若编译软体时出现找不到函式库的错误讯息时,可以用apt-file来搜寻。

    ex:apt-file安装好时必须先update ( ~# apt-file update)

  • debian-ispcp官方安装教程

    Make sure you are logged in with an user that has root privileges.
    STEP 1 – Download & Extract the distribution files
    If not installed on your System, please install “aptitude” via:

    # apt-get install aptitude
    # aptitude update && aptitude safe-upgrade# aptitude install tar bzip2 wget lsb-release# mkdir -p /usr/local/src/ispcp# cd /usr/local/src/ispcp
    Download your Copy of ispCP from SourceForge.net with wget

    Untar the File: (REPLACE .X.X with your downloaded Version)

      (更多…)

  • Debian安装ispCP

    在你安装ispCP前请确认你注意到以下问题:
        (1)如果你使用的是Debian Sarge,请升级到Etch或者Lenny。
        (2)你的服务器必须配置有完全合法的域名,或者这个域名可以被网络上的其他计算机识别。
        (3)服务器的安装,请见教程:Debian 5.0.1图文安装教程!
        (4)服务器的IP、子网掩码等设置,以(3)中的教程设置为范例,您可以自行修改成你的设置。
    一、修改更新源
        编辑更新源,将更新源中的光盘源取消掉

    host:~# vi /etc/apt/sources.list
         找到如下开头的内容,在其前面添加“#”或者直接将这一行删除: debian cdrom:[Debian GNU……
    二、安装ssh server
        ssh server在debian 5中默认不安装的,为了我们远程管理方便,我们要安装ssh server,运行如下命令: host:~# apt-get install ssh openssh-server
    三、设置主机名 (更多…)

  • debian网易更新源

    deb http://mirrors.163.com/debian lenny main non-free contrib
    deb http://mirrors.163.com/debian lenny-proposed-updates main contrib non-free
    deb http://mirrors.163.com/debian-security lenny/updates main contrib non-free

    deb-src http://mirrors.163.com/debian lenny main non-free contrib
    deb-src http://mirrors.163.com/debian lenny-proposed-updates main contrib non-free
    deb-src http://mirrors.163.com/debian-security lenny/updates main contrib non-free

     

    deb http://mirrors.163.com/debian squeeze main non-free contrib
    deb http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free
    deb http://mirrors.163.com/debian-security squeeze/updates main contrib non-free

    deb-src http://mirrors.163.com/debian squeeze main non-free contrib
    deb-src http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free
    deb-src http://mirrors.163.com/debian-security squeeze/updates main contrib non-free

  • debian putty UTF8中文设置

    step 1 dpkg-reconfigure locales 选择zh_CN.UTF-8,以及其它所需的字符集 step 2 打开putty,选择 Category中的Windows--->Appearance---> Font settings 把”字体”改为”Fixedsys”(或者其他中文字体),字符集为CHINEASE_GB2312 选择 Category中的Windows--->Translation ----> Received data assumed to be … 把character设置为 ”UTF-8″ step 3 1、console终端乱码 在/etc/profile文件的最后一行添加如下内容: export LC_ALL=”zh_CN.UTF-8″ 2、xwindow终端乱码 在/etc/sysconfig/i18n文件的最后一行添加如下内容: export LC_ALL=”zh_CN.UTF-8″

  • debian安装ispconfig

    这篇文章应该是很珍贵的,目前网上很少提到关于ispconfig的文章,但是作者在自己的博客上连续发表多篇教程文章甚是经典,更甚是连中文包都制作出来,实在是忍不住转载过来这篇文章留作珍藏。

    在你安装ispconfig3前请确认你注意到以下问题:
        (1)如果你使用的是Debian Sarge,请升级到Etch或者Lenny。
        (2)你的服务器必须配置有完全合法的域名,或者这个域名可以被网络上的其他计算机识别 。
        (3)服务器的安装,请见教程:Debian 5.0.1图文安装教程!
        (4)服务器的IP、子网掩码等设置,以(3)中的教程设置为范例,您可以自行修改成你的设 置。
    一、修改更新源
          编辑更新源,将更新源中的光盘源取消掉

    host:~# vi /etc/apt/sources.list
          找到如下开头的内容,在其前面添加“#”或者直接将这一行删除: debian cdrom:[Debian GNU……
    二、安装ssh server
          ssh server在debian 5中默认不安装的,为了我们远程管理方便,我们要安装 ssh server,运行如下命令:

    host:~# apt-get install ssh openssh- server (更多…)

  • 在Debian上安装Apache Mysql PHP

    安装Apache Mysql PHP
    安装之前,保证你的版本是最新的。使用命令:(“#”表示你应该以root的身份来运行)。

     # aptitude update && aptitude upgrade
    mysql
    使用下面的命令来安装mysql:

     # aptitude install mysql-server mysql-client
    安装完mysql server后,你应该修改下root的密码。*此步骤对debian Lenny版本无效,因为在安装的时候你将会被要求输入mysql root用户的密码。

    # /usr/bin/mysqladmin -u root password ‘enter-your-good-new-password-here’
    为了安全起见,你应该不使用root账户来运行数据库,而是新建一个账户来从一个PHP脚本来连接你的mysql数据库。

    apache2
     # aptitude install apache2 apache2-doc
    PHP
    # aptitude install php5 php5-mysql libapache2-mod-php5
    配置Apache Mysql PHP
    Apache2 配置文件: /etc/apache2/apache2.conf

    当需要的时候,你可以编辑此配置文件。

    测试PHP
    为了测试php接口, 编辑文件 /var/www/apache2-default/test.php:

    # nano /var/www/apache2-default/test.php
    插入下面代码

    <?php phpinfo(); ?>
    最后,使用浏览器访问 http://SERVERIP/apache2-default/test.php 来检测下.

  • Debian GNU/Linux 5.0 Lenny 正式发布

    Debian GNU/Linux 5.0 发布
    2009年02月14日
    Debian 计划高兴地宣布在经历了 22 个月坚持不懈地开发之后,Debian GNU/Linux 5.0 版(代号Lenny)正式发布了。Debian GNU/Linux 是一个 自由的操作系统,它支持 12 种处理器架构并带有KDE、Gnome、Xfce 和 LXDE 桌 面环境。同时它和 FHS v2.3 兼容,其软件针对 LSB 3.2 版开发。

    官方地址:http://www.debian.org/