[program-l] Re: Getting started with Linux and WSL

  • From: "Travis Roth" <travis@xxxxxxxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Wed, 6 Apr 2022 08:23:41 -0500

-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On Behalf 
Of joeldodson@xxxxxxxxx
Sent: Wednesday, April 6, 2022 1:29 AM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Getting started with Linux and WSL

Hi Quentin,

I don't use Apache, MariaDB, nor PHP, I'll comment regardless 😊

Once you have WSL2 running with, for example, Ubuntu 20.04, which you can 
install from the Windows Store, you have a real version of Ubuntu running 
locally with it's own filesystem.  You can access the Windows filesystem from 
Linux and I think you can access the Linux filesystem from Windows, but I don't 
think either would be necessary, nor advised.

Using vscode with the wsl extension, you could launch vscode from /var/www 
directly and edit the code on the Linux filesystem.

You would still be able to see your changes from a local browser going to, for 
example, based on your Apache configuration, http://localhost:8000. ;

I do this with Nginx, Flask, and PostgreSQL (or sqlite more likely).  My 
development is all in vscode running locally on Windows accessing my code on 
Linux using the wsl extension, and my python code is running in a virtualenv on 
Ubuntu.  It's behind Nginx only to attempt to sort of replicate a production 
environment. 

I don't know how you would install AMP on Ubuntu, I assume that process exists 
and would be the same on Ubuntu on wsl or any other Ubuntu deployment.

Hope that helps.
Joel  


-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On Behalf 
Of QuentinC
Sent: Tuesday, April 5, 2022 10:07 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Getting started with Linux and WSL

Hello,


I'm a little hijacking the topic, but since you are talking about WSL, I had a 
question.


Is it possible to use WSL to run a LAMP environment, i.e. apache, php, MariaDB ?

How to proceed ? Simple install using apt-get works ?

Is there a way to have /var/www shared with a windows directory like 
C:\...\my-website, allowing to modify php files under windows and test live ?


I ask this because I'm getting tired of programs like wamp, laragon, etc. that 
let you manage their functionning via menus that are inaccessible with jaws. 
They no longer are that good.


Thank you for your answers !


Le 06.04.2022 à 00:08, Travis Roth a écrit :

WSL2 which is native in Windows 11 does have GUI support, so you can run 
windowing apps. But WSL does not provide or allow a x-window desktop such as 
Gnone so you end up with one GUI app per originating console window. It is 
possible to install and run Orca and a GUI app such as Firefox. If you're 
really bored or inclined.
As Soronel said, the console is just like a Windows console window, CMD or 
PowerShell. Vi editor works well enough in particular is you toggle JAWS 
Screen Echo to none temporarily with JAWSKey+s to keep the status line from 
endless chatter.


-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> 
On Behalf Of Soronel Haetir
Sent: Tuesday, April 5, 2022 4:21 PM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Getting started with Linux and WSL

At least using jaws the WSL console is perfectly accessible. I have not tried 
running a windows-side X server and clients from the WSL side, that pretty 
much seems like a nightmare (I hated X even when I could see).

On 4/5/22, zachtidwell0331@xxxxxxxxx <zachtidwell0331@xxxxxxxxx> wrote:
Hey all,



I've been coding for about a year now, and my interest in tinkering 
with Linux has been increasing. I've finally started poking around on 
the internet for information on how to get into started, and it looks 
like Microsoft's WSL application is the way to go for me. Plus, given 
Microsoft's current outlook on accessibility, I figured there's a 
good chance it'll be accessible.



With that, I'm a JAWS user, and was curious if anyone has experience 
with Linux and WSL, can speak to WSL's accessibility and use with a 
screen-reader, and knows of accessible learning sites for Linux?



Thank you for your time,

Zach



--
Soronel Haetir
soronel.haetir@xxxxxxxxx
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: