0
votes
0answers
32 views

Is there anyway to download an entire RHEL repo from windows?

I have a number of offline machines RedHat machines that I need to update, and I have an active RedHat subscription for all of them. I am unable to get an internet connection to these machines so I ...
1
vote
1answer
37 views

How to permit any user (mysql, apache, etc) to use any TCP or UDP port?

How can I ensure that all ports are open to any user? Currently ports 1 to 1024 are reserved for "root" only. Although I am not sure why "apache" is capable of using port "80" if this port too is ...
1
vote
1answer
28 views

How to migrate from Proxmox to VMWare?

I am wondering how it is possible to migrate a full hardware VM in Proxmox (qemu) to a full hardware VM in VMWare (vmdk). I have been searching all over the place, and it seems almost impossible to ...
2
votes
1answer
26 views

Serving webpages with Apache on Ubuntu server

I've set up an old machine running Ubuntu server 13.1. I can access it remotely with webmin and I was able to install apache that way. What I would like to be able to do is to put web pages and be ...
1
vote
1answer
47 views

Is there a Software-Center (like in Ubuntu) in Debian?

I wondered if there is some easy to use Software-Center in Debian as well. (You can search and install software easily with it.) Software Center The program can be used to add and manage ...
12
votes
2answers
880 views

Coloring different sources for tail

I'm watching different logs by tail -q -f /var/log/syslog -f /var/log/fail2ban.log -f /var/log/nginx/error.log How can I have the output of each log colored differently?
3
votes
1answer
21 views

Mounted volume name in terminal is different from in GUI

The basic problem is that in the GUI shows a directory name with no space but when I cd to it in the terminal, the directory name has a space in it. What would cause the names to be different? The ...
3
votes
2answers
47 views

Disable bash's cache of executables in the path

On the rare occasions that I notice bash's cache of things that it has found in the path, it's not because it's helpful, it's because it's bloody annoying. An example: ~ dc$ export ...
0
votes
3answers
30 views

Redirect domains to different ports on same machine

I used the following command to redirect 80 to 3000. All the requests that come, from any domain, are redirected to 3000: sudo iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port ...
1
vote
3answers
33 views

bash/shell pathname expansion for mkdir, touch etc?

So doing something like this in bash and most other shells won't work to create multiple subdirectories or files within subdirectories... mkdir */test touch */hello.txt There are of course many ...
1
vote
2answers
33 views

Why asterisk in command result in for loop is expanding?

I want to write a script that will run git diff --name-status master..<BRANCH> but when I run this: for i in $(git branch | grep -v master); do echo $i; done I get echo one directory ...
2
votes
1answer
26 views

Calculate Apache's response time for last 10 seconds

I have the next apache's log format: LogFormat "%h %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" where's %D - The time taken to serve the request, in microseconds. I want to ...
1
vote
0answers
18 views

Image size with gscan2pdf and ImageMagick `convert` bloat

I scan all my important incoming physical-mail to PDF. I am trying to move this activity to Linux as part of the process of eliminating my dependence on Windows - where I used to use the excellent but ...
1
vote
0answers
15 views

MongoDB “service” on clean Redhat can not be started

I just bring up Redhat 6.5 64-bit from AWS and did the below things: Disabled SELinux Disabled Iptables All ports opened in Security Group Rebooted Then i just followed, both of the below ...
0
votes
0answers
17 views

pam.d password hardening: nullok

In most all pam.d documentation or linux distributions that I saw, the recommend "secure" configuration for password is the following: password required pam_unix.so sha512 shadow nullok ...
0
votes
1answer
13 views

PPTP VPN client connectivity not working

I am trying to connect to my VPN from my tonidoplug. I followed the steps found in PPTP Client. But I am getting the below error now: $ sudo pon codeme debug dump logfd 2 nodetach Couldn't open the ...
0
votes
0answers
7 views

log freeradius ip address with username

i configured a mikrotik with linux(freeradius+rsyslog+mysql) to authenticate and log users activity. now i want to log users visited urls, but only ip addresses of users and visited urls are logged. ...
0
votes
4answers
54 views

How print only the current logged in “root” user IP address?

