1
vote
1answer
19 views

Install nginx as proxy after Apache

If i install nginx as proxy on Debian 7 what steps are needed so all static content is directly delivered by nginx? I want to get past the problem, that apache2.2 is not able to use a DH-cypher ...
1
vote
3answers
8 views

Moving 4 system folders to 1 separated partition

Some background: I have installed Linux Mint 17 Cinnamon on my laptop SSD on a 10GB formatted partition and i have another HDD with 75GB, both ext4 formatted. The question part: I have two partitions ...
0
votes
0answers
4 views

What is the best operating system for beeing anonymous

Im looking for an anonymous distribution of linux, anyone can help me? Thanks
4
votes
3answers
2k views

Use start-stop-daemon for a PHP server

I'm working on a socket server written in PHP. This part of the work is done but now I need to run it as a daemon. For this I've tried to use start-stop-daemon but it doesn't work. My server is ...
2
votes
3answers
16 views

Extracting lines based on conditions

Each line in a comma-separated file has 5 fields. a,b,c,d,e f,g,c,i, j,k,c,m,n o,p,c,r,s t,u,c,w, x,y,z,aa,bb How can I extract the lines which have c in the 3rd field and their 5th field is NOT ...
0
votes
1answer
17 views

Setting up a static IP from ISP

I think my question might be an easy one but i struggle a little with setting up servers. I have a CentOS 6 setup. I have added Webmin and Virtualmin. I set this up with a static IP address and had ...
8
votes
2answers
7k views

Make mouse movements scroll when the middle button is held down

In Windows, I'm used to clicking the center button and it offering a "fast scroll" option up or down. How can I get this behavior on Linux? It currently seems to use the back button upon center click ...
3
votes
1answer
47 views

Elegant way to prevent command substitution from removing trailing newline [duplicate]

I'm customizing my zsh PROMPT and calling a function that may or may not echo a string based on the state of an environment variable: function my_info { [[ -n "$ENV_VAR"]] && echo "Some ...
0
votes
1answer
9 views

How to get Rosewill rnx-n250pce wireless card to work in Debian?

I am using a rosewill rnx-n250pce wireless card on Debian. I can do lspci, and my wireless card will show up, but I am not able to use it, and it does not show up in iwconfig. I tried installing ...
2
votes
3answers
30 views

determining column number using string in awk

Suppose I have a pipe separated file like: |Sr|Fruits|Colors| |1 |apple |red| |2 |orange |orange |3 |grapes |purple| Here it is evident using awk that, $2 is Fruits and $3 is the colors column. ...
3
votes
1answer
25 views

How do I rename many files from whatever to sequential filenames?

I have a directory with 8,000 images. These have a variety of filenames and are of type jpeg or png. I want to rename them to: pic00001.png pic00002.jpg I don't mind if I end up doing the pngs in ...
1
vote
1answer
572 views

How to change default syntax-highlighting for header-file in Kate

Often I have to open header-files (with ending .h) in Kate. The default syntax-highlighting with which these files will be opened is always C++. How could this be changed to Fortran so that I don't ...
0
votes
0answers
24 views

i can't install any package on debian jessie

I've tried dpkg, apt-get, aptitude but nothing works; I don't have even the sudo package and I can't install it. First the terminal stopped working (the application) then I started using xterm. After ...
0
votes
3answers
581 views

Removing KDE from Fedora21, groupremove not working

I am trying to remove KDE from my Fedora 21 installation in favor of XFCE. I have tried a few different commands and neither of them work. #yum groupremove "KDE Plasma Workspaces" and also #yum ...
10
votes
10answers
1k views

How can I quickly sum all numbers in a file?

Each line contains text and numbers in one column. I need to calculate the sum of the numbers in each row. How can I do that? Thx example.log contains: time=31sec time=192sec time=18sec time=543sec ...
1
vote
2answers
938 views

Live USB repeatedly gives error 'Failed to load ldlinux.c32'

I'm trying to put Ubuntu on my desktop. Right now, it and my laptop are running Manjaro 3.18. I've been using Unetbootin to create the live USB on my laptop. I've tried several different versions of ...
1
vote
0answers
10 views

Easy way to compare BIOS information between two machines?

I have two machines - machineA and machineB running Ubuntu 12.04 Is there any easy way I can compare BIOS settings between those two machine and see the difference instead of doing it manually and ...
2
votes
2answers
790 views

