0
votes
0answers
4 views

How to improve Solaris Server Configuration

As a programmer I have limited knowledge of the ins and outs of Hardware configuration. I've been tasked with assisting in server tuning. I understand tuning a server for peek performance varies per ...
0
votes
0answers
4 views

What can possibly happen to a public SSH server?

I'm writing a console emulator in JQuery, which will connect to a server through SSH and dynamically send commands (through AJAX) and receive output. Basically it will be a remote ssh console on a ...
0
votes
0answers
4 views

PSCP - why can't it find the file when using non-admin credentials?

I am trying to make a batch script to get files from Windows vm to Ubuntu vm so I decided to use pscp. when I put pscp -l admin -pw pswd C:\path admin@IP:/path the files transfer fine but I don't ...
0
votes
0answers
5 views

Problem in writing to a File after Power on/off?

I am writing the content of my script to a .log file using > operator. I am doing it on a Raspberry Pi. After a Power on/off if I try to execute the script it doesn't write to the file. I then ...
0
votes
0answers
2 views

What does the process /usr//libexec/packagekitd do?

This process keeps hogging my bandwidth: What does this process do? Is it safe to kill it? Is is safe to remove the package as a whole( to prevent it from starting up ever again) Or should I just ...
0
votes
0answers
2 views

How to encrypt a drive with a system and data already on it?

Is there a way to encrypt all partitions of a running drive without erasing anything?
0
votes
1answer
6 views

pointing Linux DNS server from one sub domain to another subdomain

I have DNS server to my domain abc.com. Need to point my sub domain xx.abc.com to another subdomain xx.def.com. As it's hosted in xx.def.com, I will get any IP, so they will provide only subdomain ...
1
vote
1answer
14 views

copy array with array name inside string in bash

In bash 4.3 script, I have variables: environment="local" config_local=("a" "b" "b" "d") copy_from="config_${environment}" I want to copy values from array with name stored in copy_from to another ...
2
votes
1answer
8 views

Non-GUI based pin-entry for gpg

I'm in the process of remotely viewing and selecting hundreds of images, some of which are encrypted with a symmetric key. I log in to the remote desktop machine using ssh. The viewing is not fast, ...
0
votes
0answers
12 views

Hosted apache2 website visible on internet

I want to know how do I make a website visible on internet hosted in my local machine using apache2 as a web-server. I'm completely new about this topics, and the thing is (just for practice and learn ...
0
votes
1answer
9 views

extend Disk space

i want extend my disk space : #df -h Filesystem Size Used Avail Use% Mounted on udev 10M 0 10M 0% /dev tmpfs 403M 17M 387M 4% /run /dev/sda1 19G 18G ...
0
votes
0answers
7 views

Qemu/KVM, windows guest password prompt

Ubuntu 16.04 Qemu/KVM Windows 8.1 guest SSH from remote host into hypervisor, run virt-manager. Get prompted for creds: user1@hypervisor, authenticate successfully. Open guest, get prompted for ...
1
vote
2answers
25 views

how to move set of files in one-liner

I wanted to move 1000 files in a directory to another dir. I can do it if I'm in the original dir but if I try this mv $(ls /home/jeremy/source|tail -1000) /home/jeremy/dest from elsewhere, the ...
1
vote
0answers
12 views

non-blocking/multi-threaded cat