Currently I can see my (root) IP address on top of the output for this command: last But what I want is just that the IP address is printed out to me in a clean way. root pts/1 1.1.1.1 ...
0
votes
1answer
30 views

Balance outgoing traffic

I'm running on Debian. I have an application that runs on localhost and listens for incoming connections with a port range from 10000 to 11000. I want to use a tool like a traffic balancer that runs ...
0
votes
0answers
19 views

linuxrescue — **RESCUE**] : Edit /mnt/grub/grub.conf and boot normally?

It turns out when my linux starts in RESCUE MODE as in.. [linuxrescue -- **RESCUE**]# it probably starts in a 32 bit environment rather than a 64 bit environment and thus.. when i do these.. ...
0
votes
1answer
40 views

How to edit /etc/sysconfig/iptables from: RESCUE MODE boot?

Let's say the /etc/sysconfig/iptables needs to be edited because, due to it I can not ssh to my server. I start my server in "Rescue Mode", but when i login, there is no such thing as ...
1
vote
1answer
56 views

Why doesn't this piped script work?

#!/bin/bash rm out mkfifo out nc -l 8080 < out | while read line do echo hello > out echo $line done If I browse to the IP of the machine this script is running on (using port ...
1
vote
3answers
29 views

Trouble in adding a column with awk

I'm trying to add a column to a csv file by using: awk -F "," '{print $0"new_col"}' file.csv but I got : new_col8,0.405,0.101 new_col4,0.374,0.100 new_col23,0.342,0.100 new_col130,0.298,0.100 ...
0
votes
3answers
41 views

Replace specific text only in specific fields using nawk

My input data file abc.txt has this "20131008","0004","0568","98" I ran this command to replace the text nawk -F, -vOFS=',' '{gsub("0568","0808",$3); print }' abc.txt In the output the ...
1
vote
0answers
18 views

How to get notification from upower when UPS is on battery

I have a Fedora Core 19 system powered via a desk-side UPS. I've connected the UPS' USP port to the FC19 system, and it was apparently recognized, as upower -d now reports its presence: ups ...
1
vote
1answer
31 views

Listing audio files with bit rate in the command line

Is there a way to list the contents of a folder via the command line in such a way that the audio files in mp3 format have the bit rate info? I tried ls -l but it doesn't work. Thanks.
0
votes
0answers
19 views

File manager that shows bit rate for mp3 files (Part 2) [duplicate]

A couple of hours ago I asked this question: File manager that shows bit rate for mp3 files. Since I am new to this site I cannot make comments on it, so I cannot ask for additional help and am forced ...
1
vote
0answers
18 views

Disable processor speed changes on AC vs battery [on hold]

My Toshiba Satellite L300 laptop freezes when I plug in the AC power cord. The problem is, whenever the processor goes in power management or downclocks, the system freezes and shows colorful ...
0
votes
0answers
15 views

Authenticating To Multiple LDAP Servers

Owing to a corporate strategy I am moving human user authentication from an implementation of LDAP locally to a centralized Active Directory domain. The problem is that we have a tightly constrained ...
0
votes
0answers
21 views

linux mint - loud system beep on laptop

I installed the newest Linux mint on My BTO W271EU laptop. All Works well, for a couple of minutes. Then the system beeps start. Really loud and continuously. Other symptoms are a flashing caps Lock ...
2
votes
3answers
43 views

bash: dynamic environment control

I have an application which modifies environment variables. The intent is to launch a bash shell with a modified context-specific environment. When my application modifies the environment, and ...
1
vote
1answer
70 views

Determine if zfs is the actual filesystem [on hold]

With Solaris 11 the default filesystem should be zfs, but following the official guide I obtained (with cat /etc/default/fs) LOCAL=ufs Is this an error? I thought that the same information was in ...
1
vote
0answers
8 views

How to install mutliple PHP instances and configure for Apache

I need to upgrade my PHP installation on CentOS 6 from 5.3 to 5.5. While I have a couple of webprojects running I like first to install the new PHP in parallel and switch back to the old one if ...
0
votes
1answer
9 views

How to set GTK icon theme in i3?

How to change icon theme in i3? If this matters, I'm working on Arch Linux. I googled, but I can only find info about GTK theme, not icons.
2
votes
4answers
37 views

How can I run a GUI on my server through SSH? [duplicate]

