Categories
Development Linux Ubuntu

Cannot resolve symbol ‘androidx.constraintlayout.widget.ConstraintLayout’

I made an empty activity in Android Studio, ahead of nothing added, in activity_main.xml, there were so many red lines,and the prompt was: Cannot resolve symbol’‘ while, these code was generated by Android Studio, I tried file->invalidate cashes/restart… and installed all the SDK tools but Google series. The error was still there. Has anyone a […]

Categories
Development HTML Linux Ubuntu

index.html can only link to certain pages like google.com

I edited the default apache2 Debian index page and placed 2 links for testing purposes, but only one link worked. Question: Why can I link to sites like Yahoo and YouTube but the link to my insecure home page hosted at infoquest.com does not work (page not found)? Below is a copy of the default […]

Categories
Development Linux

mdadm array not appearing on /proc/mdstat after boot

My server has 4 disks, 2 SSDs and 2 HDDs. When I installed Debian 10 I already set up the SSDs as RAID0 and that array (md2) is working. I’ve set up a new RAID1 array on my server as md0 for the HDDs, waited for it to fully synchronize, saved the mdadm.conf file on […]

Categories
Development Linux

Open private Vagrant’s private network ports

I’ve created vagrant machine with following Vagrantfile: Vagrant.configure(“2”) do |config| config.vm.synced_folder “.”, “/vagrant”, type: “rsync” config.vm.box = “generic/centos7” config.vm.provider “libvirt” do |vb| vb.memory = 2048 vb.cpus = 1 end config.vm.provision “shell”, inline: “sed -i ‘s/#PermitRootLogin yes/PermitRootLogin yes/’ /etc/ssh/sshd_config” config.vm.provision “shell”, inline: “mkdir -p /root/.ssh; cat /vagrant/files/id_rsa.pub >> /root/.ssh/authorized_keys” config.vm.define “bastion” do |bastion| bastion.vm.network “private_network”, ip: […]

Categories
Development Linux

How to get connection after removing desktop env?

I try to install debian 9 with specific desktop env(fluxbox). For that reason i removed current desktop environment. After reboot the computer, i am able to use CL but i have no internet access. This process happened each time Failed to fetch http://<mirror>

Categories
Development Linux

GRUB normal.mod not found after installation

I am trying to install Linux dual booted with Windows on my computer. I am interested in networking so after researching online a bit, I wanted to install Kali. After getting a Live USB loaded up, I followed all of the instructions on these two pages. Everything worked perfectly up until the end. I rebooted […]

Categories
Development Linux

What does bash do in the background once it runs a program?

Does the terminal have its input routed through the bash process into the program currently being run, or is the terminal “disconnected” from the bash process and connected to the new program, preventing bash from intercepting or interfering? Does bash just freeze in the background, waiting for the program you started to close, or is […]

Categories
Development Linux Ubuntu

I am not able to delete my opencv version 3.3.1. in ubuntu. Can anyone help me?

I am trying to integrate kinectv2 with ros but kinectv2 has compatibility issues with opencv3.0. So, I am trying to uninstall opencv2 but facing errors. Can anyone suggest me how to uninstall opencv2 from ubuntu.? Thanks in advance.

Categories
Development Linux Ubuntu

No updates for Ubuntu 18.04.2

I installed 18.04.2 server some months ago and although its running OK, I’m worried that there has been no updates in this time. I’ve run sudo apt-get update multiple time with no result. Also da@ENIAC:~$ sudo apt list –upgradable [sudo] password for da: Listing… Done Also sudo apt-get update Ign:1 http://au.archive.ubuntu.com/ubuntu saucy InRelease Ign:2 http://au.archive.ubuntu.com/ubuntu […]

Categories
Development Linux Ubuntu

Can’t install “Desktop Icons” because this extension is enabled by my current mode, I can’t install manually any update in this session

In Firefox, I tried to install GNOME Shell extension Desktop Icons made by Rastersoft, but I got this error: I need some icons my Desktop which include both folder & Indicator-sticky-notes. Installing other extensions is not the option because they will obviously lack: Resize desktop icons Hide Trash and Home folder I don’t want to […]