usbip: problem getting device attributes: No such file or directory

I try to use an ftdi rs232/usb adapter over ethernet. It's connected to my raspberry pi. pi@raspberrypi ~ $ usbip list -l Local USB devices ================= - busid 1-1 (0424:9512) 1-1:1.0 ...
0
votes
3answers
130 views

Script to check if file exists and copy

Pretty new to shell script, want to write script which checks if any file .300 extension exists on /exports/files on server 10.xx.xx.xx. If *.300 exists, move file to /exports/files/arch and send an ...
0
votes
1answer
98 views

In Unix, when you write a file, where is it written to? [on hold]

In Unix, when you write a file, where is it written to (location)? If it's written to memory, is there any specific name for it?
0
votes
3answers
20 views

On a Linux system, see how busy is file system

I want to know of a command that will show me how (currently) busy is the file system. I'm assuming there exists such a command that will show me this. With such command, are there specific arguments ...
0
votes
0answers
5 views

How to interactively change input text in zsh

This function can be used to help user input a modification of text. function change { bash -c "read -ei \"$1\" temp && echo \$temp" } What is idiomatic zsh way to do something similar?
2
votes
1answer
27 views

What is the icon between settings and lock-screen in Gnome3?

I can't figure out what the icon between my settings and lock-screen icon in Gnome3 is supposed to do. It has two states, locked and unlocked, but it's not the lock screen. When I click it, it ...
0
votes
0answers
12 views

“date -d” command fails on Docker Alpine Linux container