Most people want to be able to forward a window through ssh to the machine they're logging in from. I want to do the opposite. I'm on my desktop and I'm logging in via ssh to my server. The server is ...
1
vote
1answer
39 views

File manager that shows bit rate for mp3 files

I am a Fedora user and my current file manager is Thunar. The OS is quite nice but I am not satisfied with Thunar. There are a lot of features I think it's lacking but mainly I am missing more ...
1
vote
3answers
125 views

xargs line too long

I am trying to remove all files that have a hexadecimal digit in the first two digits, so I am using the following expression: ls | grep -Z '^[0-9a-f][0-9a-f]' | xargs -0 rm However, the terminal ...
0
votes
0answers
31 views

Redhat / Centos 7 Firewalld rule set for either a pptp or L2TP/IPsec vpn

Having a quick look at Centos 7, and though I'd spin up a VPN daemon or 3, but immediately discovered the usual packages aren't yet in the core repositories, so had to dig around and found the ...
1
vote
1answer
28 views

'E:The package linux-headers-3.5.0-54 needs to be reinstalled, but I can't find an archive for it. ' when upgrading the system

I am using Ubuntu 12.04, and I try to upgrade to 14.04.1 using the terminal using: do-release-upgrade but I keep getting the following error: SystemError: E:The package linux-headers-3.5.0-54 ...
-1
votes
2answers
63 views

Domain Name problems in CentOS hosted under VirtualBox

When I ping www.google.com I get: [root@ryanPC ~]# ping www.google.com ping: unknown host www.google.com Also, when I run ping -n 8.8.8.8, I get: connect: Network is unreachable So I have ran the ...
1
vote
0answers
25 views

mailing thru ssh

(I am a Linux only user & MELT software developer, and use Linux since kernel 0.99.15 e.g. the previous century) I have a VPS host ovh.starynkevitch.net (running Linux) which is also the MX host ...
1
vote
0answers
44 views

How can I replace root / filesystem with another filesystem?

When the Linux kernel starts up, it uses initrd as the root / filesystem, then replaces that with a filesystem partition in fstab. Based on a test in an early init script, I want to replace that root ...
0
votes
0answers
29 views

Correct way to update config files [on hold]

We have an application that we have to frequently re-deploy to installations once it's updated. Often when we do this, the problem arises "Did we add something new to ini file?" "Did we remove some ...
1
vote
1answer
27 views

Can't boot slackware after installation. Liloconfig not found

I just installed my first linux distro: slackware. The installation went fine. I followed this guy's tutorial for the setup: https://www.youtube.com/watch?v=DdwZylEQcQ0 And this guy's tutorial for ...
0
votes
0answers
20 views

Compilation of openwrt in ubuntu [on hold]

I was following the tutorial on this Link in the step where I create the menuconfig I type in the command make defconfig It shows the error saying permission denied to delete ./tmp/X file. so I ...
0
votes
1answer
26 views

What are the differences between socket polling mechanisms of kqueue and epolling?

kqueue socket polling mechanism is used in FreeBSD and epolling in Linux. I would like to know what are the differences between the two mechanisms?
1
vote
1answer
75 views

Reboot when no network connection does not work!

I have a Raspberry Pi that I use as a NAS for my local network. It works fine, but when I turn off the router to which the pi is connected, it permanently loses the connection. To be able to connect ...
5
votes
4answers
415 views

How can I “lazily” read output from xrandr?

I have a bash script that I use to adjust my monitor brightness that uses xrandr --verbose to get the current brightness. It works fine, but using xrandr is kind of slow on my machine, as you can see ...
0
votes
2answers
13 views

Cannot find Nvidia driver with pacman

I am following this: https://wiki.archlinux.org/index.php/Nvidia#Installing The command pacman -S nvidia fails with error: target not found: nvidia, indeed, even packman -Ss nvidia to search for it ...
3
votes
3answers
79 views

Solaris bash script uses /usr/sun/bin/sed instead of /usr/bin/sed

I'm using a script for Linux and for Solaris (Nexenta). This line works on Linux, but not on solaris (but when run from shell it works): cat "pg_hba.conf" | sed "0,/^local/{s/md5/trust/}" The ...

15 30 50 per page