Linux An introduction to Linux through Windows Subsystem for Linux |
- An introduction to Linux through Windows Subsystem for Linux
- Wifi connection shits off after 30 minutes
- How would I dual boot a linux distro without a USB?
- GNOME's History - Video tour through GNOME 1, 2 and 3
- Crawling back to linux tails between my legs....
- security of bit torrent downloads
- linux newbies fed up with Windows
- ubuntu installation stuck at updates and other software (dual booting)
- Are there any good pre-test, test or study material for the LPIC-1 and LPIC-2 ?
- 'network connection has disconnected'
- One Year With ThinkPad and Linux (From Macbook Pro)
- how to export a keyboard layout
- Touchpad not recognized
- Problem installing Grub (I think)
- How to see VPN user address that log into Mac Mini
- How do I run an Appinmage
- why does mv remove my files in this script? trying to rename all files to parent directory name
- Wifi, can't connect.
- Did a RHEL minimal install, apparently it was more minimal than I thought.
- Using rofi run in terminal runs my script just fine, but using an i3 binding returns an error?
- My pendrive shows this error. I hope this is okay for the sub.
- Help with Ubuntu partitioning
- I uninstalled Wine fully but the program icons are still in my menu on Linux mint 20
- How do I add a 2nd user to be able to read/write inside a directory in my home?
- Need help with undervolting laptop
An introduction to Linux through Windows Subsystem for Linux Posted: 02 Sep 2020 01:32 PM PDT I'm working as an Undergraduate Learning Assistant and wrote this guide to help out students who were in the same boat I was in when I first took my university's intro to computer science course. It provides an overview of how to get started using Linux, guides you through setting up Windows Subsystem for Linux to run smoothly on Windows 10, and provides a very basic introduction to Linux. Students seemed to dig it, so I figured it'd help some people in here as well. I've never posted here before, so apologies if I'm unknowingly violating subreddit rules. An introduction to Linux through Windows Subsystem for LinuxIntroduction and motivationtl;dr skip to next section So you're thinking of installing a Linux distribution, and are unsure where to start. Or you're an unfortunate soul using Windows 10 in CPSC 201. Either way, this guide is for you. In this section I'll give a very basic intro to some of options you've got at your disposal, and explain why I chose Windows Subsystem for Linux among them. All of these have plenty of documentation online so Google if in doubt.
Setting up WSLSo if you've read this far I've convinced you to use WSL. Let's get started with setting it up. The very basics are outlined in Microsoft's guide here, I'll be covering what they talk about and diving into some other stuff. 1. Installing WSLPress the Windows key (henceforth Winkey) and type in Now you'll want to perform a hard shutdown on your computer. This can become unecessarily complicated because of Window's fast startup feature, but here we go. First try pressing the Winkey, clicking on the power icon, and selecting If you get a large text output, WSL has been successfully enabled on your machine. If nothing happens, your computer failed at performing a hard shutdown, in which case you can try the age-old technique of just holding down your computer's power button until the computer turns itself off. Make sure you don't have any unsaved documents open when you do this. 2. Installing UbuntuGreat! Now that you've got WSL installed, let's download a Linux distro. Press the Winkey and type in ![Windows Store](https://theshepord.github.io/intro-to-WSL/docs/images/winstore.png) Installing plain-old "Ubuntu" will mean the app updates whenever a new major Ubuntu distribution is released. The current version (as of 09/02/2020) is Ubuntu 20.04.1 LTS. The other two are older distributions of Ubuntu. For most use-cases, i.e. unless you're running some software that will break when upgrading, you'll want to pick the regular Ubuntu option. That's what I did. Once that's done installing, again hit Winkey and open up Ubuntu. A console window should open up, asking you to wait a minute or two for files to de-compress and be stored on your PC. All future launches should take less than a second. It'll then prompt you to create a username and password. I'd recommend sticking to whatever your Windows username and password is so that you don't have to juggle around two different user/password combinations, but up to you. Finally, to upgrade all your packages, type in And then
3. Making things nice and crispy: an introduction to UNIX-based filesystemstl;dr skip to the next section The two above steps are technically all you need for running WSL on your system. However, you may notice that whenever you open up the Ubuntu app your current folder seems to be completely random. If you type in So where is my Windows home folder? Is WSL completely separate from Windows? Nope! This is Windows Subsystem for Linux after all. Notice how, when you typed For now, though, we'll focus on 4. Changing your default home folderType in Anyway, once you've typed that in, your shell should look something like this: ![vim /etc/passwd](https://theshepord.github.io/intro-to-WSL/docs/images/vim-etc-passwd.png) Using arrow-keys, find the entry that begins with your Ubuntu username. It should be towards the bottom of the file. In my case, the line looks like See that cringy, crummy Next, press The Great! If you now open up a new terminal and type in 5. Importing your configuration files into the new home directoryYour home folder contains all your Ubuntu and bash configuration files. However, since we just changed the home folder to your Window's home folder, we've lost these configuration files. Let's bring them back! These configuration files are hidden inside
6. Tips & tricksHere are two handy commands you can add to your
Appendix A: overview of top-level UNIX directoriestl;dr only mess with
Appendix B: random resources[link] [comments] |
Wifi connection shits off after 30 minutes Posted: 02 Sep 2020 08:06 AM PDT I currently have Ubuntu and Arch dual booted on my Surface Book 2. Everything works great, with the exception of wifi. After about half an hour, all wifi connectivity drops and the only connection available shown from iwconfig is loopback. Restarting systemd-networkd does nothing to fix the issue. Any ideas of what may be going wrong? It turns back on every reboot. Edit: Solved! Was a driver issue for the surface kernel. Leaving this up for anyone with a similar problem because this has been bugging me for days. [link] [comments] |
How would I dual boot a linux distro without a USB? Posted: 02 Sep 2020 06:20 AM PDT I don't have a USB. How would I dual boot one without it? I tried Unetbootin but I get a 'Windows not found' Error when I try booting it. I don't know why. Has anyone had any success with this? Is it okay if I create a separate drive with exFat and boot Linux on it? [link] [comments] |
GNOME's History - Video tour through GNOME 1, 2 and 3 Posted: 02 Sep 2020 09:07 AM PDT |
Crawling back to linux tails between my legs.... Posted: 02 Sep 2020 12:05 AM PDT I have been angry for a while after installing xubuntu on my ancient netbook only to find that every kernel update failed with some message about not enough space on the partition or something (this was more than 2 years ago), requiring me to learn to delete the older kernel versions that had been downloaded. After a few weeks of trying with no success i turned to the darkside and angrily flamed people on this sub for their idealism and the lack of user friendly functionality (auto updates that didnt brake my delicate granny of a netbook).... After trying to use cloudready on this machine ive realized that linux is my only hope. Linuxfornoobs, i come to you a broken (economically limited) man with kids returning to school asking me for a laptop to use for zoom. I need a distro that will require the absolute minimum investment of brain space in order to function with only two requirements: zoom and youtube. Help me LInuxfornoobs your'e my only hope. [link] [comments] |
security of bit torrent downloads Posted: 02 Sep 2020 06:49 AM PDT [flair = SOLVED] Since I am downloading bits of this ISO from many unknown locations, is there any chance that one or more of these locations could insert malware in the bit they send me? If they did would it survive the re-integration of the bits into a whole ISO on my hard drive? [link] [comments] |
linux newbies fed up with Windows Posted: 01 Sep 2020 04:02 PM PDT Hi, This isn't a troll post. I'm honestly interested in the answers to it. Almost daily, you can read a posting here of someone that wants to dive into Linux and says that they are sick of Windows. My question is, why? Why are they sick of Windows or Mac OS, and what brings you to want to use Linux? I imagine that a lot of it has to do with gaming; however, I could be wrong. I'm also interested in what you think you're going to get by switching to Linux? Again, I'm genuinely interested in the answers. I mainly run Linux, but I also have a MacBook Air and a Microsoft Surface. Each has its job, and each does what I need it to do. I'll be interested to hear your responses. [link] [comments] |
ubuntu installation stuck at updates and other software (dual booting) Posted: 02 Sep 2020 03:03 PM PDT so the solution is already there, which is to open Disks and mount/unmount windows partition, but my actual question is how to do that? I looked up google and didn't get it, sorry if this is too naive but I dont understand how can I open Disks when I'm in installing mode? because I can't open anything. I tried to go with try ubuntu option but it also stuck with me. [link] [comments] |
Are there any good pre-test, test or study material for the LPIC-1 and LPIC-2 ? Posted: 02 Sep 2020 03:01 PM PDT I am searching on line for study material as I have completed the Cisco course 1 and 2. These courses should have made me ready but I don't feel confident yet. I am following tutorials online and I am finding gaps in my knowledge. Are there any go to study material that can get me ready to take the certification test? [link] [comments] |
'network connection has disconnected' Posted: 02 Sep 2020 02:13 PM PDT So I have ParrotOS installed now, thanks to the help of people on this subreddit. Everything was well but after an hour or so, the network just disconnects. It says 'Network connection has disconnected'. Only restarting brought the wifi back up. But then it happened again, and restarting didn't help that time. Has anyone else encountered this issue? [link] [comments] |
One Year With ThinkPad and Linux (From Macbook Pro) Posted: 02 Sep 2020 01:43 PM PDT |
how to export a keyboard layout Posted: 02 Sep 2020 06:00 AM PDT Hello, does somebody know or just have better googling skills than me to help me ? I'm trying to export a keyboard layout I found on manjaro by default. The way it handles accents just fits me and I couldn't find a way to back it up to maybe add it on windows or another distro. [link] [comments] |
Posted: 02 Sep 2020 09:05 AM PDT Hey Guys. So i am bashically nearly at the point ov giving up. The situation: Ive get a "Winbook 13", installed Arch, touchpad isnt working. Tried some other live distros out to be sure my install isnt the problem, same issue. apparently it uses a i also found this (https://bugzilla.kernel.org/show_bug.cgi?id=199821#c12) thread about the touchpad itself, however it should be fixed after kernel 4.something (5.8.5 in my case). Does someone might have an idea? [link] [comments] |
Problem installing Grub (I think) Posted: 02 Sep 2020 04:56 AM PDT (english is not my best, sorry if something is wrong) Hi, i'm trying yo install Linux Mint on my pc, i have a live pen and i think i'm doing everything ok. But at the end of the installation i receive the error "Executing Grub-install /dev/sda failed" and the installer closes. I don't have Windows, and erased all the partitions on my pc before (create a new efi and other for Linux) My pc is a Lenovo Ideapad320 (i've already desactivated the fast boot on the bios) Any ideas? [link] [comments] |
How to see VPN user address that log into Mac Mini Posted: 02 Sep 2020 12:26 PM PDT Hello, I want to see the IP of the address of my employees that log into Mac minis for troubleshooting. Employees are running vpn into our mac minis. I want to see what IP is coming from the VPN so I can track people that log in. Does anyone know how to do this? Or a better way? [link] [comments] |
Posted: 02 Sep 2020 04:43 AM PDT Hello I am new to Linux just installed it yesterday and I ran into a problem when trying to run an Appimage. I watched many tutorials on YouTube and all they said was I need to right click and go to properties and make file executable. But that does not apply to me as I get a "Unknown file type" error and It says the file type has no known programs associated with it. Please help [link] [comments] |
why does mv remove my files in this script? trying to rename all files to parent directory name Posted: 02 Sep 2020 11:30 AM PDT Hello I used the code from this stack exchange question and it deleted all of my files. Can someone tell me why using mv in this way is removing the files? I've used mv in a for loop before and it did not do this. Thanks in advance [link] [comments] |
Posted: 02 Sep 2020 11:18 AM PDT Hello, I just installed linux ubuntu for the first time in my life. I can't connect to my wi-fi, I enter the password, it tries to connect for a bit and then nothing happens. I tried googling the solution but it's all very confusing, can someone help, please? [link] [comments] |
Did a RHEL minimal install, apparently it was more minimal than I thought. Posted: 02 Sep 2020 11:02 AM PDT Hello! I'm not sure if this is the right place to ask this, feel free to point me in the right direction if it's not. I recently installed RHEL 7.6 on an intel NUC6CAYH. I did a minimal installation, and I was following this guide on how to register and get packages installed onto it. But I encountered an error: Name or service not known. I looked it up and it looks to be a DNS issue. I followed this guide on fixing the issue But when I tried to start the haldaemon service I get: Am I stuck at this point? Do I need to reinstall with more tools? Or is there something else I can do? Other notes: I set the contents of EDIT: After talking with someone else, I decided to re-install red-hat. I decided to go with "Server with GUI" but as I understand it, going with "Infrastructure Server" would have worked and had the features I needed to install everything else. [link] [comments] |
Using rofi run in terminal runs my script just fine, but using an i3 binding returns an error? Posted: 02 Sep 2020 10:57 AM PDT I made a little script that literally just opens up my textbooks in zathura. I added the directory with the scripts to my path, made them executable, and did all that. When I do rofi -show run and launch my scripts through the window that pops up out of the terminal, I am able to launch my script no problem. But if I use my bind to launch rofi run on i3-gaps, it gives me an error saying "run failed there is no child process (document not found)". Does anyone have any idea as to why this would happen and how I could fix it? [link] [comments] |
My pendrive shows this error. I hope this is okay for the sub. Posted: 02 Sep 2020 06:59 AM PDT |
Posted: 02 Sep 2020 10:18 AM PDT |
I uninstalled Wine fully but the program icons are still in my menu on Linux mint 20 Posted: 02 Sep 2020 06:17 AM PDT So I was having issues with Wine and basically I screwed up so I decided to uninstall everything wine related. Extreme I know But after all that in the menu (after clicking the little logo in the bottom left corner of mint; don't remember proper name) WINE still appears as well as all the programs, although clicking on them does nothing I tried doing autoremove and a reboot and nothing changed. I'm confused how to get rid of the icons or did I screw something up. I'm on Linux mint 20, don't remember the version name but it's the latest version and it's based on Ubuntu 20.04 Any help would be appreciated; thank you [link] [comments] |
How do I add a 2nd user to be able to read/write inside a directory in my home? Posted: 02 Sep 2020 05:39 AM PDT I am using a service with a web interface that has it's own user... I have a folder in my home dir that this service looks at.. everything is working fine.. but the service can not delete.. I think it is a permissions problem. What do I do to make the dir able to be accessed by another user.... /home/username/sharedfolder How do I make it so anything in this folder and anything copied into this folder by username or the service is able to be deleted? [link] [comments] |
Need help with undervolting laptop Posted: 02 Sep 2020 01:14 AM PDT Hi all I currently have a razer blade 15 (i7-9750h) 19 running manjaro xfce. I'm trying to undervolt my CPU core and CPU cache -150mv, -75mv to iGPU (I have tested these settings on windows with throttlestop and it was stable) as well. I installed MSR tools and python-undervolt through AUR, disabled safe boot but I'm still not able to undervolt. I tried using and the following returns If any more information is needed let me know, thanks [link] [comments] |
You are subscribed to email updates from Linux 101 stuff. Questions are encouraged, noobs are welcome!. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment