debian

debian5的源

為{幸葍}努か 提交于 2019-12-10 13:47:55
在终端执行命令 备份当前的源列表,以便日后需要时恢复: sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 编辑源列表 Ubuntu 和debian 中执行: gedit /etc/apt/sources.list Kubuntu 中执行: kdesu kate /etc/apt/sources.list Xubuntu 中执行: gksu mousepad /etc/apt/sources.list 适用于所有版本: sudo vim /etc/apt/sources.list 从以下各服务器列表内容中选择一段替换文件中的所有内容,一般来说加入一至两组即可,加多了影响更新速度。为防止非官方源中软件包不全的问题,请在sources.list文件中尾部添加一组官方源。 # deb file:/cdrom/ etch main contrib #deb http://mirrors.cn99.com/debian/ lenny main non-free contrib #deb-src http://mirrors.cn99.com/debian/ lenny main non-free contrib deb http://mirrors.163.com/ debian stable contrib main non

mysqli extension is missing debian

只谈情不闲聊 提交于 2019-12-10 13:38:54
问题 i m try to install mysql-sever on debian (WD mycloud live) i have tried everything i found on google but no success /etc/php5/conf.d/mysqli.ini Dont exists for install i used apt-get -f mysql-server mysql-client mysql-common so far i have mysql running PHP Version 5.4.11-1 Linux WDMyCloud 3.2.26 #1 SMP Fri Dec 27 13:50:41 PST 2013 armv7l Additional .ini files parsed /etc/php5/apache2/conf.d/10-pdo.ini, /etc/php5/apache2/conf.d/20-apc.ini, /etc/php5/apache2/conf.d/20-curl.ini, /etc/php5

Debian7.4 安装及配置

故事扮演 提交于 2019-12-10 13:36:36
 准备学习Hadoop,想把自己学习的过程,遇到的问题以及问题的解决方案一起共享给大家。学习Hadoop技术,首先要做的就是搭建Hadoop环境,由于手里只有一台古董级笔记本,也只能用这个笔记本通过VMWare WorkStation 10 虚拟出4个Linux操作系统,最早接触的Linux发行版本就是Debian,所以我在准备搭建Hadoop环境的时候Linux选择的是Debian,版本是Debian的最新版本,7.4.0稳定版。下面开始安装Debian系统。  1.由于每个人的电脑配置都不相同,在VMWare WorkStation 10中硬件的定制也就不相同,大家可以根据自己的电脑配置去定制适合自己的虚拟硬件配置。  2.硬件定制完成后开启此虚拟机  选择Advanced options (高级选项).  打开Advanced options(高级选项)  选择Expert install(专家安装) ,更多详细的配置  进入Debian 安装程序主菜单  1)Choose language(选择语言)   [1]选择语言  由于Hadoop环境的需要,Debian操作系统的语言为English(英语).   [2]选择国家  选择该系统使用的国家,由于环境的需要我选择United State(美国)。  根据步骤[1]和步骤[2],系统将提供最合适的键盘布局。

debian 5(lenny)源列表

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 13:28:46
# 这个多媒体的源需要额外的公钥,请参考它的官网页面一开头的说明, # 地址:http://www.debian-multimedia.org/ deb http://www.debian-multimedia.org lenny main non-free # deb ftp://ftp.debian-multimedia.org lenny main non-free # 官方安全更新的源 deb http://security.debian.org/ lenny/updates main # 这个ftp的源速度很快(将http协议改为ftp也可) deb http://ftp.debian.org/debian/ lenny main non-free contrib deb http://ftp.debian.org/debian/ lenny-proposed-updates main non-free contrib deb http://http.us.debian.org/debian lenny main non-free contrib deb http://http.us.debian.org/debian lenny-proposed-updates main non-free contrib # 这个台湾的源速度一直就很不错 (比较钟爱台湾源) deb

Ubuntu(debian)kamailio+rtpproxy 完美教程,测试通过

只谈情不闲聊 提交于 2019-12-10 13:22:58
1 安装好Ubuntu或者debian 2 安装 kamailio 多次测试,都是加入kamailio最新源,个人能力有限,不知道是版本问题,还是其他方面的,rtpproxy 都是起不来 索性直接安装ubuntu(debian),自身源所带kamailio版本,根据外文教程: https://www.fredposner.com/1457/kamailio-behind-nat/ 3 根据以上地址 安装 rtpproxy 4 本地sip 客户端无需启用 stun,ice. 5 云部署20天测试,欢迎测试,无认证,113.142.69.36:5060 本人号码:1001 6 一级nat就获得公网ip 相互通信没有问题,如:本人手机4G,zoiper 2.3.12 流量下是10段内网ip,nat后是沧州移动idc公网ip 电脑端 是电信 ,192段内网,nat后是不固定外网ip。 .... 来源: CSDN 作者: summerunix2 链接: https://blog.csdn.net/summersgirl/article/details/103473389

Debian httpredir mirror system unreliable/unusable in Docker?

心不动则不痛 提交于 2019-12-10 13:08:17
问题 Short Version Debian's httpredir.debian.org mirror service causes my Docker builds to fail very frequently because apt-get can't download a package or connect to a server or things like that. Am I the only one having this problem? Is the problem mine, Debian's, or Docker's? Is there anything I can do about it? Long Version I have several Dockerfiles built on debian:jessie , and Debian by default uses the httpredir.debian.org service to find the best mirror when using apt-get, etc. Several

dpkg: warning: while removing directory /usr/local not empty so not removed

混江龙づ霸主 提交于 2019-12-10 12:48:43
问题 I built and installed a debian package from the following folder structure: myprog DEBIAN control usr local bin myprog.sh ... using the following commands: dpkg -b myprog/ myprog.deb && dpkg -i myprog.deb When i now remove the package by typing: dpkg -r myprog .. I got the following warning: dpkg: warning: while removing myprog, directory '/usr/local' not empty so not removed. As I think this is an every day scenario, how can I avoid the warning? Greets Thorsten! # Edit I tried to install the

C# service as a daemon in debian with mono-service

梦想的初衷 提交于 2019-12-10 11:54:10
问题 I can't seem to find a way to get a C# service run as a "service" in debian. What Am I doing wrong? I followed this post from msdn to create a sample windows service : http://msdn.microsoft.com/en-us/library/zt39148a(v=vs.80).aspx I can run the service at my windows machine, Start and stop the service and see that it writes to MyNewLog. Then I copy it (.exe file) to my debian machine and tries to run it with (as root) mono-service MyNewService.exe The Syslog tell's me that the service have

How to install ONLY MySQL on Debian GNU/Linux 9 (stretch) without MariaDB?

*爱你&永不变心* 提交于 2019-12-10 11:43:50
问题 When I install the MySQL it installs Maria's packages on the new Debian GNU/Linux 9 (stretch), any suggestions? apt-get install mysql-server 回答1: Debian Stretch (9.0) no longer includes MySQL . Some information on what's happening in the background when you try to install mysql-server is available here. MariaDB is designed to be a fully compatible drop in replacement for MySQL but if you really want MySQL you should add the MySQL APT repository to your system as described here. After adding

Hide/protect Python code [duplicate]

北城以北 提交于 2019-12-10 11:25:01
问题 This question already has answers here : How do I protect Python code? (27 answers) Closed 5 years ago . I am writing code (Python and wxpython for GUI) which will run on Debian OS on Raspberry PI. I want to protect/hide the source code. Is there any way to do it? Probably py2exe, or converting it to a library or something else? 回答1: The compiled code ( .pyc files) can be used if you wish for others to be able to execute but not to read or modify the source code ( .py , .pyw ). Simply: run