fedora

Adding a patch using mock

爷,独闯天下 提交于 2020-01-25 04:24:07
问题 I am trying to create a rpm using mock. https://fedoraproject.org/wiki/Projects/Mock I am able to build an rpm through source rpm. Now I want to add a patch to this package and I have no idea how to proceed. Can you please let me know how can I go ahead with this? What is the way to modify/patch a package using mock? 回答1: The normal approach here is not to use mock to modify your package in any way. Mock is just a way to ensure that your package is built in a clean environment every time (a

Buildozer fails, I think I need the prerequisite 32 bit libraries, but Fedora uses yum, not apt-get

久未见 提交于 2020-01-24 16:20:05
问题 I'm trying to compile a fairly simple kivy application into an android app. The kivy application is written in python2.7. It compiles the application, but then fails. Here's the log: http://pastebin.com/Q60ErXxf From what I've seen, I'm missing some 32-bit libraries that kivy and buildozer require. Here's the page with the apt-get instructions: http://python-for-android.readthedocs.org/en/latest/prerequisites/ However, Fedora uses yum, and I've tried yum install for these packages, but to no

Can't access Docker container on exposed port from anywhere even localhost

﹥>﹥吖頭↗ 提交于 2020-01-24 11:05:11
问题 I have been searching for an answer for this for days and don't know the best place to ask for help, I must be missing something simple. This problem is common to both my Fedora27 workstation and Ubuntu Server 16.04 LTS I have installed Docker successfully and have some containers working but others cannot be accessed on 0.0.0.0: or localIP: I have disabled firewall and flushed iptables, amongst others I am trying to get a minecraft server running on 25565, following this instruction: To

'Symbol lookup error' with netlib-java

∥☆過路亽.° 提交于 2020-01-22 20:56:26
问题 Background & Problem I am having a bit of trouble running the examples in Spark's MLLib on a machine running Fedora 23. I have built Spark 1.6.2 with the following options per Spark documentation: build/mvn -Pnetlib-lgpl -Pyarn -Phadoop-2.4 \ -Dhadoop.version=2.4.0 -DskipTests clean package and upon running the binary classification example: bin/spark-submit --class org.apache.spark.examples.mllib.BinaryClassification \ examples/target/scala-*/spark-examples-*.jar \ --algorithm LR --regType

How to change version string of the kernel?

百般思念 提交于 2020-01-21 04:30:33
问题 I'm very new to Linux and very new to building/compiling my own kernel. For starters, I'm just trying to figure out how to change the version string of my kernel. For instance, when I do uname -a, it prints out "Linux localhost.localdomain 3.11.10-100.fc18.i686". I'd like to customize that, but I'm not sure what file to edit. I know it must be some file in my kernel directory, but I've been going through them with no luck. Any help would be great! 回答1: At the top of the top-level Makefile,

Python 脚本在 Fedora 32 上的运行速度可提高约 27%

江枫思渺然 提交于 2020-01-15 16:29:03
计划于 4 月发布的 Fedora 32 有望给 Python 开发者带来惊喜。Fedora 项目的变更介绍页面显示,在构建 Python 解释器时,开发团队添加了-fno-semantic-interposition编译器/链接器标志(compiler/linker flag),它将会显著提升性能,当然具体的性能改进效果取决于工作负载,官方提供的数据是最多可以提升 27%。 诸如 nbody,scimark,django,光线跟踪之类的测试用例提升了 20% 至 27% 的性能,而通过 PyPerformance 测得的性能提高了 5% 至 20%。 Python惊喜:Python 脚本在 Fedora 32 上的运行速度可提高约 27% Python惊喜:Python 脚本在 Fedora 32 上的运行速度可提高约 27% Python惊喜:Python 脚本在 Fedora 32 上的运行速度可提高约 27% Python惊喜:Python 脚本在 Fedora 32 上的运行速度可提高约 27% 而这给用户带来的变化是他们将不再能够使用 LD_PRELOAD 覆盖来自 libpython 的符号,不过官方认为这是提升速度的不错的折衷方案。 根据 GCC 关于语义插入(semantic interposition)标记的文档,“某些对象格式,例如 ELF

