sudo apt-get install squid Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: squid : Depends: squid3 but it is not going to be installed virtualbox-4.3 : Depends: libgl1-mesa-glx or libgl1 Depends...
by xiaozichengok - Linux系统管理 - 2014-09-04 23:42:01 阅读(716) 回复(3)
ubuntu安装tftp server 1、安装相关软件包 apt-get install tftpd (服务端) apt-get install tftp (客户端) apt-get install xinetd 2、建立配置文件 cd /etc/xinetd.d/ vi tftp 输入 service tftp { socket_type = dgram protocol = udp wait = yes user = root server = /usr/sbin/in.tftpd server_args = -s /tftpboot disable = no per_source = 11 cps = 100 2 flags = IP...
在网上找了好几天关于subversion搭建的资料,乱得很。 综合了网上的一下资料,终于配置出来了。总体上效果还可以!:lol: 写一安装脚本,方便安装。第一次写哦 难免有错误之处,请有心人指正。 1 安装ubuntu server ,配置好网络。并配置一下源。 2 把Svn_Svnmanager-0.1.gz 放在$HOME下. 3 tar -zxvf Svn_Svnmanager-0.1.gz 4 chmod +x svn_setup 5 ./svn_setup 6 按INSTALL中,创建数据库 安装完毕! http://d.namipan.com/...
Beginning ubuntu server Administration: From Novice to Professional Copyright ? 2008 by Sander van Vugt SBN: 9781590599235 ■ CHAPTER 1 Installing ubuntu server 分区: /boot:主分区,单独分区,硬盘起始分区,100M /: 如不存储数据文件,8G /var:访问最频繁的分区,单独分区,至少4G /home: 单独分区 /srv: 网络服务 示例: /boot Primary partition Ext2 100 MB /var LVM ReiserFS 4 GB ...
[color="#ff0000"]1. Installation Set up root $ sudo passwd root $ su- apt sources.list $ cp /etc/apt/sources.list /etc/apt/sources.list.bak $ e /etc/apt/sources.list deb http://archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ hardy-security main restricted universe multiverse ...
检查网络配置 $ ifconfig 配置DHCP客户端 $ sudo vi /etc/network/interfaces 加入 iface eth0 inet dhcp 配置静态IP地址 $ sudo vi /etc/network/interfaces eth0配置如下: auto eth0 address 192.168.0.88 netmask 255.255.255.0 gateway 192.168.0.1 让新配置生效 保存退出后,使用重启networking命令让新配置生效: $ sudo /etc/init.d/networking restart 也可以重启网卡让新...
作者: mpstar 出自: http://www.linuxdiyf.com 1. Install $ sudo apt-get install nfs-common $ sudo apt-get install nfs-kernel-server 2.设定/etc/exports (For example:将/mnt/iso share给all net使用) $ sudo vi /etc/exports /mnt/iso *(ro,sync) 3.启动nfs server $ sudo /etc/init.d/nfs-kernel-server start 4.检查 $ showmount -e localhost 成功的话应该可以看到这样的讯息: Export list for localhost...
作者: chiver 出自: http://www.linuxdiyf.com 今天星期天在本本的vmware里玩了一天的ubuntu,装了又删,删了又装,感叹:虚拟机真好。 现在总结一下今天的失败经验: (因为我安装的是server版,所以只有命令行,没有装桌面) 1、如何编辑文本文件? 可以是被microsoft的windows宠坏了,现在见到黑底白字有种恐惧感,不知如何下手。好不容易登入了系统 ,想编辑一下sources.list文件,却不知道如何编辑。还好这个世界有网络,有...
作者: kbopoeco 出自: http://www.linuxdiyf.com 第一步:构建环境 以下命令用于确认你是否已经有必需的构架环境和工具来为kernel编译vmware模块: aptitude install linux-headers-`uname -r` build-essential aptitude install xinetd 第二步:下载VMware server VMware server可以从这里下载: http://www.vmware.com/download/server/ 接受EULA协议后就可以获得近102MB的 vmware server.tgz 注意:现在VMware server在没有...
安裝dhcp-server sudo apt-get install dhcp3-server 安裝dhcp server相關套件 設定dhcp server使用的網路卡 sudo cp /etc/default/dhcp3-server /etc/default/dhcp3-server_backup 複製一預設的dhcp server網卡設定檔 sudo gedit /etc/default/dhcp3-server 修改dhcp server的網卡設定檔 INTERFACES="" => INTERFACES="eth2" 將dhcp server網卡設為eth1 修改dhcp server設定檔 sudo cp /etc/dhcp3/dhcpd.conf /etc/dhc...