usb,linux-device-driver,fedora,nexus-4
I believe that older versions of Fedora lack MTP support. I'd strongly suggest updating to Fedora 20, I've had good luck plugging in Android devices; as soon as I plug them in a file browser comes up. Make sure you have the simple-mtpfs package installed.
Please note that simply putting some files inside the /var/www/html/ directory should make Apache display them. Here are some possible pointers that you might have missed. Specify your DocumentRoot correctly in your httpd.conf. This is usually located at /etc/httpd/conf/httpd.conf. DocumentRoot "/var/www/html" And make sure Apache allows people to access it,...
I am not aware that you can install additional software on the CloudBees Jenkins master node. But you can request from CloudBees support that additional software packages will be installed on the automatically created CloudBees build nodes. As alternative you can also create your own build nodes (called OPE in...
I'm guessing you might be talking about "groups" and not "categories". If you run the yumex package management GUI, you'll find that if you sort by "Groups" under the "Servers" group you'll find things like: "Directory Server" "DNS Name Server" "FTP Server" "Mail Server" "Basic Web Server"...
~/.emacs is for your own, personal configuration. You must create it yourself. (If you like, you can create ~/.emacs.d/init.el instead.)
I had linebreaks in my DSN string, I think that was the problem. I've changed it to: $host = MY_HOST; $db = MY_DB; $user = MY_USER; $password = MY_PASS; try { $this->_dbh = new PDO( "mysql:host=$host;dbname=$db;charset=utf8;", $user, $password ); } catch (PDOException $e) { printf( 'Connection failed: %s<br>', $e->getMessage() );...
I have decided to wait until the exciting full release of vNext which will include New flexible and cross-platform runtime Ability to self-host "ASP.NET vNext (and Rosyln) runs on Mono, on both Mac and Linux today. While Mono isn't a project from Microsoft, we'll collaborate with the Mono team, plus...
vagrant,rpc,fedora,nfs,libvirt
Looks like when using libvirt the user is given control over nfs and rpcbind, and Vagrant doesn't even try to touch those things like I had assumed it did. Running these solved my issue: service rpcbind start service nfs stop service nfs start ...
java,linux,eclipse,fedora,openjdk
The problem - and the solution - are explained here: Cannot run Eclipse; JVM terminated. Exit code=13 Please run whereis java and ls -l /usr/bin/java. If you happen to have multiple JDKs, you should also consider alternatives. For example, run alternatives --display java. NOTE: The -vm option and its...
finally I solved this problem by appending: console=tty console=ttyS0,115200n8 rather than: console=tty0 console=ttyS0,115200 in boot command line I don't know why,but it works,thanks god.
You should connect alpha with xvimagesink via videoconvert element: gst-launch-1.0 v4l2src device=/dev/video0 ! queue ! \ video/x-h264,width=1920,height=1080,framerate=30/1 ! \ h264parse ! avdec_h264 ! alpha method=green ! videoconvert ! \ xvimagesink sync=false ...
Tcl looks up packages in two ways: with auto_path and with tcl::tm::path. 1. The auto_path — the traditional mechanism. When you do package require, the package manager looks to see if the package is already present, or if instructions for obtaining the package from the filesystem are present. If neither...
python,sublimetext,sublimetext3,fedora
You are not supposed to "execute" sublime.py, it gets loaded by Sublime Text internally where the sublime_api module is provided by the C++ integration. There should be some other executable which will load the real application....
Looks like not all your repos are valid and some of them are duplicated. Have a look at yum-config-manager, at the files in /etc/yum.repos.d/ and at /etc/yum.conf...
python,linux,shell,unicode,fedora
Provided your locale settings are correct, it should just work. $ python Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> string = raw_input('Write something in Japanese: ') Write something in Japanese: あ >>> print string あ >>>...
For anyone who has had this same issue the answer was to go into the BIOS and: Disable "Fast Boot" Disable "Secure Boot" Switch to CSM boot mode (under advanced) Enable USB Legacy Mode Posted from ubuntu 14...
Add this to your .ovpn configuration file. route-delay 5...
php,mysql,phpmyadmin,fedora,lamp
Possibly you can get more info via 2 things 1- Enabling php display_errors in php.ini file which you can find by running php --ini changing display_errors to on and save it then restart apache web server and revisit phpmyadmin url which should show you the error 2- looking in apache...
I figured out that problem was in ssh check. I was not able to ssh to broker but installation script was facing as if ssh is OK. Needed packages: (yum -y install) ruby unzip httpd-tools puppet augeas bind Interesting. I solved it by adding repos and install some things: cat...
I incorrectly thought that kernel pins were calculated as 32 * N + M for gpioN[M]. The kernel pin is determined by the offset from 44e10. pin 8 above has offset 820, which corresponds to gpio0[22] and p8.19. If you export 22 and check p8.19, the desired result is produced....
First you compile your .java files javac *.java then you run it by typing, java main where main is the class with your main method, in the terminal....
it's a SELinux issue tail /var/log/audit/audit.log type=AVC msg=audit(1399879586.183:2081199): avc: denied { search } for pid=26495 comm="nginx" name="dev" dev="dm-1" ino=269277 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir type=SYSCALL msg=audit(1399879586.183:2081199): arch=c000003e syscall=2 success=no exit=-13 a0=7fdd65ed2219 a1=800 a2=0 a3=0 items=0 ppid=26494 pid=26495 auid=4294967295 uid=996 gid=1000 euid=996 suid=996 fsuid=996 egid=1000 sgid=1000 fsgid=1000 ses=4294967295...
egrep 'x:3[0-9][0-9]:|x:4[0-9][0-9]:|x:500:' /etc/passwd or more eloquent egrep 'x:[3-4][0-9][0-9]:|x:500:' /etc/passwd ...
Creating a virtual hard-disk in the host operating system (In virtualBox) will not overwrite any files on your hard drive. It will only utilize unused space on your disk. Overwriting the hard-disk in the guest operating system will not delete any files in the host, but it will overwrite/wipe files...
magento,permissions,installation,fedora
Probably you have a problem with SELinux permissions. You should try this: chcon -R -t httpd_sys_rw_content_t /var/www/html/magento/ chmod -R a+w /var/www/html/magento/ ...
You can use yum to look for a package knowing the binary you want. For instance, if I want to install the package that provides plutil, I simply run this command: $> yum provides plutil Unfortunately, the result is No matches found... But you say you read that the libplist...
I have discovered the cause of this problem. Looks like selinux does not allow to httpd service (apache web server) write in my app folder. So, I did: setsebool -P httpd_unified 1 Now everthing is working fine!...
setfont modifies the font in the VGA console (what you get when you press CTRL-ALT-F1, etc) It won't do anything in Terminal. Normally only the root user can access the console device that setfont needs to connect to in order to make the font change. This is why you get...
ruby-on-rails,linux,fedora,uninstall
Ok, after reading the comments I figured out the problem! I ran a yum list | grep ruby and similar searches and found that I had not, contrary to what I believed, removed all the packages I had installed. After deleting the remaining packages my usr/share/ruby folder vanished to the...
As I interpret your question, you want to install switchdesk $ yum install switchdesk switchdesk-gui and run that. You can also try changing settings in /etc/sysconfig/desktop as described here. If you want to simply try out a different desktop environment at login time, try installing lightdm or kdm (from the...
You must install JAVA: cd /opt/ wget "http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz" tar xzf jdk-7u79-linux-x64.tar.gz cd /opt/jdk1.7.0_79/ alternatives --install /usr/bin/java java /opt/jdk1.7.0_79/bin/java 2 alternatives --config java ...
wordpress,debian,docker,fedora,dockerfile
The WordPress image Dockerfile does begin with FROM php:5.6-apache. But the php:5.6-apache image Dockerfile starts with FROM debian:jessie. Hence the apt-get. Each image builds up based on another base image. ...
java,eclipse,sqlite,jdbc,fedora
Download the SQLite-jar at http://search.maven.org/remotecontent?filepath=org/xerial/sqlite-jdbc/3.8.10.1/sqlite-jdbc-3.8.10.1.jar Add the jar file to your class path (open Eclipse project properties, there you'll find the build path) Run your program. You usually use Maven, Gradle or manual dependency management when using Java. Linux package managers are very limited in java support....
You need to install the python header files something like: yum install python-devel ...
If the job needs to resume after system reboot, it's a system service. So you have several options: Write an init script and add it to your default run level. If your distro uses systemd write a configuration file to start your command as a service. You can use another...
Do you have a C compiler installed? It looks to me like it's complaining about cc.
php,permissions,fedora,lamp,selinux
I am not expert but have had a few issues with SELinux myself. I read a few articles and from what I can gather SELinux is another layer of Security for your server and really should be left on, rather than switched off due to ignorance (that was the quote...
In many distributions, a package, like libogg, contains only the shared (and maybe static) libraries for the package - whatever is required to run other programs that are already linked with that library. The C header files and other support files that are needed for actually building a new application...
When you verify a certificate, you are checking whether it's CA is recognised, and it matches the CA's fingerprint. It doesn't look like you are providing the CA cert to the openssl command. Try specifying -CA <your CA cert file: $ openssl x509 --help ... -CA arg - set the...
du -hc files_2014-11-03* | tail -1 I would use -c instead of -s -c, --total produce a grand total ...
Turns out the reason was that the repos were not being configured properly. Changed the repos and everything worked fine. Thanks.
apache,download,website,server,fedora
These two for cycles run in bash should do it: for S in S{001..109}; do mkdir ${S} cd ${S} for R in R{01..14}; do file="http://www.physionet.org/pn4/eegmmidb/${S}/${S}${R}.edf" wget "$file" wget "${file}.event" done cd .. done ...
It looks like you're missing the dynamic libraries. Most likely, you need to install cabal-install-1.18 or later, wipe our your package database, and install again. For more information, see: https://plus.google.com/115504368969270249241/posts/R8EYrABDrvv
Thinking that bison would produce ch1-05.tab.c instead of y.tab.c wasn't silly at all, in fact that's what it did. Bison is GNU's version of Yacc, and though it is compatible with it in terms of grammar description, there are some differences in usage. If you want to revert to conservative...
I was asked to post the solution as an answer, so here it is. SOLUTION Ok, I found out what was the problem - it was my docker config in /etc/sysconfig/docker of course. Steps I took to find it out: firstly, I renamed /var/lib/docker/ to allow docker to recreate its...
You can create an alias: alias php="php55" Now if you type php it uses php55...
You should have Java installed: sudo yum install java-1.8.0-openjdk.x86_64 Then download and install Scala: wget http://www.scala-lang.org/files/archive/scala-2.11.7.tgz tar xvf scala-2.11.7.tgz sudo mv scala-2.11.7 /usr/lib sudo ln -s /usr/lib/scala-2.11.7 /usr/lib/scala echo "export PATH=$PATH:/usr/lib/scala/bin" >> ~/.bashrc rm scala-2.11.7.tgz ...
c++,debugging,monodevelop,fedora,xterm
This is due to a recent gnome-terminal change. Recent gnome-terminal no longer accepts the --disable-factory argument. Install the xterm package, then in a gnome-terminal session do the following: $ unset GNOME_DESKTOP_SESSION_ID $ monodevelop This will cause monodevelop to use xterm as its external terminal and all should be well....
For clarification: "load the policy" does not set "file contexts" of existing files automatically. Existing files should relabeled according to your new policy. New files will get the new label automatically. To restore missingmislabeled labels you can use the following command, e.g.: restorecon -Rv /var/lib/docker/ From the restorecon manual: "It...
docker,sandbox,fedora,chroot,linux-containers
I think you are on the right track with Linux containers. The feature you want is a Union Mount, where processes see a layered filesystem, and write only to the top layer. Docker for example uses union mounts, but starts with a file system image as the lowest layer, not...
php,latex,fedora,pdflatex,php-5.2
the pdflatex.fmt must be readable by the web browser in order to be accessible for the exec command, also the server might be chrooted and if so, the chroot folder might not have access to all the pdflatex parts. check it...
Your test from the command line is not valid, because you are basically executing the process id, which will give you a command not found. From the command line you will need to test this way: # pidof perl | wc -l without the $() The issue you are most...
nginx,permissions,fedora,php-fpm,http-status-code-403
Here are some possible solutions: In your php-fpm www.conf set security.limit_extensions to .php or .php5 or whatever suits your environment. For some users, completely removing all values or setting it to FALSE was the only way to get it working. In your nginx config file set fastcgi_pass to your socket...
You can't just copy the Qt4 MYSQL driver into Qt5. Install it from the same place you installed the rest of Qt5. (Package qt5-qtbase-mysql perhaps: https://apps.fedoraproject.org/packages/qt5-qtbase-mysql ).
python,icons,pyside,fedora,scapy
(using answer instead of comment to use nicer formatting) This can be due to wrong working directories. Consider the following example: testfile = open("testfile.txt", 'w') testfile.write("TEST") testfile.close() stored in the file /tmp/subdir/test.py. If I now open a terminal and do the following: cd /tmp/subdir python /tmp/subdir/test.py the testfile.txt is created...
Thanks for the help. The problem was that SDL was handling the window resizing, but then I was also manually handling it. I don't know why it wasn't an issue in windows, I guess it is handled differently in windows. Solution: remove the following line SDL_SetWindowSize(window, event.window.data1, event.window.data2); ...
I think you encountered an instance of bug 1122003. It seems to have been solved in gcc-arm-linux-gnu-4.9.1-1.1.fc22.x86_64, or you should be able to work around it with the --with-ld flag in the meanwhile.
Resolved! I have to use -b for rails server to work on not only localhost. $ rails s -b 0.0.0.0 It was changed: https://github.com/rack/rack/commit/28b014484a8ac0bbb388e7eaeeef159598ec64fc...
Command vagrant up failed because my proxy denied the access to atlas.hashicorp.com. If we can access any website using browser that does not mean we can access it using command prompt. Command prompt by default doesn't use the proxy setting from internet explorer. In order to fix this issue, I...
linux,shell,scripting,concatenation,fedora
The shell is very picky about spaces around =. Instead of var= "${var} humans" you should have : var="${var} humans" no spaces allowed !...
You'll need more information. The install_deps.sh script will download and compile each library for you, you should be able to find the OSL source files, and manually try building it. As it is a linking error chances are a library (or required version) is missing, or not where it is...
The systemctl command talks to systemd over a DBus connection. It is unlikely that you are running systemd in your container, so systemctl has nothing with which to talk. While it is possible to run systemd in a container, doing so is often (but not always!) a sign that you...
Just add a line #define BOOST_LOG_DYN_LINK 1 as the first line of boosttest.cc. Alternatively, you can add -DBOOST_LOG_DYN_LINK to you compilation step (not the linking step, as you posted in the question): g++ -std=c++11 -Wall -pedantic -g -O0 -DBOOST_LOG_DYN_LINK -c boosttest.cc g++ boosttest.o -lpthread -lboost_log -o boosttest ...
linux,kernel,version,fedora,uname
At the top of the top-level Makefile, there are four lines VERSION = 3 PATCHLEVEL = 18 SUBLEVEL = 7 EXTRAVERSION = The values are different for different kernel versions, of course. These are used to construct the version string, so changing them before building the kernel changes the version...
c++,pipe,virtual-machine,fedora
I see you're using Stockfish. I too have exactly experienced this behavior from Stockfish. The problem lies within how it handles output. Defined in misc.h: #define sync_cout std::cout << IO_LOCK And looking at the code again we'll see that IO_LOCK is an enum which is used in an overloaded friend...