Все вопросы: [debian]
141 вопросов
Python 2.6 на Debian Lenny.Куда должен идти исполняемый файл?
Я собираю python2.6 из исходного кода на Debian Lenny. (./configure make make altinstall) Я не хочу, чтобы он конфликтовал ни с чем существующим, но хочу, чтобы он находился в пути поиска по умолчанию для bash. Есть предложения? (ps, я использую виртуальную машину, поэтому могу выброси...
Jar-файл Java
Я создал Java-приложение и упаковал его в jar-файл на платформе Windows.Теперь я хочу развернуть этот jar-файл в Debian Linux. Будет ли работать тот же файл jar в Debian Linux? Используется ли команда, используемая в Windows для выполнения файла jar из командной строки, такой же для Deb...
Как указать путь к файлу в java?
Я создал приложение Java для «Debian Linux».Теперь я хочу, чтобы это приложение читало файл, помещенный в каталог, в котором указан jar-файл этого приложения.Итак, что указывать в аргументе File Object? File fileToBeReaded = new File(...); Что указать в качестве аргумента для приведенного...
Пакеты Debian: различать «запрошенная установка» от «установлена для удовлетворения зависимостей»
Как определить, какие пакеты были установлены, потому что я запросил установку, а какие пакеты были установлены автоматически, чтобы удовлетворить зависимости ? Возможно, эта информация отображается как "A": i A fam ... i grub ... i A grub-common ... Это показывает,...
Что должна делать опция командной строки scala -i?
Я считаю, что параметр командной строки scala '-i' весьма полезен для запуска некоторого кода Scala, а затем выгрузки меня в интерактивную оболочку, чтобы я мог продвигать / проверять то, что он определил. Одна вещь, которая меня полностью сбивает с толку: почему он загружает и запускает скри...
Пары ключ-значение в файле конфигурации в unix - может ли значение содержать знак числа (#)?
Я использую утилиту openssl в debian для создания сертификата. Параметры сертификата задаются в файле конфигурации, который состоит из пар "ключ-значение". Моя проблема в том, что я хочу, чтобы одно из значений включало знак числа (#).Но openssl обрабатывает этот знак как начало комментари...
mod_python req.subprocess_env не "видит" PythonOptions
Мне не удается получить переменную окружения из конфигурации apache.(не спрашивайте, почему это так, я изначально не кодировал) Это то, что у меня есть в конфигурации apache. <Location "/var/www"> SetHandler python-program PythonHandler mod_python.publisher PythonOption M...
аргументы в кавычках start-stop-daemon неверно истолкованы
Я пытался создать сценарий инициализации с помощью start-stop-daemon. Я застрял на аргументах демону. Я хочу сохранить их в переменной в верхней части скрипта, но мне не удается правильно отфильтровать цитаты. Я использую ls здесь, чтобы нам не приходилось смотреть на двоичные файлы и аргумен...
нестандартные порты exim4
Я пытаюсь использовать exim4 в debian для ретрансляции почты, не более того.У меня есть рабочий почтовый сервер и производственный почтовый сервер (оба написаны на Python для выполнения странных вещей).У меня также все это работает на одном хосте linode. рабочая почта находится на порту 2500,...
Создать установку Linux для приложения Qt
Я только что написал отличную программу с Qt Creator. Я очень доволен собой. Как перенести его с настольного компьютера на ноутбук? Итак, лучше всего будет установщик? А для Ubuntu это пакет debian, верно? Как мне это сделать? Кто-нибудь сделал это и могут ли они поделиться файлами шаблоно...
Переименовать кучу файлов в debian
У меня есть тысячи файлов, которые мне нужно переименовать в следующем формате. 2008: 09: 18: 17: 45: 48-alfanumeric-alfanumeric.wav первая часть - это дата. Пример. 2008:09:18:17:45:48-703-s.wav Я хочу переименовать его в: В основном, чтобы удалить ':' и сделать формат более удобочит...
How should I copyright and license my free software?
I'm all new to the open source free software thing, but any way I'm going into it pretty well (I guess!!). Now the thing is: in the way to distribute my program, I'll have to distribute my source code, so it will be a (.gz) with an installer for sure, or maybe a (.deb). My questions are: (I k...
Regex match a string with spaces (use quotes?) in an if statement
How would I do a regex match as shown below but with quotes around the ("^This") as in the real world "This" will be a string that can have spaces in it. #!/bin/bash text="This is just a test string" if [[ "$text" =~ ^This ]]; then echo "matched" else echo "not matched" fi I want to do som...
Creating .deb packages from prebuilt binaries?
I would like to create a Debian/Ubuntu .deb package from a set of prebuilt binaries. I don't have any access to the source code. The only tutorials I've found on creating debs require source code access, and so do all the convenient and easy tools for creating Debian packages. So how can I creat...
What version is 5.2.0-8+etch13 really?
It is probably and stupid question, but what version of PHP5 is 5.2.0-8+etch13 ? Is it really 5.2.0 ? Because maybe it is just the debian version that covers something else.
debian man pages for system calls
I installed debian lenny, but I was quite surprised that I can't get man pages for system calls (man 2 read, etc.) How do I install them?
Why does CPAN.pm fail to upgrade?
Clarification: I'm pretty much a Perl/CPAN noob, don't assume I know too much. I have a pretty vanilla CPAN because I just rebuild my entire Lenny 5.0.2 VPS - so I pretty much have the default modules installed. My eventual goal is to setup foswiki on my Apache 2.x based server. So far...
How to distribute ruby software in debian environments
How to easily package software that uses multiple gems into a debian installable packages?
debian repo: Is there a way to include a complete URI for the download path in the Packages.gz file?
I have several DEBIAN repositories I would like to "virtually" consolidate i.e. have one location for the Packages.gz file whilst having the "download links" for each package listed be located somewhere else (not the same server). Is this possible? Example: Repositories X, Y, Z Virtual Repos...
Compiling for amd64 under i386 Debian
Cheers, I want to avoid problems with compiling my code on amd64, yet I don't have a 64-bit CPU available and have no hopes of getting upgrade to my machine any time soon. I have no dreams of testing the code (although that should theoretically be possible using qemu-system) but I'd like to at l...
Openfire Java Memory
I have openfire installed on my debian server. I want to know that whether openfire java memory should be less than server memory? For e.g. i have a server with 256 MB RAM now can i have openfire java memory more than 256 MB RAM or it should be less than 256. Please help Thanks, Pankaj
MySQL.Data.dll error in monodevelop in Debian mono
Application was initially developed in VS 2008. It uses MySQL.data.dll for connecting to MySQL database. Application runs perfectly fine in Windows. But production environment is Debian with mono. Now copied entire solution in the Debian box. Entire solution opens in monodevelop correctly. It...
Mysql error on debian server
Hi i have a debian server. Today my site was showing Error establishing a database connection. When i tried to restart mysql i am getting this error: ERROR: The partition with is too full! failed! I have run apt-get clean command also but still i am getting this error. Please help
connecting to my local virtualized debian
I have installed Debian as a VirtualBox guest on Windows XP. Now I have installed ssh and apache on this virtualized Debian yet I couldn't find a way to connect. I have already tried "10.0.0.2", "10.0.2.2" and inet addresses I get from running "ifconfig". (I can get the "it works!" page of apache...
How do I do Debian packaging of a Python package?
I need to write, or find, a script to create a Debian package, using package python-support, from a Python package. The Python package will be pure Python without C extensions. The Python package for testing purposes will just be a directory with an empty __init__.py file and a single Python mod...
Passenger / REE can't find rails, it's in the $PATH, what gives?
I've got a fresh install of Ruby EE (1.8.6-20090610) and Passenger (2.2.5) on Debian Lenny. REE is installed in /opt/ruby-enterprise and it is added to the $PATH of all users through /etc/environment, and PassengerDefaultUser is set to root. The problem is when loading a rails app, the Passenge...
Installing CEDET 1.0pre6 as user while keeping CEDET 1.0pre4 deb package installed
My work computer (Ubuntu 8.10) has CEDET version 1.0pre4 installed, and I'm trying to install the newest version of CEDET (1.0pre6) in my local directory (the ultimate goal, upgrading ECB to the newest version). Unfortunately, the default debian/ubuntu installation initializes the system-wide pa...
What dummy X server should I use with openoffice on debian?
I need to run openoffice in batch mode to turn .doc files into pdf, but openoffice won't start because it needs an X server. My linux box doesn't have one. Is there some dummy blackhole X server around I can use? I'm using debian etch.
What's the best way to turn CPAN modules into Debian packages?
Whenever I work on a system of any flavor that has a particular way of handling package management, I try to stick with that standard for managing my Perl modules. "When in Rome, etc." For example, on a Win32 system using ActivePerl, I use PPM for everything and use the great PPM::Make. On a R...