-1
votes
1answer
4 views

Apache web server configuration with a DNS server Linux 14.04 LTE

I need to configure a Apache web server with a DNS server, it can be a simple local server configuration just to practice and see how a DNS server resolves a URL to an ip address and connects to a web ...
1
vote
0answers
6 views

Log files for kernel panic on Arch Linux

I have recently updated my Arch Linux machine. Since then, I have been getting kernel panics here and there. (the screen freezes and the status lights on my keyboard are blinking) It seems to happen ...
1
vote
1answer
6 views

create numbered files with defined content with bash

I want to create 69 files with a filename from 4006 through to 7075 and it each file needs to have some enumerated content, the following code prints on the shell what I would like to have inserted ...
0
votes
0answers
4 views

Avconv Error when trying to save an updating snapshot of an IP-camera stream

I'm trying to save an updating image of my camera stream on my Desktop. avconv -i rtsp://admin:[email protected]/h264 -f image2 -r 1 /home/nuc/Images/img.jpg Protocol avconv version ...
0
votes
1answer
4 views

Apache's 000-default.conf - weird behaviour

I'm trying to achieve a redirect from domain.com to www.domain.com (non-www to www). My sites-available/domain.com.conf file looks like this; <VirtualHost *:80 *:443> ServerName ...
1
vote
0answers
23 views

Cannot get Systemd working on GENTOO: Where am i going wrong?

I'm having a massive amount of trouble installing gentoo with systemd; this is a fresh install and not an upgrade. Steps (after partitions etc.. are setup): Unpack AMD64 stage3 and emerge-webrsync ...
5
votes
1answer
22 views

What Linux kernel features does os-prober require to find a Windows 8 installation?

I built a new custom Linux kernel using make localmodconfig and after booting the new kernel, update-grub doesn't detect my Windows 8 installation. My distro kernel (with tons of modules I don't ...
1
vote
0answers
9 views

How to stream audio (only!) from “/dev/dsp”?

What is the best way to stream audio from "/dev/dsp" (I'm using OSS on Debian). I would prefer HTTP streaming, but if there is way on other protocol I can deal with that.
0
votes
0answers
4 views

Fail to log in HPC nodes (Permission denied)

We have four login nodes in our HPC system, namely al1, al2, c1 and c2. I could log in all the four nodes previously. But recently I suddenly cannot log in al1 and al2 while I still can log in c1 and ...
3
votes
1answer
22 views

git diff of copies that only added lines

Say I have two processes that append lines to copies of the same original (parent) file (copy_A and copy_B). If I diff these copies, can diff ever conclude that we have a conflict? (i.e. can it ever ...
1
vote
0answers
3 views

Mitigating BEAST Centos 6.5 Apache 2.2

I'm trying to get my system to pass a BEAST scan, it seems no matter what settings I use, an error is always returned stating that TLS 1.0 is enabled. I'm using Qualys SSL Labs to test ...
1
vote
0answers
10 views

How to identify process accesing usb port (scale)?

I'd like to identify through terminal which processes are using the scale connected to my mac, I need to kill those processes or clean the port to be used only by my app. Thanks a lot in advance.
4
votes
0answers
25 views

Truncated result returned by JOIN

I'm using join command under linux, but the results vary between different machines. I have two simple files: cat 1.txt a aaa,0.2 b bbb,0.3 c ccc,0.5 cat 2.txt a aaa,0.2 b bbb,0.3 c ccc,0.6 I'm ...
1
vote
1answer
15 views

how to change a complete line with sed c option

The sed command below is supposed to change the country for Sergio Oliva to Cuba from USA, but as you can see in the output that it's still USA. The book I'm using uses this example to illustrate ...
-1
votes
1answer
22 views

How to do calculation on eval variables in shell script

I want to do mathematical operations on eval variables in shell script, but it is not working. query=first eval avgOverall$query[1]=28.5 avgOverall=$(("`eval echo '${avgOverall'$query'[1]}'`+1")) | ...
0
votes
1answer
12 views

XFS on Volume Group or Mdadm Raid 0

Im starting to use XFS because I want to create a highly parallel disk array and experimenting on just 2 drives for now. I had thought that if I used a logical volume group to join two physical ...
-2
votes
0answers
5 views

Terminal on android GS900 [on hold]

I'm learning bash3.2 and python and erlang and all that jazz. My question to you is, do you use this Google play store app and if so, what sorts of things do you utilize it for?
1
vote
1answer
16 views

rebuilding kernel without using apt-get

I am setting up my Macbook Air 6.2 with Debian Jessie. since I do not have any wireless, I need to set it up manually, but all documentation I find how to do it are using apt-get apt-get install ...
0
votes
0answers
20 views

Debian DVD doesn't boot

I have a laptop. It has Ubuntu 14.04 LTS on it. Because of some reason, I decided that, I want to delete Ubuntu and Install Debian 7.6 instead of it. I downloaded Debian's 64bit versions and tried to ...
2
votes
1answer
31 views

How creating forcefsck file triggers file system check on reboot?

What is the significance of the file /forcefsck? I understand by creating this file the file system check is enforced during the next reboot. But how does this work?
0
votes
1answer
6 views

symbol lookup error: /usr/lib/i386-linux-gnu/libgdkmm-2.4.so.1: undefined symbol: [on hold]

I am on Debian jessie x86 and with a variety of GTK applications I get the error symbol lookup error: /usr/lib/i386-linux-gnu/libgdkmm-2.4.so.1: undefined symbol This happened for crucial programs ...
4
votes
4answers
67 views

Count lines of non-terminating input

Is there any way to count the lines of a non-terminating input source? For example, I want to run the following for a period of time to count the number of requests: ngrep -W byline port 80 and dst ...
3
votes
3answers
34 views

environement variable assignment followed by command [duplicate]

What exactly is happening in the below bash incantation? x=10 echo $x I was under the impression that commands on bash can be chained using &&, || or ; but not simply separated by ...
3
votes
1answer
23 views

How OOM killer decides which process to kill first?

This answer explains the actions taken by the kernel when an OOM situation is encountered based on the value of sysctl vm.overcommit_memory. When overcommit_memory is set to 0 or 1, overcommit is ...
0
votes
0answers
13 views

OPENVPN AS - Could not connect to the test server on the Internet

I have set up OpenVPN on my server and I can access it through Tunnelblick. I am however having issues to set up OpenVPN Access Sever. After Install I noticed that in the server name field there was ...
0
votes
1answer
18 views

Terminal: termcapinfo command not found

I added the following line to my .screenrc script such that I can use my mouse to scroll up and down in the terminal when the output is too large and long. However, when I try to source .screenrc ...
0
votes
0answers
23 views

Git: Fixing wrong object headers

I have a git repository that is not corrupt (all object files remains, i can commit to it and so on). It was orginally created by migration from svn using "svn2git" if i recall correctly. Recently I ...
3
votes
3answers
61 views

SSH - Is it possible for an SSH session to take complete control of the client?

When I open a SSH session on my terminal to a remote server, is this only a virtual terminal, or is it possible for the SSH server that I am connected to to "take control" of my terminal? For example, ...
0
votes
2answers
22 views

USB booting to installing Linux on a new Lenovo laptop

I recently got a Thinkpad T440s with Windows 8.1 for my job, and since most of my work is done under Linux I am going to install Ubuntu on it, so that I can dual boot. The problem is that it won't ...
1
vote
1answer
57 views

Installing Epel repository on CentOS fails

This has been working on my vagrant vm for a few month without any issues. I didn't change anything, it has been vagrant up and vagrant destroy'd several times before with no problems. But now it ...
0
votes
1answer
20 views

Apache2 not reading sites-enabled/*.conf

So I'm trying to set up my site with Apache on Ubuntu 14.04. I have created a mydomain.com.conf file in sites-available/. It looks like this; mydomain.com.conf <VirtualHost *:80> ...
0
votes
0answers
4 views

RTNETLINK error when trying to assign IPv6 address

I am trying to assign the ULA fd9e:fed0:cb9e::/48 to my my Ethernet interface. When I do this though, I get the following output: [root@archlinux-jeroen jeroen]# ip -6 addr add fd9e:fed0:cb9e::/48 ...
1
vote
0answers
19 views

How is the content of configuration files parsed on different Linux distributions?

Different Linux distributions store the same configuration parameters in different files. For example IPv4 address in Debian Wheezy is stored in /etc/network/interfaces file while in Fedora 20 it is ...
2
votes
1answer
11 views

Would this LUKS LVM rsync restore method work?

I have an Ubuntu installation using LVM and LUKS encryption. LVM and encryption were chosen during the install process). While logged into it, I backup the full live system using rsync to another ...
3
votes
1answer
16 views

Consequences of setting up POSIX locales

Small background of the situation: We are using several UBUNTU servers having English as working language; however having en_US locale set in machines we encounter problems with apt-cacher-ng ...
1
vote
2answers
52 views

Command not found problem in Linux-Ubuntu terminal

My friend is having problem in trying to call make to compile an application which both me and a second friend have previously successfully compiled. The file uses a "linux-devkit" pack that possess ...
0
votes
0answers
8 views

Linux RDP with audio and micro

I've been trying to establish an RDP conexion with a Windows 7 machine from Linux with sound AND microphone redirection, I have tried rdesktop, remmina and freerdp with no use. Finally, with freerdp ...
1
vote
0answers
8 views

lz4 Kernel Module in CentOS without recompiling

I just installed CentOS 7 on a vServer to play around with. Usually I use Debian. Since I had good results, I want to use zswap. I enabled it by putting zswap.enabled=1 zswap.compressor=lz4 in the ...
0
votes
1answer
22 views

Keep xscreensaver running

Every now and then, xscreensaver dies. When it does, my session unlocks and won't lock until I restart it. Is there a way to automatically detect that xscreensaver has died, restart it, and lock the ...
3
votes
3answers
126 views

Alert when running process finishes

There are a few questions and answers on here with regard to being alerted when a process completes/exits(1, 2) – but these all assume that the user has issued said process themselves, and thus can ...
0
votes
0answers
11 views

Best way to configure computer lab printers using CUPS (or other print server)?

I manage a computer lab that is used mainly for printing. We've got three identical HP LaserJet P3015s set up and connected by USB to an Ubuntu server, which is then networked to the other computers. ...
2
votes
1answer
27 views

Why is so much of my new ext4 filesystem already marked as used?

I have just created a new raid 5 array using 3 4TB drives (aiming for 8TB of space) on an ubuntu system. While I had a few issues getting started, I believe I have set it up correctly and I have ...
5
votes
3answers
577 views

Which is more widely used: chmod 777 or chmod a+rwx

Out of the two options to change permissions: chmod 777 file.txt chmod a+rwx file.txt I am writing a document to send out to our customers, detailing that they need to change the file permissions ...
0
votes
0answers
16 views

Unable to find the kernel source tree in Kali/Debian

I'm trying to install the driver NVIDIA-Linux-x86_64-340.32 on Kali 1.0.9. I have some trouble though. When stop the gdm3, enter init3 and then start the installation by sh filename NVIDIA tells me: ...
-1
votes
4answers
53 views

Is there a very small version of Linux which could be filled to own wish?

Is there a mini-Linux, which would be just practically terminal prompt and you could install environment on your own? Including programs, plugins, drivers, DE (desktop environment)? I'm currently ...
-1
votes
1answer
21 views

Confused about things: setting up web-server, DNS server, Luks and firewall [on hold]

I am setting up a web server using Centos 7. I am however rather confused by a few things and would like your help to be able to understand things once and for all. I have read 'networking for ...
1
vote
1answer
30 views

Chkrootkit found alot of suspicious files and directories, and /sbin/init INFECTED

I was just running chkrootkit on my Fedora 20 x86_64. Here are some dubious results. Anyone know if these are false positives? Do I have a compromised system? Here are the suspect files and ...
1
vote
1answer
22 views

How to know URL being observed directly in a server

I host many websites using cpanel. I want to know URL being accessed at real time. It seems that many old domains still point to my host and they seem to take a chunk of CPU
3
votes
1answer
18 views

Keyboard layout change indicator

I have (and often change) 3 keyboard layouts on my Mint 17/Mate. I would like to see a notification on my screen when layout is changed, e.g. "Switched to English/US". I tried to do it via keyboard ...
0
votes
0answers
5 views

How to disable the radio button for a fixed interval of time after clicking them [migrated]

I want to disable all the radio buttons when one is clicked and then to enable it after a fixed interval amount of time after the radio button has been clicked. <input type="radio" ...

15 30 50 per page