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

0
votes
1answer
32 views

SSH stopped forwarding ports

Somehow SSH stopped forwarding ports and giving me errors on the host. I can not figure out why. I tried -4 switch to force ip4 but still no luck.I am hoping that I could get much proper solution ...
1
vote
0answers
13 views

Factors that influence whether an NTFS partition can be mounted by a regular user on Linux

I have two Win8-made NTFS partitions on my system. Running Debian testing, Linux kernel 3.16, I can mount one of them as a regular user, but trying to mount the other one results in an error: $ mount ...
-1
votes
1answer
26 views

sshd_config file configuration

# HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 #HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key #HostKey ...
-1
votes
0answers
16 views

High availability solution for PHP connecting to MySQL in multiple regions? [closed]

Clustering: Multiple PHP servers in multiple regions. One or two MySQL servers in each region. Each server has its own private- and public-facing interface. Servers in the same region can and do ...
2
votes
1answer
11 views

'Syntax error' while setting sudo.conf askpass variable with visudo

I want to set askpass program for sudo, i've made file /etc/sudoers.d/path-askpass with following content: # Path to askpass program Path askpass /usr/bin/ssh-askpass File was edit with visudo, ...
1
vote
1answer
20 views

After installing Fedora Linux using Asus vivobook, cannot access OS

3 days ago, I installed Fedora on my Asus Vivobook s551. After the installation, I could not enter either the Linux OS nor the original Windows 8.1 OS! I need to access my original operating system, ...
1
vote
1answer
20 views

Add new Server to Visual Studio application via SSH

I have a RHEL Linux instance with MySQL running. I have the connectors and I'm trying to setup a new connection to the database in Visual Studio 2012. Problem is, it's on a corporate remote server and ...
0
votes
0answers
11 views

Change VLC stream source without stopping

I have been starting an HTTP stream in VLC using the following command, cvlc http://www.example.com/stream --sout \ #transcode{acodec=vorb,ab=128,access=udp}:http{mux=ogg,dst=:8080}' Is there a way ...
0
votes
0answers
13 views

How to re-enable wlan0 after backports disabled it

