I want to create a general switch that I can use to send a signal to my ubuntu server when it is activated/deactivated. Here's an example: I want to know when a certain door is open, so I can have a switch closed when the door is closed and opened when the door is opened. When opened or closed, the computer will receive a signal and I can have some software intercept this signal and process it to my liking (i.e. ring a bell/text message me/email me/etc).
I know I will have to create a simple driver, software to make use of this signal, etc... I am willing to do whatever it takes to make it happen. I'm just wondering if anyone can point me in the right direction as far as which interface I should use to communicate with my server (i.e. usb, serial), which references I should read, and any personal experience you have with something like this...
I have a folder that may contain text documents, pictures, MP3s, video clips, all sorts of stuff. Supposing that, within reason, I'm not too bothered how long it takes to compress and uncompress them. And suppose I don't care if it's free or open source (well, has to be free as in beer). What's the best compression format/algorithm (whatever it is that I install in Synaptic and choose from the drop down menu in the compression tool) I should use?
The last time I wrote code for anything was about 15 years ago using Turbo Pascal. I would like to get back into it, most likely to create some mobile apps or enhance web sites. What is the best general purpose language to learn? And what is a good method for learning, preferably free?
I've always been confused about this issue of boot partitions. In the past when I install linux I usually have 2-3 partitions.
1. Main OS partition mounted on / 2. Storage partition mounted on /home 3. Swap partition
Why and when would I need to have a boot partition? Even if I dual boot two OSs, I just make one more partition for that other OS. So what's the purpose of a boot partition?
Can you explain me what is purpose of shebang in scripts? I have noticed that my scripts will run without shebang. i.e. When i save my crontab file it says that scripts will be executed in i.e. /bin/sh shell. So, what is the point if I put #!/bin/ksh at the start of script?
I attempted to run various cron jobs as root - just general server make-tidy stuff. But if I edit the /etc/crontab file directly, these tasks don't get run. However, if I use crontab -e as root, these jobs appear to work. Any idea why this might be the case? Also, I understand that user cron jobs are stored in /var/spool/cron/<user> (including root). If this is the case, what's the purpose of the /etc/crontab file?
whenever the log file (test.log) exceeds 100M a new file will be created with the file name as test.'date'.'gz'(new file is created with a current date and in a compressed format of gz) and also with permission mentioned above). I really dont know what is the role of rotate( will this be carried on only for next 4times i mean upto 400MB; (4times*file reaches 100MB)? and also what could be the purpose of postrotate?
"Life has been made easier with all Microsoft systems, all versions of Dos and Windows, because each of them has to be installed in an active primary partition and so hence will always has a boot loader in the root partition." So if I already have Windows 7 installed (in a 100gig partition of a 1t hdd) how do I modify the windows booting process so that I can go on to create many additional partitions that will be used for linux distros?
I am using a Fling KVM switch (by Belkin), to connect 2 computers to my monitor One computer is running XP and the other is running Linux. My wireless switching mechanism has just gone the way of the saints but Belkin has supplied a software solution for this occurrence. There is a small app called Fling (surprising) that allows me to switch from the XP machine to the Linux machine but nothing to switch back to the XP. What I need to know is there a similar app for the Linux computer. (NB I have tried Synergy but have no idea how to set it up - I've been told that synergy might work).
acl FILE_MP3 urlpath_regex -i .mp3$ http_access deny FILE_MP3. I HAVE SET THIS RULE; ACL rule in Squid to block downloading of .mp3 files
But I don't understand the purpose of "".mp3$ here the ""? even without it ("") I am able to block downloading od mp3 files and what is purpose "$" ich at the end?
I have just bought a digital-to-analog converter, this one to be exact, along with an amplificator and two speakers. I'd like to get the most of my Ubuntu, a good sound (what player can I use ?) and to know wether I need to do some extra changes in the kernel (OSS / PulseAudio / ALSA ?) or not.
I wonder if my converter will be detected when i plug it in, and if any sound from my computer will be leaded to it automatically ? (I'll have the converter tomorrow). I believe its purpose is to replace the sound card, to provide a greater, pure sound. The converter is linked by USB by the way.
I just removed mysql-client after installing php5-mysql and my php is connecting to my remote server fine. What is the purpose of mysql-client? Is it a direct API for external servers?
[URL]
So it's basically /usr/bin/mysql that allows connection to external servers
today when i tried to login into another host my network using ssh it gave me an error saying that the remote host RSA key has changed and i should remove the file .ssh/<idon't rememeber> from my home directory for loggin in and it also gave me the warning that somebody is doing something nasty, As far as i remember we only reinstalled the system that ip, but then after deleting the file .ssh when i put the root password to that system it says bad password, What is an RSA key and what is its purpose under what circumstances is the RSA key gets changed, does it get changed after reinstallation what can do nasty that can change the RSA key
I am in the process of creating a USB multi boot with a variety of utilities for working on pc's as well as multiple distributions for testing via live use and for installation. From what I've found YUMI is the tool to use to create this. Is that right or does anyone have a better tool to use? As long as YUMI is the best tool, does anyone have any best practices to pass on? I'm thinking of relating to casper-rw, preventing any fragmentation issues and etc. Anything else to be thinking of as I create this would be very much welcomed. I'm planning to start with a 16GB stick but I'm curious about how much space others are finding they need. I don't know if 16GB is way high or low.Anyway, what all can you pass on to me and others in the forums about planning for and using a multi boot usb.
Can the fibre channel switch in the centOS5.3 cluster edition be switched for a regular router or hub? If so how would one do this? If not why does the switch have to be fibre channel?
I'm wondering if anyone can give me some guidance, or point me to a relevant reference for setting up a single purpose ssh key.I have setup a single purpose key for rsync, where I have command="/path/to/rsync-secure" associated with the public key in .ssh/authorized_keys, and the rsync-script checks to make sure incoming commands begin with 'rsync --secure', What I would like to do is do something similar to allow sshfs access, and have the server path that can be mounted locked down to a particular location. Does anyone have any suggestions as to how this could be done?As an aside, I might also want to restrict the above rsync script to only allow synchronization to a particular path.
using these fetchmail and postfix for fetching mail and sending mail ...... Instead of using incoming and outgoing like smtp and pop3 in outlook , why we use fetchmail and postfix mail server in linux and forward this to local windows client Outlook ..
I learned Java(SE,EE) few years ago and didn't use it because we are using PHP and ASP.NET at work.However, I would like to ask a question: Is Java (SE,EE) free for use for business purpose?I mean,if I start up a company and use tomcat with java, do I have to pay for the license to use Java?I don't know much about java license until I learned that ASF(Apache Software Foundation) quited from the Java Community recently.As a result,they recalled my attention regarding the legitimacy of using java in business purpose for free.