For my assembly language class, we're writing DOS programs using DPMI. Unfortunately, I don't have access to a 32-bit windows machine all the time. I do have a Debian virtual machine installed on just about every computer I do use.
I've got both DOSBox and DOSEMU installed. Is there any way that I can assemble and compile the program...
I currently host my company's website and blog on separate servers, reached by separate domain names - www.example.com and www.example.net. This is so I can give blog server access to our partners without compromising security on our main server. However, our SEO guy is now demanding that the blog be put on our main server, as www.exam...
I have a Debian (lenny) server with 9 sata disks. One disk is connected to the motherboard's sata controller. The others are connected to two PCI sata controllers (four disks each). The disk connected to the motherboard is the boot disk.
Before this has worked fine and the boot disk has always been /dev/sda. But after upgrading the kern...
I'm trying to retrieve the ip address of the local machine in my program. The OS running is Ubuntu 8.10. I tried using gethostname() and gethostbyname to do it. All I can get is 127.0.1.1. I learned that it seems to be a Debian thing:
This thread explained it.
The content of my /etc/hosts file is also:
127.0.0.1 localhost
127.0.1.1 mymac...
I'm trying to create a script that automatically downloads packages for new servers. However, some things like 'mysql-server' can not installed automatically cause you need to configure them in the ncurses interface first. I've looked through the man pages and can't find anything appropriate.
I don't care if I have to upload/edit a con...
This is what my crontab file looks like:
* * * * * root /usr/bin/python /root/test.py >> /root/classwatch.log 2>&1
This is what my python script looks like:
#!/usr/bin/python
print "hello"
The cronjob creates the log file. But it is empty. I am also pretty certain that the python file is not being executed.
Appreciate any help! I...
Per the Debian Policy Manual, my postinst script is getting called at upgrade and configure time, as "postinst configure old-version", where old-version is the previously installed version (possibly null). I want to determine new-version, i.e. the version that is currently being configured (upgraded to).
The environment variable $DPKG_...
I want to setup search for my site. I couldn't find much information to install Jetty + Solr on my linode.
I could install solr-jetty on ubuntu simply using apt-get. any body has better experience with debian?
...
I get the following error log when trying to send a message through an Exchange server:
SMTP -> get_lines(): $data was ""
SMTP -> get_lines(): $str is "220 mail.borschow.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at Tue, 7 Apr 2009 21:56:53 -0400 "
SMTP -> get_lines(): $data is "220 mail.borschow.com Microsoft ESMT...
I have a program I want to run in debian but when I start it I get a segmentation fault error. It has worked before in debian.
Are there any commands I can run to see what the problem can be? What libs it needs and if it's a valid executable at all?
...
Hey,
I'm trying to get started with GLFW on Debian, I've tried compiling and running an example program but it refuses to run. With the help of a couple of printf statements I've found that when the program tries to open a GLFW window it fails, then exits - but I don't know why. Any help would be amazing.
#include <stdlib.h> // For ...
Hello!
In my project, I'm using HTML_ToPDF PHP class, which uses html2ps script to convert from HTML to PDF file.
Recently I upgrated my production server to Debian 5 (lenny) and, after that, HTML_ToPDF is no longer working:
convert() method from HTML_ToPDF class is returning this error:
Error: there was a problem running the html2ps...
I run a webserver on debian lenny. How to setup postfix to send emails to users for user registration, forgot password? How to configure the system?
I don't want the system to receive any emails from outside world, including user reply.
...
So I want to download multiple files from rapidshare. This what I currently have. I created a cookie by running-
wget \
--save-cookies ~/.cookies/rapidshare \
--post-data "login=USERNAME&password=PASSWORD" \
--no-check-certificate \
-O - \
https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi \
> /dev/null
and now...
Sorry, not really programming question, but I am not sure where else I could find some help.
After a recent update (Xorg was updated among other things), GTK apps stopped running in my kde4. I have a Debian unstable, updated around 22 April. When I try to run them I get the following error:
ga@grzes:~$ iceweasel
The program 'firefox-...
can anybody tell me whether the following approach is correct or not?
[groups]
team1=user1
team2= user2.user3
[/]
@team1=rw
[subversion:/myproject1]
@team=rw
...
So I have two .csv files where the first line in file 1 is:
MPID,Title,Description,Model,Category ID,Category Description,Subcategory ID,Subcategory Description,Manufacturer ID,Manufacturer Description,URL,Manufacturer (Brand) URL,Image URL,AR Price,Price,Ship Price,Stock,Condition
The first line from file 2:
Regular Price,Sale Price...
I'm compiling some code which uses libcurl on a Debian Linux system. My dev machine is running Debian 5 but I want the binary to be usable on older Debian 4 systems too.
I find that if I specify -lcurl it will link to libcurl.so.4 but Debian 4 systems only have libcurl.so.3
Is there some way I can tell GCC to link to either libcurl.so....
I have just installed bind9 on a Debian system and I am trying to understand how it works and what it is doing.
The thing that puzzles me is that no cache file is created in the cache directory. Well actually at one level I perfectly understand. In all the config files, the file directive names a file starting with "/etc/bind", i.e. a c...
While I can easily find the binaries for the latest version of subversion (1.6) I can't find the binaries for Ubuntu (or Debian).
The download page at tigris.org suggest to use the command:
apt-get install subversion
but as you can experience this will install up to the version 1.5.4 (at the time of writing May 6, 2009).
This isn't ...