Tagged Questions

Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

1
vote
1answer
7 views

Block traffic to LAN but allow traffic to Internet (iptables)

On my home network I am setting up a CentOS server that will be used by about a dozen or so for educational purposes - e.g. learn how to use the Linux shell and host websites, among other things. I ...
0
votes
0answers
9 views

Setting up the network for two VMs, one blasts all outgoing traffic to the other

What I Want: I have a Windows VM that I want to route all network traffic from into my Linux VM. The Linux VM is running INetSim, a program that fakes all services for the common open ports. So as ...
1
vote
2answers
23 views

Store command output in variable

If I do z='ls' and then echo $z it will print the directory I listed, but without newlines or formatting. I assume lack of colored formatting is impossible to get around, but would it be possible to ...
0
votes
4answers
31 views

increasing shrink space in windows 7

I am trying to install Linux on a machine that is currently running windows 7 home edition. I want to keep windows 7 and install windows in a partition. So I went to Disk Management, right-clicked ...
0
votes
0answers
13 views

virtualbox pinging from one subnet to another

I'm using virtualbox and I have 3 virtual machines, there's the middle vm which is a Linux Fedora 20 which has two interfaces connecting each to one subnet, the other two vms is one also a Fedora 20 ...
0
votes
1answer
15 views

Out of Range Check for WLAN Network

Does anyone know of a universal mechanism to check on a client device if it is still within range of a wireless network and can communicate on it? One idea is to ping the gateway, but some networks ...
0
votes
1answer
15 views

How do I upgrade scientific Linux 6.3 to 6.6

Upgrading Scientific Linux 6.3 to 6.6 I have to update machines of SL6.3 to 6.6. I tried #yum list updates and .# yum update It downloaded some files and installed . But my SL is still showing SL6.3 ...
0
votes
0answers
9 views

Docker: is it better to use two small containers or one big one

I am looking at Docker as an architecture for my next project. I want to run a DNS server and a web server. Is it better to put them both in the same container? Or should I create two? Do they ...
-1
votes
0answers
5 views

Linux Selective Deleting of folders against a specific list

In Linux I need a script to delete selective folders and their respective content in a directory, but exclude some folders that I already know the names for. For example, in a directory with folder ...
1
vote
2answers
22 views

Yum doesn't list a package I'd like, now what?

I'm Linux ignorant. We're using CentOS and I have a need to install something called git-up and I understand that package managers are how you install everything onto Linux. CentOS has yum but the ...
0
votes
0answers
18 views

Linux 32 bit CPU + Oracle Limitations

I have 32 bit RedHat 4 server (with hughmem kernel) CPU is 2 x Xeon X5650 (12 total psychical cores, 24 virtual) On the server there is running Oracle 10G (32 bit) database instance. Oracle because ...
0
votes
0answers
5 views

Attach to the same tmux session from different nodes of a cluster

I'm working on a computing cluster which has several hundreds of nodes. A load-balancing scheme picks an idle node to login to when ssh-ing into the cluster. As a result, it is very unlikely to ...
0
votes
0answers
10 views

/sbin/php-fpm works while /bin/php doesn't

Compiled php 5.6.3 on centos with the following ./configure: ./configure \ --with-zlib-dir \ --with-freetype-dir \ --enable-mbstring \ --with-libxml-dir=/usr \ --enable-soap \ --enable-calendar \ ...
0
votes
0answers
5 views

Error when start of the apache2 service: version OPENSSL_1.0.1 not defined

I'm using a Debian Wheezy server where I have installed apache2, php5 and libapache2-mod-php5 packages via apt-get. But when I'm trying to start the apache2 the follow error occurs: service apache2 ...
0
votes
0answers
4 views

How to make an exception in a pam module?

I have 2 servers: A and B. I want A to connect to B via ssh (as a non-root user) to run a sudo command. But sudo on B requires a yubikey input to allow the command: auth required pam_yubico.so ...
0
votes
2answers
12 views

Output redirection at the beginning of line

I'm used to specify output redirection on the end of the line like: echo blah > output.txt Both in Windows and *nix. Recently I'm seeing more and more examples that redirect at the beginning of ...
0
votes
1answer
17 views

About network traffic control

I have a satellite internet connection -> a pretty nice 8 processor server with 64gb of ram, running debian 7.7, two lan ports, one connected to the gateway, the other to the wifi router, wifi to all ...
0
votes
2answers
29 views

