0
votes
0answers
2 views

Installation of MySQL 5.7 on Debian 8 fails

I have a problem installing MySQL 5.7. I downloaded the file here with windows and put it with ftp in the temp directory of my server, because wget always timed out. Then I executed sudo dpkg -i /...
0
votes
0answers
3 views

Validate Upstart conf File without init-checkconf?

Using RHEL 6.7, I'd like to validate my Upstart conf file. However, I don't have: init-checkconf. How can I check the syntax of my conf file?
0
votes
0answers
1 view

Trouble getting Nvidia 960m to work on a Inpsiron 7559

I have tried to install bumblebee but its performance is so poor, and I have tried Nvidia Optimus but I get black screen. Note: I have 4k touch screen. ➜ ~ lspci | grep -E '3D|VGA' 00:02.0 VGA ...
0
votes
0answers
6 views

Need some help trouble shooting

I realise this is probably a bad question but I'm stuck after a lot of googling I'm struggling to fix the problem. I've been try to get apparmor to work on debian. I've been following the instructions ...
0
votes
0answers
6 views

How to decode character to utf-8 at specific position

I have a python script, in which there is a dictionary. For some reason, I need to convert dictionary to json. But, whenever script executed, It gives below error UnicodeDecodeError: 'utf8' codec can'...
0
votes
0answers
7 views

Secure LAMP server

I need to systematically secure/harden my LAMP server, Apache Postfix vsftpd MySQL sshd .. I have taken rudimentary steps; such as changing the port for sshd and using SSL for my site. But I need ...
0
votes
1answer
7 views

deferring argument in “alias” in .bshrc

I am a dumb user, who works with LINUX (ubuntu 14) My newly purchased laptop forces me to use bash-shell, and it has .bshrc. I used to use C-shell before that and tried to copy its aliases from .cshrc ...
0
votes
1answer
13 views

Why are not all permitted capabilities of a linux process effective all the time?

man 7 capabilities documents that the capabilities of a process on a linux box are recored a set of three masks: permitted effective inheritable I have an idea to what extend the inheritable mask ...
0
votes
0answers
11 views

How do I make installed packages global on Debian Jessie

I have install git on Debian Jessie successfully, but when I want to install dependencies from packages.json that require git, IO get the error that git is not found in that directory. I wish to know ...
1
vote
2answers
27 views

awk / sed / etc. concatenating colums in one file

I wonder what is a simpler way to do this: awk 'NR > 1 {print $1"\t"$2"\t"$3"\t"$4"\t"$5"\t"$6"\t"$7"\t"$8"\t"$9$10$11$12$13$14$15$16}' file.in > file.out which is simply speaking " ...
2
votes
0answers
9 views

realm command doesn't work correctly when used in script (CentOS 7)

I try to automate the authentication on CentOS 7 Hosts over my AD with the realm commands. It totally works when I execute the following commands by myself. $ yum -y install realmd oddjob oddjob-...
0
votes
0answers
5 views

Why cannot I ping an xen domU through the bridge?