I built Alpine Linux in a Docker container with the following Dockerfile: FROM alpine:3.2 RUN apk add --update jq curl && rm -rf /var/cache/apk/* the build run successfully: $ docker build ...
0
votes
1answer
8 views

Modification needs to be done in iptables in case of a bridge between two interfaces is implemented

I have a machine with 2 NICs; eth0 and eth1. Each NIC has an assigned IP address and the traffic between them is controlled using the below script. #!/bin/bash SAT_RECV="192.168.200.0/16" NQ=9 ...
1
vote
1answer
659 views

Network fail on FreeBSD: Ping to router fails, but router believes computer is connected

I have a TP-Link TL-WN851N wireless adapter, which is based on an Atheros device. When I attempt to connect to my WPA2 wireless network, ifconfig wlan0 tells me that the connection is 'associated'. My ...
4
votes
1answer
152 views

Configure third button of a 3M Ergonomic Mouse

I've just bought a 3M Ergonomic Mouse, model EM500GPL, and for pointer movement and left/right click it works fine. But I'd like to know if it's possible to configure the third button to behave the ...
5
votes
3answers
1k views

Change default search name

My Ubuntu12 server VM is receiving its IP address from an DHCP server (actually my WLAN router called Fritz Box). Hence all domain names are resolved to machinename.fritz.box. The reason seems to be ...
0
votes
3answers
40 views

Script to move one filetype and create a subfolder, if it exists?

I'm trying to find a script that would basically look recusively at a directory, and if the script finds file that are '.flac' files, it will create a subfolder called FLAC in that same folder, and ...
0
votes
0answers
6 views

libz.so.1: no version information available

I am trying to install a software on Linux Opensuse. I keep getting this message libz.so.1: no version information available relocation error: /usr/lib64/libpng16.so.16: symbol inflateReset2, ...
3
votes
4answers
27k views

Ubuntu: How to configure DNS servers in /etc/network/interfaces correctly for resolvconf?

All examples I have seen of configurations (/etc/network/interfaces) showed that you configure an interface and then underneath that gave the dns-* lines such as: auto eth0 iface eth0 inet static ...
0
votes
1answer
523 views

Install FreeRADIUS - talloc library not found

I'm trying to install the latest FreeRADIUS on CentOS 6.6. I'm getting this error: [...] checking for _talloc in -ltalloc in /opt/lib... no configure: WARNING: talloc library not found. Use ...
0
votes
5answers
50 views

grep NOT maching exact string

I have a file 1 IF 9/1 Joe 2 IF 9/1 Marry 3 IF 9/12 Larry 4 IF 9/15 Page And I want to print only those lines that doesn't mach IF 9/1 using grep. I know that I could do that using grep -Fvx 'IF ...
0
votes
0answers
5 views

Arch hangs before opening login screen

I tried installing gummiboot, and I eventually got it to work, but now Arch can't boot into X--the last few messages I get are about it stopping Plymouth and preparing to open Gnome Display Manager, ...
1
vote
0answers
18 views

Save open applications

When I close my Gnome-shell with some open applications, I would like to restore them in the same state to the next start : how can I do that (I'm on Ubuntu Gnome-shell 14.04.02 LTS) ? Thanks
2
votes
1answer
1k views

Install nagios3 on debian by apt, file not found error

I have a Wheezy Debian system, and I've installed nagios3 using apt-get. When I go to myhost.com/nagios3 and then go to a page, for example "Tactical Overview" I get the error message: The ...
4
votes
0answers
26 views

Mount directory onto root

I have a folder containing certain files. Is there a way to mount it onto /, so that the contents of a given directory appear in the corresponding locations in /? In my case, the directories contain ...
5
votes
2answers
683 views

How to change the hash-spec and iter-time of an existing dm-crypt LUKS device?

How can I change the hash-spec and iter-time of an existing dm-crypt LUKS device? Clearly I can pass the options if I create a new device, for example something like this: sudo cryptsetup ...
0
votes
2answers
15 views

can't open rstudio in linux debian wheezy error 'GLIBC_2.14' not found

I get the following error when trying to run rstudio on my Debian: rstudio: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by rstudio) I've uninstalled and reinstalled R ...
0
votes
0answers
34 views

Need Debian driver for DWA-130 rev F1

Can't get my wireless adapter working. It's D-Link DWA 130 rev F1. There's a good deal of discussion about this in the Ubuntu world, but it doesn't seem to work on Debian. The chip-set appears to ...
1
vote
1answer
13 views

Skip syslog/rsyslog logging of certain cron jobs

In most GNU/Linux distributions the default is to log start (and many different events) of every cron job to syslog. It's rather convenient, but not for a very frequent jobs, which started, say, every ...
0
votes
1answer
33 views

“yum-config-manager --disable <repoid>” How to get repoid for centos 7?

I mistaken installed centos7 minimal. But I want to install GUI for Centos 7.From this link, I try the following commands: yum groupinstall "GNOME Desktop" "Graphical Administration Tools" But It ...
1
vote
0answers
7 views

fsck.hfsplus cannot repair keys out of order

My MacBook pro suddenly was no longer able to boot. Going into the disk utility from the recovery boot I tried to repair the drive and it failed saying that keys were out of order. I then made a copy ...
6
votes
3answers
466 views

How can I delete a file named “>”?

I was running a Python script that malfunctioned and used sudo to create a file named >. How can I get rid of this file? Of course, when I try sudo rm >, I get the error bash: syntax error ...
1
vote
1answer
494 views

Connect Linux to two networks simultaneously

I want to connect to two networks simultaneously using the Ethernet and in-built WiFi or to two WiFi networks by installing an additional WiFi adapter. My requirement: I have two sets of devices ...
0
votes
1answer
2k views

Installing Fedora on VMWare error: CPU disabled by guest operating system

When I try to install Fedora 16 on VMWare I'm getting the error CPU has been disabled by guest operating system. Any clues?
1
vote
3answers
70 views

find directories with specific patterns leads to Permission denied error and no result

I have this kind of shell script on Linux: #!/bin/sh echo -n "Please enter directory pattern: " read dirs find $dirs > /tmp/justbay.txt allDirs=$(find $dirs ! -readable -prune) echo $allDirs ...
2
votes
2answers
40 views

Installing VBox Guest Additions when there is no X-server

I'm using Virtual Box on my windows 8.1 host machine. I have installed CentOS & Ubuntu in 'Graphical Mode' and had sufficient practice. But now I wanted to switch to 'Command Line Mode" ...
0
votes
1answer
13 views

Using a VPN for certain applications via a network namespace

I am trying to use a network namespace for VPN-specific traffic, using this guide: https://schnouki.net/posts/2014/12/12/openvpn-for-a-single-application-on-linux/ on Debian. Everything works with ...
1
vote
1answer
1k views

GNU/Linux: “device mapper: create ioctl failed” “device or resource busy”

I can't mount my encrypted devices anymore. The error is: device mapper: create ioctl failed device or resource busy This error arises both with two different programs to access TrueCrypt ...

15 30 50 per page