debian

How to change man page section of debian software?

自古美人都是妖i 提交于 2019-12-11 14:39:49
问题 The package's manual page is in section 1 but I want it in section 8. What kind of changes do I have to do in git? I tried renaming the package.1 file to package.8, but it did not help at least when I created the package by dpkg-buildpackage . 回答1: You have to denote the section in the contents of the manual page file. If you create the file by help2man you have to use --section option, in this case --section=8 . man 1 dh_installman (for version 11.1.6ubuntu2) tells: If dh_installman seems to

Odd results from mongoid using Debian squeeze mongodb

江枫思渺然 提交于 2019-12-11 14:23:05
问题 I'm experiencing odd results in data returned from gem, mongoid using mongodb on Debian squeeze. The data is good. How can I stop these consistent failures to return the data correctly? My mongodb is the latest in Debian squeeze backports and I'm using gem mongoid. $ dpkg-query -l mongodb mongodb 1:2.0.0-2~bpo60+1 I did $ sudo apt-get -t squeeze-backports install mongodb to get the newest version. 回答1: For anyone experiencing odd problems on Debian squeeze mongodb, it seems that currently the

how to change the Default page localhost debian to run an application

a 夏天 提交于 2019-12-11 14:05:50
问题 In debian, I installed an application 'maarchrm'. at the end of the guide intallation it's demanded to add the line 127.0.0.1 to the file 'etc/hosts'. inside this file we find these lines : 127.0.0.1 localhost debian ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters So when I add the line, It becomes like this : 127.0.0.1 maarchrm 127.0.0.1 localhost debian ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6

How to enable suidperl in Debian wheezy?

时光总嘲笑我的痴心妄想 提交于 2019-12-11 13:22:01
问题 I have a Perl script which is owned by root and have setuid. In this script I am changing the owner of a file passed as argument. But on running this script I am getting chown: changing ownership of `file': Operation not permitted Someone told me script with setuid run with suidperl by default if it is enable. But I don't think so that is happening in my case. Can anyone help me in this matter? I am using Debian wheezy. My Perl version is 5.14.2. I tried apt-get install perl-suid but it did

UWSGI can't change log file path

风流意气都作罢 提交于 2019-12-11 13:05:35
问题 I have a Debian 7 + uwsgi 1.2.3-debian I want to change UWSGI log file path, I tried [uwsgi] plugins = python27 chdir = /home/example.com/apps/ pythonpath = /home/example.com/apps/ env = DJANGO_SETTINGS_MODULE=settings module = django.core.handlers.wsgi:WSGIHandler() touch-reload = /home/example.com/README.md logto = /home/example.com/logs/uwsgi.logto.log; daemonize = /home/example.com/logs/uwsgi.daemonize.log; logdate = true max-requests = 5000 buffer-size = 32768 But /home/example.com/logs/

Set up phabricator with LDAP authentication on Debian Jessie

荒凉一梦 提交于 2019-12-11 12:55:19
问题 On a server running Debian 8, how can I set up phabricator so that users are authenticated using a local LDAP server? (Choosing LDAP because the same accounts should also be used by other web applications on the same server later) 回答1: Replace all occurrences of ***** with secure passwords and store them safely. Replace all occurrences of example.com with something sensible. Use ssh X11 tunneling for the jxplorer application if you have no local X. apt-get install emacs aptitude dbconfig

View response headers before they are sent to the client?

老子叫甜甜 提交于 2019-12-11 12:18:31
问题 I am writing a project for school. I want to be able to display, on a web page, the response headers that the web server sent to the client. I am able to read request headers from HttpServletRequest and am able to write response headers to HttpServletResponse no problem. Is there any way to do this? It is possible to make a copy of what the server is about to send? I am using Eclipse Helios to develop this JSP with POJOs application, and am using Tomcat 5.5 running on Debian Lenny to serve it

Error:Execution failed for task ':app:zipalignDebug'. > when I run my app on Android Studio

廉价感情. 提交于 2019-12-11 11:57:20
问题 I've installed Debian 8 and I installed Android Studio without problem, but when I run my application, created when I had Android Studio on Ubuntu 15.04, I've this error: Error:Execution failed for task ':app:zipalignDebug'. > Process 'command '/home/phate/Android/Sdk/build-tools/22.0.1/zipalign'' finished with non-zero exit value 127 what kind of error is this? How I can resolve? Thank you at all, Dennis 回答1: I know that this question is 4 months old, but I'm putting the answer here so that

Google Compute Engine - alternative log in to VM instance if ssh port is disabled

蹲街弑〆低调 提交于 2019-12-11 11:54:22
问题 I logged in to my GCE VM instance (Debian) and installed ufw and enabled it. However, I forgot to enable port 22. Is there another way to log in so that I can enable port 22 without having to destroy the instance? 回答1: No, the only way to access to the instance is through SSH. You can enable the port 22 using a startup script like the following one: #!/bin/bash /usr/sbin/ufw allow 22/tcp Then, you can add this startup script to your instance either using the Developers Console and pasting the

Debian /etc/init.d/ script not running?

跟風遠走 提交于 2019-12-11 11:46:18
问题 I'm using a BeagleBone Black that runs Debian (the latest version that the BeagleBone website provides a link for, I believe) and I recently installed Java on it. Every time I boot the board I must set the PATH for Java again as shown below. root@beaglebone:/etc/init.d# java -version -bash: java: command not found root@beaglebone:/etc/init.d# export PATH=$PATH:/bin/jdk1.7.0_60/bin root@beaglebone:/etc/init.d# export JAVA_HOME=/bin/jdk1.7.0_60 root@beaglebone:/etc/init.d# java -version java