I am on a Debian upgraded from 7.11 to 8.5, so the xen package is upgraded from 4.1 to 4.4. I do not know much about networks, but when I see a diagram like this (taken from the Xen Networking wiki ...
0
votes
0answers
2 views

Samsung r580 with Manjaro: backlight doesn't changes

I have a Samsung laptop r580 with radeon hd 5 series. I installed Manjaro but I can't change the backlight. I installed ati-catalyst drivers. I tried set grub parameters to acpi_backlight=vendor (it ...
1
vote
2answers
18 views

Rsync pull from /home/*/ to same dir

Running the following command: /usr/bin/rsync -avuz --rsh=ssh --temp-dir=/tmp --port=55556 --rsync-path=/usr/bin/rsync REMOTEIP:/home/*/mail/ /home/*/mail > /var/log/rsync/test.log 2>&1 ...
0
votes
2answers
24 views

Take input from one file and add to other file in particular column

We have two files 159 149 and 2e49.pem,Apr 29 07:07:13 2017 GMT,275 2f69.pem,Apr 29 07:18:21 2017 GMT,275 I want to replace the last word, 275, in the second file with the corresponding line ...
-1
votes
0answers
7 views

Doubt regarding the installation of tor on kali linux 2016.1

Hi I have installed Kali 2016.1 64bit on my vmware and after that I have updated the system. I also installed tor that seems to have installed successully.Now when I execute the command "service tor ...
0
votes
0answers
14 views

How to escape special characters in gnu sed? [duplicate]

I have variables in shell: VAR_IN='Unsafe \t \ string I don't control.' VAR_OUT='some output' I need to change every VAR_IN to VAR_OUT in a stream. Idea is to: sed "s/$VAR_IN/$VAR_OUT/g" # this ...
0
votes
0answers
10 views

Backup with GRYNC and RSYNC CentOS 6.X

I want to use Rsync or Grsync to backup my UNIX/Linux boxes. I have been trying to set it it up for some time. I have setup GRSYNC and installed the packages for rsync. I tried grsync and im getting ...
-2
votes
0answers
27 views

Shell script to create file by referring to other files [on hold]

Can anyone please help write a shell script? I have a CSV file as shown below in comma-separated format, named namedomainmachine.txt A,B,C D,E,F (that means: name, domain, machine) There is ...
3
votes
2answers
135 views

Command works at the command-line, but won't work in a shell script

I am creating a script and when I try to capture a command return, I have an error of command not found, if I use this command on the terminal: gcloud -q compute snapshots list --format='csv(NAME)' ...
1
vote
1answer
11 views

kali linux - WiFi connected but can't surf the net

Preface #1 : I'm not using a Virtual Machine Preface #2 : during the installazion I skipped the Network Mirror step Preface #3 : I never used Linux before I have a laptop and I can connect ...
-1
votes
0answers
6 views

Android root not working [migrated]

I tried rooting my intex aqua y2 1gb using kingo root. It said root was successful and superuser app was installed. I was able to delete system apps using kingo super user. But when I try to run su ...
0
votes
0answers
7 views

Node modules deploy on linux

I'd like to know what's the best way to deploy a website using node_modules... When I do du -sh node_modules, I get 400 MO. Is there any solutions to compress node_modules ?
0
votes
0answers
20 views

Count repeated patterns [on hold]

If The Pattern in file repeats I want to display its COUNT like Count Of ABC is 2, Count Of ADC is 3, Count of ABDG is 2, ... file line 1: ABC ABC ADC line 2 : ADC ADC ADC line 3 : ABD ...
0
votes
1answer
16 views

Ubuntu wifi connects and works for 5 minutes then stops working while remaining connected, need help

so, a few months ago i decided i wanted to make the switch to linux on my laptop, but to play it safe, i chose to dual boot. right now i have my 1TB hard drive split even between ubuntu 14.04 and ...
0
votes
2answers
23 views

add lines for each 3 lines [duplicate]

I have a document like this 1 0.2 1 0.3 1 0.1 2 0.8 2 0.5 2 0.3 I want to add the lines if the first column are the same and output something like this 1 0.6 2 1.6 How can I do this with awk? Or ...
0
votes
0answers
10 views

Two GRUB boot loaders installed on separate partitions, the UEFI Setup (“BIOS”) only sees the second, and the second does not see the other one

I have installed Ubuntu and Linux Mint on separate partitions of a hard drive, with two other partitions to be mounted as /boot (one for each), and during the installation I chose for each of the two ...
0
votes
1answer
12 views

Why is fdisk not returning anything inside LXD container

I am little confused , i have a lxc container and if i do lsusb inside the conatiner i get the following output root@blunt01:/dev/bus/usb/002# lsusb Bus 002 Device 004: ID 0424:2512 Standard ...
1
vote
0answers
19 views

Turn off camera driver in Android programmatically?

How can I turn off camera driver in Android programmatically? According to this website, and the image below, there's a camera driver inside the linux kernel. Is there a way to disable it temporarily?...
0
votes
1answer
8 views

Rsyslog conditionally raise severity with filemonitoring not working

The following rsyslog configuration is used to monitor the apache access file. # Apache access file: $InputFileName /var/log/apache2/access.log $InputFileTag apache-access: $InputFileStateFile stat-...
1
vote
1answer
14 views

how does a google cloud compute generated SSH key lookup the VPS instance?

If I manually create a key, rather than using the gcloud CLI console, can I also configure the public key so that it will look-up the connection as this config seemingly does: thufir@mordor:~$ ...
0
votes
0answers
16 views

centos gdrive script, upload to new folder

I'm using https://github.com/prasmussen/gdrive Hello, I'm trying to run a daily script that creates a folder in Google Drive and then uploads a bunch of tar archives in it. So far I can create the ...
0
votes
1answer
41 views

Is it possible to put an if statement within an If statements like so?

As my title suggest I'm trying to put an if statement within an if statement. It seems to work until the last echo command in the script which doesn't print. For testing I have created a directory ...
0
votes
0answers
20 views

How do I append a SSH key with JSON for Google cloud compute VPS?

For the following dummy key, in relation to adding ssh keys to a google compute cloud project: thufir@mordor:~$ thufir@mordor:~$ ssh-keygen -t rsa -b 768 -f ~/.ssh/gcloud -C thufir Generating public/...
0
votes
0answers
9 views

How to pass the path to initramf.img to the kernel with refind?

I want to use an initramfs.img that is located on an USB device but I can't quite find the kernel parameter that can do that, any idea ?
0
votes
0answers
15 views

Changing useradd configuration for primary group assignment doesn't work

I need to change the adduser default behavior to assign a certain group for new users. I've changed the USERGROUPS_ENAB variable to no in /etc/login.defs file: USERGROUPS_ENAB no And I've set the ...
0
votes
0answers
7 views

How to make an initramfs-linux.img bootable?

I basically want to put my initramfs on a usb device but UEFI or refind won't detect it as bootable. I think I need to add a .efi pointing to that initramfs file on that same usb device. Any idea how ...
2
votes
1answer
28 views

Does converting directory to an iso file make it bootable image

I extracted an ISO file to a directory. Now I want to make that extract files bootable again. Will converting it to .iso make it bootable?
0
votes
0answers
10 views

Updating kali over https

I'm using my college's wifi to update my Kali system but it's unable to fetch any data for some reason. I'm sure that the firewall doesn't block Kali.org because I tried opening it in my web browser ...
0
votes
0answers
8 views

Tell guest OS to use my dockerized mail server to send email

I have postfix running in a Docker container. A cronjob try to send email, but reply “(CRON) info (No MTA installed, discarding output)” error in the syslog According to this link, the solution is ...
1
vote
1answer
16 views

How to delete default route with iproute2

I used NetworkManager to connect to a openVPN server. It is configured such that all traffic passes through the VPN: > ip route default via 10.4.4.73 dev tun0 proto static ...
0
votes
1answer
24 views

how to change the default CC command on mac os?

export PATH=./ndk_tools/bin/:${PATH} export CC=arm-linux-androideabi-gcc export CXX=arm-linux-androideabi-g++ echo \ "$CC" CC --version I use the script to change the default CC command, but it ...
0
votes
1answer
8 views

Is it possible to play audio from two X servers in two TTYs simultaneously?

I've found that for some games, the interaction with my window manager is such a headache that it's easier to run them in a non-compositing WM in a TTY. What I'd like to know is whether it's possible ...
0
votes
0answers
13 views

Wicd asking for password at startup

Wicd suddenly started to ask for password at startup, "Wicd needs to access your computer's network cards" sometimes followed by this error messages: "Could not connect to wicd's D-Bus ...
1
vote
0answers
36 views

Add user to other user's primary group

I have a user tom whose primary group is also tom. I'd like to add another user jerry to that group. Running $ sudo usermod -a -G tom jerry has no effect at all (also after logging out and back in ...
0
votes
0answers
10 views

Failed to start X server

I had a problem with HDD that lead to the system not booting after fixing that and fixing the boot loader I ended up with a failed to start X server. At boot time I got failed to start X display ...
0
votes
0answers
13 views

How to set my own ipaddress for centos 7 via virtual machine [on hold]

Guys i am new to linux i have installed centos 7 via virtual machine in my laptop. But laptop changes one place to another for working. can set my own ipaddress for not change from place to place. I ...
0
votes
0answers
9 views

XScreenSaver: 1-2 seconds delay within which my laptop isn't locked

I want my screen to lock automatically and I'm using XScreenSaver. It locks the screen when my laptop suspends but when open the lid or press the power button, there's a small, 1-2 seconds delay and ...
0
votes
0answers
8 views

why hibernate button was lost in the linuxmint-18's menu list?

I'm new to linuxmint 18 for several weeks, when I start my computer and click the menu button, then click the shutdown button (left-bottom corner), it alert these choices: choices with hibernate ...
1
vote
1answer
35 views

escaping filename results from grep

How do I escape the output of grep so that bash can read the file names correctly? I have a text file that is the output of a find command. For each line, I want to make a symlink. For now, I'm just ...

15 30 50 per page