opensuse

Build a linux module without source code

☆樱花仙子☆ 提交于 2019-12-02 07:18:13
I just wonder, whether it is possible to build/ to insert a module without the source code. Say I have downloaded an openSuse operating system, and the kernel source code did not come with it. How can I compile a module and insert the module without recompiling the kernel? For openSuse without kernel source code, it is really hard to find exactly the same version of the source code. Even if the configuration of the kernel is different you cannot insert the module inside the current openSuse. But this could not happen in the industry, could it? We cannot write a driver and let a user download

uninitialized constant Twitter (NameError)

倖福魔咒の 提交于 2019-12-02 01:21:36
Hey guys i have a problem i am facing with the twitter gem. I have a file (twitter.rb) with this content require "rubygems" require "twitter" puts Twitter.user_timeline("roykasa").first.text puts Twitter.user("roykasa").location search = Twitter::Search.new search.containing("hate").to("StewieJokess"). result_type("recent").each do |r| puts r.text end When i run the file i get this error : uninitialized constant Twitter (NameError) I read somewhere on SO where a user had a similar problem and he solved it by installing a new version of ruby and rubygems but the problem i am having is am

Not able build apache mod_tile in openSuse error: Could not find apxs on the path

妖精的绣舞 提交于 2019-12-01 17:42:53
I want to run a tiles server with OSM data i want to install mod_tile so i followed the mod_tile setup But when i do the ./configure It says checking for getloadavg... yes checking for apxs... no checking for apxs2... no checking for /opt/local/apache2/bin/apxs... no configure: error: Could not find apxs on the path. any idea what went wrong? According to the Internets you need to install apache2-devel . The apx binary should then be located under /usr/bin/apxs2 or /usr/sbin/apxs2 . Note: For building a tile server you should follow the guide on switch2osm . For Ubuntu sudo apt-get install

Not able build apache mod_tile in openSuse error: Could not find apxs on the path

戏子无情 提交于 2019-12-01 17:36:45
问题 I want to run a tiles server with OSM data i want to install mod_tile so i followed the mod_tile setup But when i do the ./configure It says checking for getloadavg... yes checking for apxs... no checking for apxs2... no checking for /opt/local/apache2/bin/apxs... no configure: error: Could not find apxs on the path. any idea what went wrong? 回答1: According to the Internets you need to install apache2-devel . The apx binary should then be located under /usr/bin/apxs2 or /usr/sbin/apxs2 . Note

Android-Studio is unusable with ArrayOutOfBounds exceptions while USB debugging

安稳与你 提交于 2019-12-01 09:40:53
I am having a very hard time installing a usable Android Studio on Opensuse 13.2. I have tried Java OpenSDK 1.7.0_75-b13 and 1.8.0_40-b10 as well as the Oracle 1.8.0_31-b13 (setting STUDIO_JDK environment variable and checking File->Other Settings->Default Project Structure). I have installed Android Studio from scratch from the Android developer site. I have installed a brand new SDK in ~/Android/Sdk. I have deleted the old ~/.AndroidStudio directory to try to wipe out any previous configuration, but this has not helped. The interface is unusable when opening a project because there are

Android-Studio is unusable with ArrayOutOfBounds exceptions while USB debugging

泪湿孤枕 提交于 2019-12-01 08:45:41
问题 I am having a very hard time installing a usable Android Studio on Opensuse 13.2. I have tried Java OpenSDK 1.7.0_75-b13 and 1.8.0_40-b10 as well as the Oracle 1.8.0_31-b13 (setting STUDIO_JDK environment variable and checking File->Other Settings->Default Project Structure). I have installed Android Studio from scratch from the Android developer site. I have installed a brand new SDK in ~/Android/Sdk. I have deleted the old ~/.AndroidStudio directory to try to wipe out any previous

scikit-learn install failure / numpy not found / missing numpy headers

好久不见. 提交于 2019-11-30 21:23:51
When i try to install scikit-learn on a Suse (openSuse 12.2 x86_64) server via: pip install -U scikit-learn i get the following error: (....) compile options: '-I/usr/lib64/python2.7/site-packages/numpy/core/include -Isklearn/svm/src/libsvm -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c' gcc: sklearn/svm/libsvm.c sklearn/svm/libsvm.c:303:31: fatal error: numpy/arrayobject.h: No such file or directory compilation terminated. sklearn/svm/libsvm.c:303:31: fatal error: numpy/arrayobject.h: No such file or directory compilation terminated. I already tried:

opensuse linux环境下ibm_websphere和ibm_db2安装以及DB2数据迁移操

心不动则不痛 提交于 2019-11-30 02:00:22
opensuse linux环境下ibm_websphere和ibm_db2安装 ibm_websphere安装: 1、ibm官网下载免费版websphere,如下载文件名为BASETRIAL.agent.installer.linux.gtk.x86_64.zip的压缩文件。 2、在opensuse linux环境下使用unzip命令对压缩包进行解压。 3、cd命令进入解压后的文件目录以管理员身份运行install文件即可来到图形化的安装界面,之后按照提示一步步完成安装即可(另外也可以采用非图形化的静默安装方式)。 4、安装完成后会自动弹出“第一步”信息验证界面(若为自动弹出该界面,则需进入安装目录(一般为这个目录/opt/IBM/WebSphere/AppServer_1/profiles/AppSrv01)下的firststeps文件夹中的firststeps.sh,以管理员身份运行该文件来启动第一次验证界面) 5、在“第一步”信息验证界面点击“安装验证”选项则会弹出验证界面,此时“ 启动服务器”选项为不可用状态,待验证完成后即可启动服务器。 6、服务启动成功后即可在浏览器中访问https://localhost:9043/ibm/console来进入websphere控制台进行相应的管理操作(创建数据源、应用程序等)。 7

How to change the Monitor brightness on Linux?

会有一股神秘感。 提交于 2019-11-29 22:24:31
How do I programmatically change the monitor brightness on Linux? I'm using SLES 11. christof You can always use xrandr --output LVDS1 --brightness 0.9 You can try using xbacklight. xbacklight -set 100 artemis_clyde For me it works perfectly with xbacklight . If you for example wish to set up a key binding, you can use bindsym $SUPER+Shift+plus exec xbacklight -inc 10 bindsym $SUPER+Shift+minus exec xbacklight -dec 10 in your window managers config (I use i3) to regulate your screen's brightness level. I wouldn't recommend xrandr for this since it doesn't stop at 100% brightness automatically.

linux 硬件信息查看命令

不想你离开。 提交于 2019-11-29 20:18:36
在 Linux 下进行开发时,有时也需要知道当前的硬件信息,比如:CPU几核?使用情况?内存大小及使用情况?USB设备是否被识别?等等类似此类问题。下面良许介绍一些常用的硬件查看命令。 lshw lshw 这个命令是一个比较通用的工具,它可以详细的列出本机的硬件信息。但这个命令并非所有的发行版都有,比如 Fedora 就默认没有,需要自己安装。 lshw 可以从各个 /proc 文件中提取出硬件信息,比如:CPU、内存、usb 控制器、硬盘等。如果不带选项的话,列出的信息将很长,加上 -short 选项时,将只列出概要信息。 例如在发行版本 opensuse 需要安装 zypper install lshw -y 我的电脑执行命令效果: opensuse:/home/patrick # lshw opensuse description: Desktop Computer product: Z97-HD3 (To be filled by O.E.M.) vendor: Gigabyte Technology Co., Ltd. version: To be filled by O.E.M. serial: To be filled by O.E.M. width: 64 bits capabilities: smbios-2.7 dmi-2.7 smp vsyscall32