Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ubuntu]

Please don't use this tag just because your system is running Ubuntu. Use it _only_ if your question is somehow specific to Ubuntu only. Note that https://askubuntu.com is specifically dedicated to Ubuntu questions.

0
votes
0answers
7 views

Tightvnc server

I have a VM in which I installed the VNC server (TightVNC) using the link : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-18-04 It is installed ...
-2
votes
0answers
11 views

Mounting on fstab

So i have create a file in /mnt which is called myfile.bin and i want to edit /etc/fstab to automount in /mnt/mymntname with write and read permissions for all users on the system.. my commmand: /...
0
votes
0answers
9 views

iptables forwarding incoming IP to another destination IP

server 1.1.1.1 client 2.2.2.2 client: 3.3.3.3 I have a server and two clients, in order to visualize all the trafic in my network from my client 2.2.2.2 i have to forward the trafic between my ...
0
votes
1answer
14 views

Ubuntu 14.04 install “old lamp” stack for penetration testing

I am preparing WAF video for my team and I want to test a sample ubuntu server which will be my victim. I'd like to install "old version" of packages and deploy Wordpress on top of it and use some ...
0
votes
0answers
18 views

How to setup swift in Ubuntu 18.10?

I like to try swift in combination with Eclipse + Tifig. I tried several ways: snap: snap install swift swift 4.0.3 from luis.nando (lf-araujo) installed swift /snap/swift/5/bin/swift: error while ...
-1
votes
1answer
23 views

kernel sysfs doens't recognize storage kobjects

using working ubuntu kernel 4.xx with ubuntu corresponding intitrd.img, with custom initramfs inspired by lfs (linux from scratch) initramfs. this kernel extract, and run init script successfully ...
1
vote
0answers
37 views

CPU frequency goes under 400MHz on the Intel Core

My Ubuntu keeps freezing randomly usually 10 seconds in five minutes and I thought this problem is related to CPU frequency, because based on the following script, it goes under 400MHz. The CPU is ...
0
votes
0answers
5 views

unable to stop unprivileged container using lxc-stop [ ubuntu 16.04 LTS, lxc version 2.0.8 ]

unable to stop the unprivileged container on ubuntu 16.04 LTS host with lxc-stop version 2.0.8 or 3.0.2. It hangs indefinitely. Also, there is no IP associated with the container when using lxc-ls or ...
-3
votes
0answers
47 views

/etc/fstab mounting filesystem from file [on hold]

I need to find the correct way to automatically mount from /etc/fstab. I have a file which is called /mnt/myfile.bin which contains an EXT2 filesystem and I want to configure /etc/fstab to ...
-4
votes
1answer
37 views

Creating 100 files [on hold]