Fedora 快捷键

▼魔方 西西 提交于 2020-01-15 00:28:26
默认基本快捷键 * 打开主菜单 = Alt + F1 * 运行 = Alt + F2 * 显示桌面 = Ctrl + Alt + d * 最小化当前窗口 = Alt + F9 * 最大化当前窗口 = Alt + F10 * 关闭当前窗口 = Alt + F4 * 截取全屏 = Print Screen * 截取窗口 = Alt + Print Screen 默认特殊快捷键 * 窗口展示 = F12 * 切换窗口 = Alt + Tab * 旋转3D桌面 = Ctrl + Alt + 左/右箭头(也可以把鼠标放在标题栏或桌面使用滚轮切换) * 旋转3D桌面( 活动窗口跟随) = Ctrl + Shift + Alt + 左/右箭头 * 手动旋转3D桌面 = Ctrl + Alt + 左键单击并拖拽桌面空白处 * 窗口透明/不透明 = possible with the “transset” utility or Alt + 滚轮 * 放大一次 = 超级键 + 右击 * 手动放大 = 超级键 + 滚轮向上 * 手动缩小 = 超级键 + 滚轮向下 * 移动窗口 = Alt + 左键单击 * 移动窗口时贴住边框 = 左键开始拖动后再 Ctrl + Alt * 调整窗口大小 = Alt + 中击 * Bring up the window below the top window = Alt

Fedora 7.0 正式发布

霸气de小男生 提交于 2020-01-14 05:29:41
Fedora 7.0 于当地时间2007年5月31日正式发布。下面是它的发行助记。 Fedora 发行注记 下一页 Fedora 发行注记 Version 7.0.1 (2007-05-31) 版权 © 2007 Red Hat, Inc. 及其他 法律通告 修订历史 1. 欢迎使用 Fedora 2. 本次发布亮点 2.1. Fedora 7 之旅 2.2. Fedora 7 新增内容 2.2.1. 发布集(Spins) 2.2.2. 桌面 2.2.3. 性能 2.2.4. 系统管理 2.3. 路线图 3. Legal Notice 4. 反馈 4.1. 提交关于 Fedora 软件包的反馈 4.2. 提交关于发行注记的反馈 5. 安装要点 5.1. Anaconda 的变化 5.2. 安装相关的问题 5.2.1. Sony VAIO 笔记本 5.2.2. IDE RAID 5.2.3. 多 NIC 以及 PXE 安装 5.2.4. HP ProLiant DL360 with Smart Array 5.3. 升级相关的问题 5.3.1. Disk partitions must be labeled 5.3.2. Upgrades versus fresh installations 6. 体系相关内容 6.1. 64 位平台下(x86_64, ppc64) RPM

How to run mplayer with audio speaker output from PHP web script on linux?

人走茶凉 提交于 2020-01-14 03:40:08
问题 I am logged in to linux feora 15 distro with username: stackoverflow. My browser execute in the local system a PHP script to play a music using PHP system("mplayer /tmp/stackoverflow.wav"), passthru("mplayer /tmp/stackoverflow.wav") command. Such as linux command. As a user stackoverflow i dont hear any audio. But i can see that mplayer /tmp/stackoverflow.wav is running which has duration of 8minutes audio. My question is: how can i use PHP system("mplayer /tmp/stackoverflow.wav"); to switch

Setting Up Maven 3 properly

早过忘川 提交于 2020-01-13 08:27:27
问题 How should I set up Maven 3 properly? My environment: Fedora Linux 16; Java 1.7.0_22 Maven 3.0.4 My .bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/.local/bin:$HOME/bin:$JAVA_HOME/bin:$M2_HOME/bin export PATH JAVA_HOME=/usr/java/jdk1.7.0_02 export JAVA_HOME M2_HOME=/home/ic/apache-maven-3.0.4 export M2_HOME When I type java -version , the system shows me java version "1.7.0