cat is blocking from what I see in the code, i.e. it uses blocking read() and then it uses blocking write(). I want to call some tool where I disable all stdout buffering by purpose (e.g. like ...
1
vote
0answers
12 views

fedora 24 won't boot after dnf upgrade

Last night i did a upgrade on my fedora 24 alpha install and when booting first time today i just ended up with a black screen. Then i tried booting into rescue mode, which left me with a shell after ...
0
votes
1answer
5 views

How do I change the location where screenshots are saved in Linux Mint 17 Cinnamon?

Pressing PrnScr "Print Screen" on the keyboard results in a screenshot being silently saved under /home/%user%/Pictures/ How can I change this location?
1
vote
0answers
6 views

stdbuf supposed behavior for subprocesses

I didn't exactly find something about the following in the man-page. How is the supposed behavior in subprocesses spawned by a process which was itself spawned by stdbuf? E.g.: stdbuf -oL myprog ...
0
votes
1answer
25 views

In UNIX, how do I send a file back to it's original location after outputting it somewhere else?

If I send a file into a directory using an output, is there a way to bring that file back to it's original location using a shell script?
0
votes
0answers
3 views

How can I prevent imwheel from allowing some scrolling events to “pass-through”?

After much troubleshooting, I finally found a way to map Shift+Mouse-wheel to horizontal scroll, using imwheel. The pertinent part in ~/.imwheelrc is as follows. ".*" Shift_L, Up, Button6, 10 ...
3
votes
1answer
55 views

Cloned system + network interfaces

I'm currently in a little bit of a pickle. I've made an image of my system and I have given it to someone to run. They have successfully flushed their system with the image and are running it. The ...
1
vote
0answers
10 views

Can not start wifi with systemd

With command netctl start wlp3s0-tian got error. But while I use these command manually start wpa_supplicant and dhcpcd, no problem occurs: sudo ip link set wlp3s0 up wpa_passphrase tian `sudo cat ...
1
vote
0answers
8 views

How to reconfigure grub on a backed up arch linux on a USB flash disk

i managed to back up my arch linux suing rsync : # rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /run/media/username/archlinux edited ...
0
votes
0answers
30 views

Run sh script at system startup - Red Hat 7.2

I searched the Internet but there are too much different opinions about this issue. I have two scripts to run. One to run at system startup (not at system reboot as I read in some posts) and another ...
1
vote
0answers
10 views

Sudden problem with a rack/passenger ruby app: “Connection closed”

I have a Ruby 1.8.7 app which runs under Phusion Passenger and Nginx, for one of my clients, on an Ubuntu VPS. It's been ticking away happily for years, but yesterday ran out of log space (sending me ...
0
votes
0answers
12 views

set swap space to 0 on RHEL for testing

I have tried to change the swappiness to 100, and used the malloc() code in order to set the swap to 0 on my rhel system But this not seem to be helpful . The system memory allocation looks like this ...
0
votes
1answer
13 views

how shall i rsync changes in directory structure without actually recopying

I had the folder structure as below ./a/b/c_file synced to the destination ./a/b/c_file Now I changed the structure in source as ./a/d/e/c_file. But rsync seems to be delete the old directory ...
0
votes
0answers
17 views

Is there a way to monitor disk i/o patterns? (i.e. random or sequential i/o?)

While an application is running, I can monitor disk bandwidth usage using linux tools including dstat. Now I'd like to know whether how many sequential or random disk I/Os are occurring in the ...
0
votes
2answers
31 views

How to see and use the last paths used in Terminal? [duplicate]

I'm quite a newbe. I was wandering: is it possible to see the last paths used in terminal (bash, whatever.., I use a Mac), something like what you do with recent commands? I often use the terminal on ...
0
votes
0answers
17 views

Linux is crashing without throwing core dump or error message

I am working on a development board to make custom linux working(built through Yocto) on it. Right now, I am facing very weird issue. System boots and after some time it hangs and restarts without any ...
1
vote
1answer
21 views

Installing Linux on spare SSD

I installed linux distribution (a debian-based one,called pardus) on HP EliteBook Folio 1040 G2 Notebook PC (http://store.hp.com/us/en/pdp/Laptops/hp-elitebook-folio-1040-g2-f6r38av-1) and it has a ...
1
vote
0answers
8 views

Resolve NetBIOS Names via Samba 4.4

Through StackExchange, we knew how to configure Linux to resolve NetBIOS names, and I have configured my system in those ways. (I have installed winbind, configured my /etc/nsswitch.conf correctly and ...
-1
votes
0answers
9 views

List files in unmountable but recoverable BTRFS partition

I have a NAS running Debian with an unmountable BTRFS partition on RAID5. I do not know the exact cause of the probem and Googling the errors from the logs leads no results. Apparently ...
0
votes
0answers
11 views

Trouble Creating Virtual_IP for PaceMaker + Corosync - CentOS 7

Ok so I have gotten fairly far into the configuration successfully, the two nodes have authenticated each other and all is well, but when I try to add the virtual_ip it never starts. What i've used ...
0
votes
0answers
5 views

Store messages from previous boots while keeping immediate log output

As this answer suggests, the way to enable storing logs across boots is: # mkdir /var/log/journal # systemd-tmpfiles --create --prefix /var/log/journal # systemctl restart systemd-journald But when ...
-1
votes
0answers
17 views

GREP to sort a particular error log from server log [on hold]

I want to sort particular error log from server logs. I want to see when did it last happen , and how many times a day it happened. Thank you.
0
votes
0answers
22 views

How can I add linux grub entry in windows bootloader? [on hold]

While i am booting at startup my open suse grub will appear i want this linux entry into my windows bootloader. Like at the time of booting it would be windows boot manager showing two choices 1. ...
3
votes
2answers
21 views

Sudo-like remembrance of passwords for own scripts

I have a script which requires a password for authenticating a web service. A single password for a pre-defined user will suffice, and the password should if possible be stored securely (not plain ...
0
votes
1answer
12 views

openjdk 8 in kali linux [on hold]

Situation: We are currently working with java in school, every student in his own virtual machine. Mine usually was a windows 10 machine, but I switched to kali linux. (I don't really want to switch ...
0
votes
0answers
17 views

Installing Fedora 23 alongside Windows 10; EFI partition “not valid”

I have successfully installed Windows 10 on a 3-disk (hardware) RAID 0 setup, in a 150GB NTFS partition. As part of that, and because I booted my installation media in UEFI mode, the Windows installer ...
1
vote
2answers
26 views

Is firewalld the same as iptables?

I tried to close iptables on RHEL 7.2 using chkconfig iptables off error reading information on service iptables: No such file or directory tried /etc/init.d/iptables stop too, got ...
0
votes
0answers
13 views

I've added a new keyboard layout but the letters are still in English

I've added Japanese keyboard layout. However, when switch to it, it still types in English. Why is that? How can I type in Japanese characters, what should I install and how exactly?
0
votes
0answers
12 views

Can I get zsh to include the directory stack in tab completion for tilde (~)?

I have autocd, autopushd and pushdminus enabled. When I try tab completion with ~: $ ~<Tab> avahi ftp mail redsocks systemd-coredump systemd-timesync bin gdm nm-openvpn ...
0
votes
0answers
48 views

Minimum hardware requirement for Linux Firewall [on hold]

Normally what would the hardware requirement be for a ISP/Corporate Iptables/Pfsense Firewall? I have a throughput of 2GB, routing will be done on specialized hardware (router) , and the firewall will ...
0
votes
1answer
26 views

Dealing With A System Which Is Not Letting To LogIn Due To Open Permissions [duplicate]

A colleague of mine told me that after he executed the below command, he's not able to login to the system. No user can login via ssh. Only normal users can login over physical console of the ...
0
votes
0answers
10 views

What are all possible display types under xrandr?

I have found VGA , LVDS, HDMI and DVI. Is there any list containing name all kind of such outputs?
0
votes
3answers
21 views

split lines and print it to new line for certain character

I need to split lines and print it to next line when pattern match. Like I have: ABC123xxx:: 2345 ABC345yyy:: 5678 ABC986zzz:: 7955 And I want it to print to new line when ABC pattern will come: ...
1
vote
1answer
13 views

Mounting zpool (Solaris server and Freebsd client)

I have a Solaris with ZFS file system and NFS. I am kind of lost on how to export directories from the Solaris OS which has zfs via NFS? That way I can mount them on Freebsd client.
0
votes
2answers
15 views

How to understand ssh-keygen and ssh-copy-id?

As far as my understanding, machine(A) ssh-keygen generates a key, and ssh-copy-id gives this key to another machine (B), is it? But when this is done, to test whether this is done or not is using ...
0
votes
0answers
9 views

RHEL 7 Install - Main partition taking up entire allotted space + other problems

I hope this is the proper place to ask RHEL questions, I have already asked on the RHEL discussions area and have not gotten any replies after a week of posting. I am having a few problems in setting ...
0
votes
1answer
20 views

Script to get GET METHOD of HTTP REQUEST time in cycle

I want to run a script/command which with some interval (5 seconds) will make http request to certain site and shows the time of this request. At the same time I would like to set timeout for such ...

15 30 50 per page