Need help on user permission in group

Setup of NFS and NIS server 1. Has NFS folder ack and user ack and find below permission of ack folder including main directory & subdir. (rwxrwx---.) on NFS and NIS server. drwxrwx---. 12 ack ...
-1
votes
0answers
7 views

Transfer files from a telnet server running Ubuntu to client server

In our lab we have a server running Ubuntu 12.04. I have got a user ID in the telnet server. The lab instructor asks us to login to the server using our user id and password to do programs. I have ...
0
votes
0answers
13 views

Overwrote startup disk's partition table with gdisk; how to restore?

I installed a new hard drive in my home server today, went to format it in gdisk (larger than 2 GB), set the changes and wrote them. Then I noticed that I had selected the wrong disk, in fact I just ...
1
vote
1answer
12 views

Yum batch install package cause 100% CPU load?

I need to install a list of package as follow; so I made a small script automate it: yum -y install libstdc++.i686 yum -y install libibcm.x86_64 yum -y install librdmacm.x86_64 yum -y install ...
1
vote
1answer
19 views

OpenVPN connections works on LAN but not through WAN

I'm trying to set up a simple OpenVPN server in my home network to safely connect from the outside. The authentification itself works as i am able to connect from LAN. My DDNS lookup and the ...
2
votes
2answers
35 views

Directly connect MacBook to Linux desktop via ethernet for fast SSH?

I am looking at building a Linux desktop—desktop only; no monitor support—and getting a MacBook Pro as my main computer for mobility. I would like—while I am at the office—to basically use my MacBook ...
-3
votes
1answer
19 views

PGP encrypted mails look so awful in the gmail-plain-text-editor

I run Firefox on OpenSUSE 13. 1 I want to send mails to my friend and they are encrypted. But if I use Gmail and switch to plain-text then the mails look so awful to me. (see below) And the ...
0
votes
0answers
5 views

Create and enforce a theme for every GUI app in an OS

Say I want to build a custom desktop environment (in QML) using the QtCompositor APIs. I can create my own components for the QML apps created for this particular environment, but it would be much ...
0
votes
0answers
27 views

Map remote host to local ip (linux)

How can I map remote host to local ip? For example: If I map google.com to ip 192.168.1.15 so when i ping 192.168.1.15 i get forwarded response from google.com Maybe Iptables or something?
0
votes
0answers
14 views

How do I log in to Windows network from Linux live cd? [duplicate]

I like to work on my programming projects at school but my school has Windows 7 on all the machines and so I can't use python, liclipse, linux tools, etc. I can use a live cd to boot into Linux but ...
0
votes
0answers
5 views

geany ide on scientific linux

I installed scientific linux 7. I would like to install Geany. I tried sudo yum install geany (in root) and also rpm but it didn't work. What can I do ? Do you have to install something before using ...
0
votes
0answers
12 views

Problems with understanding how the RRD tool works

In my understanding inside the RRD database file we have a bunch of "records" which can be updated only in the specified second. Here's an example of database with --step 900: 1416483000: -nan -nan ...
1
vote
0answers
20 views

Share optical drive over lan

Is there any way that you can create an optical drive server so that you can share like an audio-cd on a webserver without converting. Situation: School with new Chromebooks.
4
votes
2answers
126 views

How to make a symlinked folder appear as a normal folder

I have two Dart applications I need to dockerize. These two apps use a shared source directory. Because Docker prevents adding files from folders outside the context directory (project/app1) I can't ...
2
votes
1answer
42 views

file not found, but the file is there

running an Ubuntu 14.04 x64, I like to execute an binary file. This one: $ ls -la /opt/android-sdk-linux/tools/emulator -rwxrwxr-x 1 tho tho 35640 Nov 19 14:46 /opt/android-sdk-linux/tools/emulator ...
0
votes
0answers
11 views

Telit modes on newer linux kernels are not recognised

I've Telit HE910 and HE910-v2 modems. After switching from 3.13-rc4 (sunxi branch) to mainline 3.17.2 I've got problems with 910. Before modem was set up properly: Jan 1 03:22:11 localhost kernel: ...
0
votes
1answer
15 views

Environment variable LC_ALL is always unset by default. why LC_ALL is unset?