So i want to create 100 files ( f1.txt - f100.txt ) and redirect in to the `/mnt/mydirectory and after that i want to add to this script pwgen 30 100 who generates 100 passwords each one with 30 ...
0
votes
0answers
17 views

Unable to boot into Ubuntu 18.04 [on hold]

I have a MacBook Pro 2012 on which I had Sierra installed. I partitioned my Samsung 1 TB SSD to dual boot into Ubuntu. When I installed Ubuntu, grub2 seems to have overwritten Apple’s bootloader. ...
-10
votes
0answers
38 views

bash script question [duplicate]

i need to make a script to do the following stuff: Number of arguments received in the command line. Numbers representing a power of 2, one per line, in the order received. Sum of numbers. input:# ...
1
vote
2answers
36 views

Boot freezes just after loading graphics on Ubuntu 18.10 and Fedora 29

I wish I could offer more info than this, both distros use Gnome, both fail at exactly the same moment in boot process. Background changes, mouse icon is shown and then everything freezes. Both ...
1
vote
1answer
26 views

df not recognizing partition being resized? [duplicate]

I've got Ubuntu 18.04 Server in Virtual Box, and once I've ran out of 10 GB of allocated space on virtual disk, I've increased the size of the virtual disk to 17 GB and resized the root partition ...
0
votes
0answers
16 views

How can I track down the source of an Ethernet ARP table issue between Linux laptops?

On our home LAN, after rebooting the router, I cannot ssh from laptop A to laptop B except via the router. However, after doing a ping from laptop B to laptop A, I can connect normally from A to B. I ...
-4
votes
0answers
42 views

Checker problem [on hold]

to one of the themes I receive, I have a verifier giving points so the requirement is when you run the (input)command # ./powerscript.sh asdf 8 -2 uso 16 31 SJDHA the output should be: 8 16 and ...
0
votes
1answer
28 views

how to boot from external hard disk with ubuntu installed? [on hold]

i've made a bootable ubuntu 17.10 USB in order to install it on my external HDD, the installation had been completed successfully and i got the ubuntu system in my external HDD, the issue is that i ...
0
votes
1answer
18 views

Linux fails to boot on VirtualBox with 2 CPUs

I made a Linux Ubuntu 16.04 VDI image on VirtualBox on an Intel i7 machine (4 CPUs), with a set of tools inside. Then I copied that VDI to an old machine (Core 2 duo - 2 CPUs), I created the VM using ...
-2
votes
1answer
36 views

apt-get install program crontab -e job [on hold]

I have problems installing the program 'pxz' using a script executed in crontab. The script: VERSION=$(lsb_release -ds) if [ "$VERSION" = "Ubuntu 14.04.3 LTS" ]; then apt-get install pxz --...
0
votes
0answers
19 views

Prevent processes from closing when screen is locked in Ubuntu 16.04

I am running a Jupyter Notebook with some computations that take more than one day, and I want to run them over night. I usually lock the screen on my laptop and leave it running. Everything runs for ...
0
votes
1answer
39 views

Installing tarball without Make?

I don't have internet access on my new Xenial VM, but I do have SFTP to a server which does. The issue is I need to install some packages. Getting them is fine, I just download them to my internet-...
-2
votes
1answer
45 views

Swap partition and swap file at the same time?

I've added the swap file while having the swap partition: NAME TYPE SIZE USED PRIO /swapfile file 4G 6M -1 /dev/dm-0 partition 1,9G 0B -2 The size of RAM is 4GB. I'm on ...
0
votes
0answers
6 views

ubuntu 18.04 playing videos with default player not working

I'm getting an issue using the default player playing videos, vlc works ok. I've tried installing restricted packages and it went on successfully. sudo apt-get install ubuntu-restricted-extras [sudo]...
1
vote
1answer
27 views

How to configure systemd so that PHP can use memcached unix socket?

I'm in the process of upgrading from Ubuntu Server 16.04 to 18.04 and at the same time upgrading from PHP 5.6 to PHP 7.3. In /etc/memcached.conf I added: -s /tmp/memcached.sock -a 666 When I ...
-2
votes
2answers
43 views

Why do I need to restart OS after some package upgrade? [duplicate]

On Ubuntu, when running sudo apt update; sudo apt upgrade, why sometimes it asks me to restart my OS and sometimes not? What do the packages that have that restart requirement have in common? Is it ...
0
votes
0answers
26 views

switching to another user gives an error [duplicate]

I am logged into one machine as user "john" and now if I try to switch to another user "dummy", I am getting below error. Long time back I only created this "dummy" user but forgot how I did that: ...
0
votes
0answers
44 views

Ubuntu 18.04 LTS upgrade to 18.10: how to fix site not reachable in browser but ping and dig works?

Yesterday I updated Ubuntu from 18.04 LTS to 18.10, all is working fine, but I'm having some problems with networking stuff. Maybe DNS. ping my-website-.com is working fine, as well as dig my-...
0
votes
1answer
19 views

Is there a maintainable way to install a recent version of phpMyAdmin on Ubuntu 18.04 [on hold]

We use phpMyAdmin on a couple of servers running Ubuntu 18.04. Ubuntu ships with PHP 7.2, the latest phpMyAdmin version from the official repositories is 4.6.6, which is not compatible with PHP 7.2. ...
-4
votes
1answer
25 views

SKYPE on ubuntu 14-04 — how to upgrade it?

SKYPE has upgraded its soft some while ago, and I missed my chance to reinstall it at that point. One of my comps run ubuntu 12-something, and I guess it is hopeless now to reactivate SKYPE on it ...
0
votes
1answer
42 views

Ubuntu 18.04.1 LTS x64: how to update Qt 5.10 from Qt 5.9.5?

I'm on Ubuntu 18.04.1 LTS x64 and I need to update my Qt 5 installation from v5.9.5 to v5.10.0, however when I issue the command sudo apt-get install qt5-default it gives me that qt5-default is ...
1
vote
1answer
8 views

Failed to start gunicorn.socket: Unit gunicorn.socket is masked

While trying to start gunicorn I get this error, Failed to start gunicorn.socket: Unit gunicorn.socket is masked. How do you solve it?
1
vote
0answers
27 views

Allow a regular use to write in /proc/sys/net/ipv6/conf

I am using a fairly cheap VPN service in my Xubuntu 18.04 (VPN created using OpenVPN) and, as many other VPN services, is leaking my IPv6. I thought that maybe, since OpenVPN can run a script when it ...
-1
votes
2answers
61 views

Is there any disadvantage of making software update and upgrade automatic? [on hold]

On Lubuntu 18.04, Software Updater notifies me there is update available from time to time. If I happen to have the time to, I will manually run sudo apt update; sudo apt upgrade. I am thinking about ...
1
vote
0answers
24 views

why is yum's tab completion slow while apt-get's tab completion is fast?

Why is yum's tab completion slow while apt-get's tab completion is fast? I'm not sure but I believe that this may have to do with the fact that for autocomplete yum looks over the internet and apt-get ...
-3
votes
0answers
13 views

user data running not well using ubuntu ami in aws Autoscaling [closed]

I m using ubuntu ami in auto scaling for my webserver. In this case we are using userdata for ubuntu ami in launch configuration. (userdata have some script file. This script have related to git pull ...
-1
votes
0answers
21 views

How to host a website on local network via domain name (Ubuntu)?

I have a domain name and am interested in hosting it on my local network via an Ubuntu desktop. I have configured nginx so I can type in my local IP (when on the network) and it points to my ReactJS ...
0
votes
2answers
50 views

Provide password to bash script [closed]

I have got a bash script, that encrypts different files. This script prompts me to enter a password for each file(to encrypt). Is there a way to give the information needed for the script as ...
0
votes
0answers
9 views

Upgrade Ubuntu without btrfs snapshot

On every do-release-upgrade Ubuntu does a btrfs snapshot. What sounds like a good idea is quite annoying if you don't have enough disk space. The update requires the same amount of space as currently ...
-2
votes
1answer
23 views

Ubuntu do not boot [on hold]

I have been workinng on ubuntu that is installed on dual boot with windows 10 for a while and yestrday a have descovred that all my files are on read only i can't modify or delete .... I found then ...
-1
votes
1answer
36 views

Copy log files when system goes down

I want to copy log files (project log files) when system goes down or shutdown in Ubuntu server. I have using aws Autoscaling for one server. so my case when cpu load is less than 50% then scale down ...
-1
votes
1answer
29 views

Running make -j$(nproc) or make modules -j$(nproc)

I am following this. To run make -j$(nproc) make modules -j$(nproc) I know that make is running jobs Are the jobs supposed to run for hours? (I got impatient and interrupted.) make -j$(nproc)
1
vote
3answers
51 views

Is it possible to search for a file using the checksum instead of the name? [duplicate]

Suppose I want to do a search to find out if I have a file that matches the sha256 generated from the file test1.txtusing the command: sha256sum -b test1.txt I get as output: ...
0
votes
0answers
10 views

kazam does not show up

I have installed Kazam most recent version in my computer (Pop!_OS 18.04 LTS) but does not shows up when I click on the icon and when I try to launch it from the terminal I get the next error message ...
0
votes
0answers
9 views

Shut up a kernel error or avoid it by configuring Prometheus Node Exporter

Let me start by giving the output which I get to see in /var/log/syslog and with dmesg: [559151.898586] ACPI Error: SMBus/IPMI/GenericSerialBus write requires Buffer of length 66, found length 32 (...
0
votes
0answers
11 views

How to receive files by bluetooth via command line headless?

I have installed several bluetooth packages: sudo apt-get install bluetooth bluez bluez-tools rfkill and then tried to serve BT: $sudo bt-obex -s /NAS/media/ScanInbox bt-obex: obex service is not ...
0
votes
1answer
33 views

Empty trash in ubuntu

I'm trying to empty my trash using the UI but it doesn't work. i tried to use this command rm -rf ~/.local/share/Trash/* but it does not success with messages like rm: cannot remove 'file.txt': Read-...
1
vote
1answer
31 views

Log Console Output [duplicate]

Is there a way to not only protocol/log the console inputs (like the history), but also the console output by default (without the constant usage of pipes)?
1
vote
0answers
10 views

How to input from headphone mic, output to built-in speakers

My laptop (Kubuntu 18.04) has only a single sound card. I want to take input from the Mic of the headphone I connect but get the output to the built-in speaker of the laptop. I can toggle input (...
0
votes
1answer
16 views

Permission problem with equivs-build

I am trying to install a vanilla texlive 2018 distribution on a ubuntu 16.04 machine following this guide: https://tex.stackexchange.com/questions/1092/how-to-install-vanilla-texlive-on-debian-or-...
-1
votes
1answer
21 views

fc-list is empty

Some time ago I deleted a lot of packages from a VPS that seemed to be needed only for visual programs (I got the list from some other question here, I don't remember where exactly). Now I'm running ...