linux-distro

What's the relationship between a Linux OS and a kernel?

对着背影说爱祢 提交于 2019-12-31 08:36:09
问题 I've been using Linux for several years, but never stepped beyond installing from a CD/DVD. If the app manager didn't have what I was looking for in the software, then I was a lost cause. But right now I'm trying to get a grip around what "Linux" is. The first word that pops into my head is "kernel". After reading on Wikipedia, I understand that a kernel is software running to give other software (OS + apps) access to hardware (CPU, RAM+++). It also handles memory, but isn't that what the OS

What's the relationship between a Linux OS and a kernel?

别等时光非礼了梦想. 提交于 2019-12-31 08:35:14
问题 I've been using Linux for several years, but never stepped beyond installing from a CD/DVD. If the app manager didn't have what I was looking for in the software, then I was a lost cause. But right now I'm trying to get a grip around what "Linux" is. The first word that pops into my head is "kernel". After reading on Wikipedia, I understand that a kernel is software running to give other software (OS + apps) access to hardware (CPU, RAM+++). It also handles memory, but isn't that what the OS

How can Docker run distros with different kernels?

霸气de小男生 提交于 2019-12-17 15:35:33
问题 How can docker run on a Debian host maybe an OpenSUSE in a container? It uses different kernel, with separated modules. Also older Debian versions have used older kernels, so how can run it on a kernel version 3.10+ ? Older kernels have only older built in functions, how can an old distro manage new features? What is "the trick" in it? 回答1: How can docker run on a Debian host maybe an OpenSUSE in a container Because the kernel is the same and will support the Docker engine to run all those

How to Debug MIPS elf?

筅森魡賤 提交于 2019-12-11 07:39:07
问题 Suppose I have a MIPS elf binary (meaning someone cross compiled/compiled on MIPS a MIPS linux executable) Are there any linux distros that are compiled to run on mips architecture that could perhaps run the executable? I've looked around, but all I can find is linux-mips. Even better would be if the distro was already installed to a VM disk file, and you could just download it. Is there any guaranteed way to run the MIPS elf on a non MIPS distro? Like using some qemu setup or something? (By

Find name of linux distro from java

我只是一个虾纸丫 提交于 2019-12-07 06:30:38
问题 We are writing a small library in java that needs to collect information from the underlying system. We are able to read most of the stuff from system properties in java, but we cannot seem to find the right way to extract the name of the distro when run on linux. The call System.getProperty("os.name"); return "Linux" (which we also collect) but we are looking for a way to get e.g. "Ubuntu" as well. We need this solution in java and would like to not have to do some /etc/release parsing 回答1:

Find name of linux distro from java

五迷三道 提交于 2019-12-05 10:08:22
We are writing a small library in java that needs to collect information from the underlying system. We are able to read most of the stuff from system properties in java, but we cannot seem to find the right way to extract the name of the distro when run on linux. The call System.getProperty("os.name"); return "Linux" (which we also collect) but we are looking for a way to get e.g. "Ubuntu" as well. We need this solution in java and would like to not have to do some /etc/release parsing To do this reliably and accurately is impossible, the best I can suggest is to take the output of 'uname -a'

What's the relationship between a Linux OS and a kernel?

a 夏天 提交于 2019-12-02 17:05:01
I've been using Linux for several years, but never stepped beyond installing from a CD/DVD. If the app manager didn't have what I was looking for in the software, then I was a lost cause. But right now I'm trying to get a grip around what "Linux" is. The first word that pops into my head is "kernel". After reading on Wikipedia, I understand that a kernel is software running to give other software (OS + apps) access to hardware (CPU, RAM+++). It also handles memory, but isn't that what the OS is supposed to do (what I remember from OS class)? Is the Linux distro just a packed list of software?

error while installing respinned/customized centos

风格不统一 提交于 2019-12-01 11:33:56
i am following this link with an aim to create custom CentOS ISO with some extra packages downloaded from internet (say ABCD.rpm). https://wikis.uit.tufts.edu/confluence/display/TUSKpub/Build+Custom+RHEL+or+CentOS+Respin+DVD i customized the ISO by "only copying" ABCD.rpm package in /Packages directory now when i boot from ISO via kickstart, i get following error any idea where i am going wrong ? I was running into the same issue. It is working fine after using the following command to create ISO. mkisofs -r -N -L -d -J -T -joliet-long -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul

error while installing respinned/customized centos

爱⌒轻易说出口 提交于 2019-12-01 08:35:50
问题 i am following this link with an aim to create custom CentOS ISO with some extra packages downloaded from internet (say ABCD.rpm). https://wikis.uit.tufts.edu/confluence/display/TUSKpub/Build+Custom+RHEL+or+CentOS+Respin+DVD i customized the ISO by "only copying" ABCD.rpm package in /Packages directory now when i boot from ISO via kickstart, i get following error any idea where i am going wrong ? 回答1: I was running into the same issue. It is working fine after using the following command to

How can Docker run distros with different kernels?

旧时模样 提交于 2019-11-28 05:44:26
How can docker run on a Debian host maybe an OpenSUSE in a container? It uses different kernel, with separated modules. Also older Debian versions have used older kernels, so how can run it on a kernel version 3.10+ ? Older kernels have only older built in functions, how can an old distro manage new features? What is "the trick" in it? VonC How can docker run on a Debian host maybe an OpenSUSE in a container Because the kernel is the same and will support the Docker engine to run all those container images: the host kernel should be 3.10 or more, but its list of system calls is fairly stable.