debian配置集锦】的更多相关文章

1 关闭蜂鸣 在/etc/bash.bashrc中加入下面的行: setterm -blength=0 2 debian bash路径显示太长 将.bashrc中的 else PS1='${debian_chroot: + ($debian_chroot)}\u@\h:\w\$' fi 中的\w换成大写\W,保存,然后 source .bashrc 就ok了.…
yum或apt基本源设置指南   关于: 管理Linux服务器的运维或开发人员经常需要安装软件,最常用方式应该是通过Linux系统提供的包管理工具来在线安装,比如centos的yum,ubuntu或debian的apt-get.当然这些工具使用之前需要配置好yum源或apt源. 配置文件: centos配置---->/etc/yum.repos.d/xxx.repo debian配置---->/etc/apt/sources.list 指南: 国内有不少优秀的镜像源服务器,比如mirror.b…
Ubuntu好像是直接支持的,现在回到Debian有点不适应了.需要人工配置一下: 一.mod-python 安装模块:apt-get install libapache2-mod-python 编辑文件:/etc/apache2/sites-available/000-default 增加如下内容: <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,de…
1.配置apt-get源 cp  /etc/apt/sources.list  /etc/apt/sources.listbak   #备份原有配置文件       nano  /etc/apt/sources.list   #编辑 注释掉本地光盘源这一行: deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official i386 DVD Binary-1 20120128-12:53]/ squeeze contrib main ctrl+o  …
由于xrdp.gnome和unity之间的兼容性问题,在Debian仍然无法使用xrdp登陆gnome或unity的远程桌面,现象是登录后只有黑白点为背景,无图标也无法操作.使用xrdp只能登录xfce的远程桌面. 首先安装xfce: sudo apt-get update sudo apt-get install xfce4 如果网速较慢,这会持续一段时间. 然后安装xrdp组件和vnc服务器: sudo apt-get install xrdp vnc4server 安装好后要自行新建配置文…
大家好,最近几天我在配置vsftpd,总结出如何更快的配置vsftpd1.我的系统是debian 5.02.安装 vsftpd, apt-get install vsftpd3.配置 vsftpdcd /etc/4.备份vsftpd.conf(以防配置错误,可以回复原来的配置文件)cp /etc/vsftpd.conf vsftpd.conf.bk5.vim /etc/vsftpd.conf我的配置文件如下: listen=YES anonymous_enable=YES local_enabl…
debian的apache多域名配置: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-debian-7 不同于同文件的host设置,分开设置方便管理,使用a2ensite 命令关联…
1. 查看虚拟机上本机ipcmd→ipconfig 2. 配置网卡2.1 备份原有配置文件配置文件cp /etc/network/interfaces /etc/network/interfacesbak #备份原有配置文件2.2 编辑interfacesvim /etc/network/interfaces #编辑网卡配置文件 修改后,注意后面的地址要放在最后面 标注: auto lo #开机自动连接网络 iface ens32 inet static #static表示使用固定ip,dhcp…
编程之路刚刚开始,错误难免,希望大家能够指出. ntp,ptp,ntp,ptp 本文只说软件时间戳 先上几个推荐的网址,可以更好的了解ptp: https://docs.fedoraproject.org/f26/system-administrators-guide/servers/Configuring_PTP_Using_ptp4l.html https://doc.opensuse.org/documentation/leap/tuning/html/book.sle.tuning/ch…
http://blog.csdn.net/ypist/article/details/8513274 vim /etc/resolv.conf   配置域名服务器 search test.ivic.org.cn      nameserver 202.112.128.51      nameserver 192.168.0.3 vim /etc/apt/sources.list 配置源 配置静态ip     route add default gw 192.168.1.1 最后重启network…