Why LC_ALL is always unset by default on Linux and Unix machines? For example, on Linux: root@icubes:[~]# locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" ...
0
votes
0answers
18 views

Type directory into firefox save/open dialogue location bar?

Is there a way to make the firefox open/save dialogues allow typing in the location bar? Here is the equivalent question for nautilus. Those solutions do not work for firefox. Edit: I'm using ...
1
vote
1answer
13 views

How to solve fsck.ext3: No Such file or directory on redhat 2.6.9-55

I have main two problems here: Error on boot. It said error file system. Forgot root password. How to solve them? This is error occurred when boot, how to solve it while i forgot my root ...
0
votes
0answers
10 views

How to hide the network shared directories C$ D$ ADMIN$ by windows in linux client?

Can I get a solution in GNOME or nautilus? It should be hidden graphically. I'm using Fedora 14, GNOME, and the gvfs package to look over the network share. I can't rename all new files/folders ...
0
votes
1answer
10 views

Does dd require CAP_SYS_RAWIO?

A little while ago, I found out from this that there used to be a way to semi-permanently disable the ability of even root to modify immutable & append-only flags (lcap CAP_LINUX_IMMUTABLE) or ...
0
votes
1answer
23 views

Not quite grasping /dev/random and /dev/urandom

I am not quite understanding the difference between /dev/random and /dev/urandom on Linux systems. What does it mean to run out of “entropy” and how does the system get more? What does it mean when ...
-2
votes
1answer
27 views

Home server OS: Linux vs Windows [on hold]

I want to build a home server for my family. I want to do the following on the server: Sharing multimedia (TV Shows, movies, pictures, etc.) Advanced sharing (for instance, sharing a file only with ...
-2
votes
0answers
7 views

viber.deb won't run and it can't be appear on my kali linux desktop [on hold]

I installed messenger called vibe that its deb file I mean: When I installed it I found it from applications and I click on vibe-messenger icon but it will not run.
0
votes
2answers
11 views

Edit scripts to hide File/Folder in fedora 14

I want to hide File/folders ending with "#" . I used the '.' formula but cant everytime rename 100s of files and folders ,i want the file /folder to be instantly hidden same like when we apply "." in ...
0
votes
0answers
7 views

Debian Squeeze character encoding issue

I'm running Debian 6.0.7 (Squeeze). Normally, to get the euro symbol, I would type altgr-$ and this works fine on Ubuntu but with Squeeze when I hit those keys the cursor jumps back to the beginning ...
0
votes
0answers
6 views

Resume SCP download when using .pem file with rsync

I have a large file to down form a ssh server, however the connection keeps cutting out. I know that rsync can be used to resume the download however I can not find how to do this when I am using a ...
0
votes
1answer
8 views

What is the policy for permissions on /proc/<PID>/environ?

I see, that usual user process gets user-readable permissions: -r-------- 1 1000 1000 0 Nov 19 13:51 /proc/9083/environ but f.ex. SCREEN daemon gets root ownership: -r-------- 1 root root 0 Nov 19 ...
0
votes
0answers
6 views

How to get current value of txqueuelen on Linux

I know the following command can set txqueuelen in Linux: ifconfig eth1 txqueuelen 4096 But how can I get current txqueuelen of a specific interface? I've tried ifconfig eth1 txqueuelen, it only ...
0
votes
0answers
21 views

How to use .htaccess and .htpasswd for selective redirects & passwords

In my /var/www/ directory I have many directories some like: /var/www/impdata/ /var/www/data/ So can I achieve this: When I go to: www.websitename.com/data/ it should give an 404 error. And when ...
0
votes
1answer
6 views

Restore Ubiquity router with squashfs errors

I have a Ubiquity EdgeRouter Lite that no longer functions after a powercycle. Connecting to the serial port, this is the error I get. kjournald starting. Commit interval 3 seconds EXT3-fs (sda2): ...
0
votes
0answers
19 views

Shell script force stop without waiting for the exit code

I have written a shell script checklick.sh on my CentOS box with the following content: #!/bin/sh # # description: check link through rtmpdump # . /etc/rc.d/init.d/functions ...
1
vote
0answers
20 views

Execute a script when filesystem is mounted

I would like to have a script executed when a (any) filesystem is mounted by the mount command. Currently I have a process watching /proc/mounts for changes, but I am interested to know if there is ...