I have a PC with Ubuntu 14.10 and I tried to install backports following the instructions here (except for cooked monitor interface, compiling my own, and I couldn't check if I had ath10k firmware, I ...
0
votes
0answers
12 views

CentOS: Can Top -u Display 2 or More Users?

Showing processes for 1 user is rather easy with Top: top -u someuser1 or by hitting u while top is running. Is there any way to make Top show processes specifically for 2 (or more) users? An example ...
1
vote
0answers
8 views

canot restore disk image with dd (target part filled with zero)

I have a RAID0 disk before, now I want change the size of it. From the manual, the only way is backup data, delete RAID, re-create with new size, and restore data. now I have many old 2.5" hdd, each ...
1
vote
1answer
25 views

Vim: cannot remap <leader> to comma or space

I've tried let mapleader = '<space>' let mapleader = ' ' let mapleader = ',' None of them works. VIM doesn't even show coma in the status bar (bottom of the screen?), but it works perfectly ...
0
votes
1answer
30 views

remote desktop for the terminal

Looking to allow a trusted friend access to an SSH session on my local machine. Is there a script or one liner that will allow for the ease of use I know from remote login software (teamviewer etc.) ...
0
votes
2answers
22 views

Linux slightly different behaviour If we give '&' before io redirection '>' and after redirection

I was starting jboss recently in background in Linux and saw that if you run command as follows: nohup ./startjboss.sh > server.log & Output is : [1] 18835 [root@cnt5-01b downloads]# The ...
0
votes
0answers
2 views

ActiveSupport requires ruby version >= 1.9.3., but Ruby 2.1.5 installed

I am getting this error when trying to install middleman: root@ThinkPad-T410:~# sudo gem install -V middleman root@ThinkPad-T410:~# ERROR: Error installing middleman: root@ThinkPad-T410:~# ...
2
votes
1answer
56 views

PC will not boot from CDROM

I'm trying to install Linux from a live CD (Elementary OS) I set my boot priority order so that CDROM was first in the BIOS. However my PC always chooses to load my SSD drive instead. To check that ...
0
votes
0answers
9 views

Logrotate not rotating on file size

According to the man page "Normally, logrotate is run as a daily cron job. It will not modify a log multiple times in one day unless the criterium for that log is based on the log’s size". So, ...
0
votes
0answers
14 views

file RELATIVE_PATH must be passed a full path to the file

Everytime I want to build smth using: cmake -DCMAKE_INSTALL_PREFIX" I'm getting errors like this: CMake Error at /usr/share/cmake-2.8/Modules/CMakePackageConfigHelpers.cmake:177 (file): ...
0
votes
1answer
42 views

How to install libav-tools in centos 6

I used tutorial to compile it from source but it never worked for me. I am facing error on following points Download x264 codec and compile it: git clone git://git.videolan.org/x264.git x264 cd ...
0
votes
1answer
21 views

ecryptfs internals - ask for explanation

I'm trying to understand how ecryptfs works internally and documentation on ecryptfs.org doesn't help. Maybe someone is able to explain how does it really works. Of course I'm aware of these hidden ...
3
votes
1answer
49 views

How am I exceeding USB 2.0 speeds on a USB 2.0 port?

I am writing files to a USB 2.0 drive from a RAM disk, that has a 256MB random filled file on it (created from /dev/urandom to stop the file being compressed too much). When I look at the speeds of ...
0
votes
1answer
22 views

Wordskip in vim [ssh from mac to linux]

Word skip (ctrl key and arrow keys) work fine with vim on my mac in terminal. But, when I ssh from my mac to my linux box, ctrl and arrow key do not work (wordskip) instead delete a bunch of lines ! ...
0
votes
0answers
12 views

What are the /proc/drivers directories organisation for nouveau or radeon

The context: I need to get some basic informations from the graphic card in a lib in lua. The idea is to not rely on external software (like hwinfo for example). I know that for a system with an ...
0
votes
2answers
24 views

systemd cant mount partition

I use a ssh tunnel at work to browse the internet. Yesterday I realize that my terminal is very slow responding to commands, I inspect htop, iotop, netop and see nothing in particular, only the ...
0
votes
1answer
25 views

How to upload local file to server through Linux terminal

I am trying to upload local files to server by using Putty or SSH but not getting upload there. Is there any direct method to upload file from local to server from Linux terminal without using FTP ...
1
vote
1answer
22 views

How to forward http request to a proxy server?

I have an Internet Linux server and my client computer (running windows) accesses internet via a SSH tunnel to the the server. Now for some reason this server can only accesses internet by a http ...
2
votes
2answers
135 views

How to recreate a file with VIM?

I have myfile.txt with some text. If I type vim myfile.txt it opens the file. Is there some parameter for vim to delete the old file and create an empty new one? For example vim -recreate myfile.txt ...
0
votes
0answers
19 views

Make wget cache DNS resolution results

I'm using wget in a script to download a changing file from Dropbox: wget -4 -O filename.ext "https://www.dropbox.com/s/<fixed-hash-id>/filename.ext?dl=1" I notice that wget resolves the IP ...
0
votes
0answers
19 views

How to log out a linux user after certain number of keystrokes?

If I want to limit how much a user can type per session, so they take breaks, how can I monitor their keystrokes and log them out after, say, 10k keystrokes?
1
vote
0answers
18 views

How to run multiple servers on a Linux machine?

I have the capability to SSH into a Linux machine hosted on a server. Is there a possibility that I can install multiple servers on the same machine - say Apache and NodeJS? Is there a tool/app that I ...
1
vote
1answer
32 views

Kali Linux won't boot from GUI

Been working with Kali Linux for over a month. Updated some wheezy & Deb source list. Everything was working fine even with the unsupported sources! But when I tried to install NVIDIA ATI drivers, ...
0
votes
1answer
17 views

forensic disk image of randomly disconnecting disk

I'm currently aquiring a disk image for data recovery, however the disk is malfunctioning and is randomly disconnecting during the acquisition. I'm using the linux "dd utility" with conv=noerror,sync ...
2
votes
0answers
16 views

How to remove tty[7-63]?

I have an embedded system, a beaglebone black to be specific. This SBC runs Debian wheezy 7.4, and a custom 3.8.x kernel. Patched for this hardware. Anyway, the title pretty much says it all. I can ...
0
votes
0answers
6 views

Macbook resizeVolume and rEFInd won't work

I am on a macbook pro, late 2012. I had installed linux on my mac on a separate partition which I created using diskutil. Then I formatted my mac one day and now everything seems to have changed. I ...
1
vote
1answer
34 views

cp: cannot stat : No such file or directory

I am getting an error when I try to copy a file from my local computer to a remote server. I get the same error whether I use cp or scp. Here is my input at the resulting error: ...
0
votes
1answer
13 views

How to touch a file if another file changes

I'm looking for something like an event listener on the file system. I want to touch a file (restart.txt to signal Phsuion Passenger to restart) everytime I save another file. Does anyone know how to ...
0
votes
0answers
16 views

Format ext3 partition to NTFS and merge it with another one in Windows 8.1

A few months ago I had Linux and Windows OS on one HDD. Now I don't use the Linux and I want to format the partition to NTFS and merge it with the Windows one or at least be able to use it with ...
0
votes
0answers
4 views

I want to configure Apache with gnutls on debian : why connexion is still clear?

I'm using sid debian. I simply installed mod_gnutls I run a2enmod gnutls I enable the installed site. I restart apache, and https://localhost/ is not working but http://localhost:443/ works. ...
1
vote
1answer
30 views

The first visit to any site takes forever to load

I suspect I might have a DNS problem. Whenever I try to access any website at all, it will take dozens of seconds to load in the first time. Any subsequent access will load just fine. If I try to ...
0
votes
1answer
28 views

How can I run an application on my PC but isolated and portable so I can switch PCs when needed [duplicate]

I was looking at dongle mini PCs. I can't seem to find much information on them. What I would like to do is plug in a dongle PC and run an application on it. It would be perfect if it opens up a ...
0
votes
0answers
23 views

Run script on SSH login to server

I'm trying to work out how to get SSH to run a script before passing a shell to me. The reason for this is that I will be logging into shared users on many boxes and I want my own configuration when I ...
0
votes
0answers
14 views

Create shortcut for Konsole with stylesheet

I'm using Konsole, and i have this wonderful stylesheet that colors the active tab >> cat ~/tab.qss QTabBar::tab:selected, QTabBar::tab:hover { background: #99BDDA; } QTabBar::tab:selected ...
0
votes
2answers
27 views

Cloning an image to a microSD card

I'm trying to set up a Linux system to boot off of a microSD card, connected via a USB card reader, and I'm trying to clone my existing Linux system image to the microSD card using Partmiage. Every ...
0
votes
1answer
25 views

I get errors including “apache config test fails, aborting” when trying to create a subdomain. What do I do?

I just made a change to the httpd.conf file. The reason I did this is I'm trying to set up a subdomain. I now would like to restart apache2, but when I try to restart I run into a slew of errors. ...
0
votes
0answers
3 views

What are btrfs snapshot and subvolume restrictions speaking in terms of read/write access instead of access and data sharing?

The btrfs subvolume manpage tries to explain which type of access is granted to btrfs subvolumes and snapshots. Unfortunately it exclusively uses terms like "access", "use just like a directory" and ...
0
votes
0answers
18 views

Backing up encrypted bitlocker drive

Is it possible to backup bitlocker drives without decrypting them? (just to have backup that is already encrypted?) would it be possible to just dd (linux command) whole drive/parition into an image ...
0
votes
1answer
25 views

OSX bash command line countdown timer

I found here on superuser the following nice countdown script that I could include in my .bash_profile: function countdown(){ date1=$((`date +%s` + $1)); while [ "$date1" -ne `date +%s` ...
0
votes
0answers
22 views

Mount error(5):Input/output error on mount

I am getting mount error (5): Input output error on mounting to cifs windows share. Command executed: sudo /bin/mount -t cifs //server/folder /mnt/folder/ -o ...
1
vote
1answer
29 views

How to resolve rpm dependencies

I am trying to install libtirpc on RHEL 6.5 but it fails and asks for dependencies. Why here it is showing three GLIBC versions 2.14, 2.15 and 2.16. ?? Does it mean that any of these three versions ...
0
votes
1answer
12 views

How to hide subdirectories within chrooted directory from users who don't have access

Apologies if this problem has been answered before / elsewhere. I've had a hunt around but am unable to find anything. If so please point me in the right direction. I'm running a linux ftp server ...