安顿AMP apt-get install apache2 mysql-server php5 php5-mysql5 设置配备铺排 Apache2 默许站点 vi /etc/apache2/sites-enabled/000-default 插足一行 RedirectMatch ^/$ /apache2-default/ 实验这一...
deb http://ftp.debian.org/debian/ squeeze main non-free contribdeb http://ftp.debian.org/debian/ squeeze-proposed-updates main non-free contrib #debian 6 网易软件更新源 deb http://m...
一个基本的命令: ffmpeg -f alsa -i <device> out.mp3 其中, -f 表示设置格式,有format的意思,out.mp3前面可以加上 -f mp3, 因为带了mp3后缀,就省略了。 alsa 表示alsa音频驱动程序的编码格式,它保证后面的音频流可以由alsa解码。具体可根据驱动程序选择。(alsa主页https...
编辑 /etc/apt/sources.list 添加163镜像源 apt-get update 进行更新 dpkg-reconfigure locales 选择 en_US.utf-8 utf-8 和 zh_CN.utf-8 utf-8 、zh_CN.gbk2312 确定后默认选择 zh_CN apt-get install zhcon 下zhcon...
debian环境下 l7-filter 的安装教程本文欢迎大家转载,请保留作者信息。请注明转自linuxsir.org,作者memory。l7-filter(Application Layer Packet Classifier for Linux)是linux下的开源项目,它是基于应用层数据识别的分类器。它可以分类数据包而不管你使用的是哪些端口,这对那些...
HowTo: Change Docker containers storage location with WSL2 on Windows 10 Once I started playing with Docker on Windows it quickly turned out that latest version heavily rely on WS...
安装: apt-get install snmp snmpd 配置: Debian5 1、修改/etc/snmp/snmpd.conf 在【first】节中,将如下行前面的"#"去掉,并在其上一行前加“#”: #com2sec readonly default public 在【third】节中,将“view system”行修改为如下 view mib...
1、查看docker日志的方法: 1) ubuntu(14.04) /var/log/upstart/docker.log 2) ubuntu(16.04) journalctl -u docker.service 3) centos7/rhel7 journalctl -u docker.service 4) coreos ...
1: 台式机家里面不想再走线了。 于是去某东买了个USB无线网卡。tp的WN725N USB,非常小, 和罗技的优联接收器差不多大。 2: 驱动能自己识别是不指望了,既然是usb网卡,插入USB后,那就lsusb 看到新增加了一行Realtek的 ID 0bda:8179 [html] view plaincopy root@debian:...
刚安装好的Debian默认还没有sudo功能。1、安装sudo# apt-get install sudo2、修改 /etc/sudoers 文件属性为可写# chmod +w /etc/sudoers3、编辑 /etc/sudoers ,添加如下行# vim /etc/sudoersroot ALL=(ALL) ALLuser ALL=(ALL) ALL...