<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Arnaud Delante</title>
    <description>The latest articles on DEV Community by Arnaud Delante (@axiol).</description>
    <link>https://dev.to/axiol</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F241905%2Fdd034638-1cd3-4120-b399-de931fa8247f.jpg</url>
      <title>DEV Community: Arnaud Delante</title>
      <link>https://dev.to/axiol</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/axiol"/>
    <language>en</language>
    <item>
      <title>AI generated lists are slowly killing my interest for Dev</title>
      <dc:creator>Arnaud Delante</dc:creator>
      <pubDate>Thu, 31 Jul 2025 14:01:05 +0000</pubDate>
      <link>https://dev.to/axiol/ai-generated-lists-are-slowly-killing-my-interest-for-dev-7d4</link>
      <guid>https://dev.to/axiol/ai-generated-lists-are-slowly-killing-my-interest-for-dev-7d4</guid>
      <description>&lt;p&gt;Every time I open Dev, I just see random AI generated posts with titles like "20 open source projects every developer should know", "10 hidden gems for developers" ... And it's just list of tools without any logic, not related to a specific topic. Most of them are not especially interesting. And most of them are repeated among those lists... &lt;/p&gt;

&lt;p&gt;I try to report them as much as I can. But I'm not feeling like it's doing a lot... &lt;/p&gt;

</description>
      <category>devto</category>
      <category>watercooler</category>
    </item>
    <item>
      <title>Setting up a LAMP configuration with WSL 2</title>
      <dc:creator>Arnaud Delante</dc:creator>
      <pubDate>Sun, 06 Sep 2020 20:08:11 +0000</pubDate>
      <link>https://dev.to/axiol/setting-up-a-lamp-configuration-with-wsl-2-5fbm</link>
      <guid>https://dev.to/axiol/setting-up-a-lamp-configuration-with-wsl-2-5fbm</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;This article will assume that you already have WSL 2 set up and working. If you need help with that, you can check the &lt;a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10"&gt;Microsoft documentation&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;WSL has been a pretty amazing update. From the speed improvement and the &lt;a href="https://docs.docker.com/docker-for-windows/wsl/"&gt;Docker integration&lt;/a&gt;, developing on Windows has never been better. But some lasting network issues were preventing to totally switch to it for Web development. But all of this is behind us since the last update. So, update your Windows and come if you want to learn how to set up a LAMP configuration on your WSL installation.&lt;/p&gt;




&lt;h2&gt;
  
  
  Windows configuration
&lt;/h2&gt;

&lt;p&gt;First of all, we need to disable a Windows feature which could prevent everything to work fine. This feature is Fastboot. It used to be pretty nice. But now, with SSDs, it has become quite useless. To do so, press &lt;code&gt;Windows Key + R&lt;/code&gt; and type &lt;code&gt;powercfg.cpl&lt;/code&gt;, hit Enter to to open the power management control panel. Click on the second option in the sidebar&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yrlRWplJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/7wn5gsy7e499fk6lli9v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yrlRWplJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/7wn5gsy7e499fk6lli9v.png" alt="Power management control panel" width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Allow modification on all the options and uncheck fastboot&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uJKy9FDP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/3xkccy9f1j60l2wjzs8l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uJKy9FDP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/3xkccy9f1j60l2wjzs8l.png" alt="Power button settings" width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Apply changes, reboot and we're ready to to continue.&lt;/p&gt;

&lt;h2&gt;
  
  
  Apache
&lt;/h2&gt;

&lt;p&gt;Now that the path is clear, open a WSL terminal and we'll start to install what we need. First, let's install Apache with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt-get install apache2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To avoid connectivity issue, edit &lt;code&gt;/etc/apache2/apache2.conf&lt;/code&gt; and uncomment this line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;AcceptFilter http none
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And activate the rewrite module:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo a2enmod rewrite
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  PHP
&lt;/h2&gt;

&lt;p&gt;Now, for PHP, first add the repository by doing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
apt-get update
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And then install PHP and its modules:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt-get install php7.4 libapache2-mod-php7.4 php7.4-mysql php7.4-curl php7.4-json php7.4-gd php-memcached php7.4-intl php7.4-mbstring php7.4-xml php7.4-zip
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  MySQL
&lt;/h2&gt;

&lt;p&gt;And finaly, for MySQL, we'll be going with MariaDB:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt-get install mariadb-server
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, we need to run the script to secure the installation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo mysql_secure_installation
Change the root password? [Y/n]: n
Remove anonymous users? [Y/n]: y
Disallow root login remotely? [Y/n]: y
Remove test database and access to it? [Y/n]: y
Reload privilege tables now? [Y/n]: y
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To wrap up the MySQL installation, log in your MySQL instance with &lt;code&gt;sudo mysql -u root&lt;/code&gt; and create a user (replace &lt;code&gt;mysql_user&lt;/code&gt; and &lt;code&gt;mysql_password&lt;/code&gt; by whatever you want):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CREATE USER 'mysql_user'@'%' IDENTIFIED BY 'mysql_password';
GRANT ALL PRIVILEGES ON *.* TO 'mysql_user'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;As WSL doesn't start services automatically, you need to start Apache and MySQL by yourself. Which can be done with this command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo service apache2 start &amp;amp;&amp;amp; sudo service mysql start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, with your browser, go to &lt;code&gt;http://localhost&lt;/code&gt;. You should see the Apache landing page:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--C7V6K09P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/nz82dkmvhtqmwi82eab3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--C7V6K09P--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/nz82dkmvhtqmwi82eab3.png" alt="Apache landing page" width="800" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To test the PHP installation, create a file called &lt;code&gt;phpinfo.php&lt;/code&gt; in &lt;code&gt;/var/www/html/&lt;/code&gt; with this inside:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;?php
phpinfo();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Back in the browser, go to &lt;code&gt;http://localhost/phpinfo.php&lt;/code&gt; to check your PHP configuration:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ozEjlVxE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/t4w3vlrnsvbyclynope6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ozEjlVxE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/i/t4w3vlrnsvbyclynope6.png" alt="PHP info" width="800" height="473"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And here you are, a fully working LAMP stack running on your WSL installation. Things could stop here, but we can have 2 extra steps to improve quality of life.&lt;/p&gt;

&lt;h2&gt;
  
  
  Adminer
&lt;/h2&gt;

&lt;p&gt;Managing MySQL through the CLI is fine. But having a GUI might sometimes be better. For that, I choosed Adminer.&lt;/p&gt;

&lt;p&gt;To install it, go to &lt;code&gt;/var/www/html&lt;/code&gt; and download it with:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo wget -O adminer.php https://github.com/vrana/adminer/releases/download/v4.7.7/adminer-4.7.7-mysql.php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now if you go to &lt;code&gt;http://localhost/adminer.php&lt;/code&gt;, you'll be able to log in with the user you created before.&lt;/p&gt;

&lt;h2&gt;
  
  
  Virtual hosts
&lt;/h2&gt;

&lt;p&gt;Accessing your different projects with &lt;code&gt;http://localhost/project-name&lt;/code&gt; is enough. But why not making things a bit fancier by having &lt;code&gt;http://project-name.local&lt;/code&gt;?&lt;/p&gt;

&lt;p&gt;To do so, edit &lt;code&gt;/etc/apache2/sites-available/000-default.conf&lt;/code&gt; and for each domain, add:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;VirtualHost *:80&amp;gt;
        ServerName your-project.local

        ServerAdmin admin@local.host
        DocumentRoot /path/to/project

        &amp;lt;Directory /&amp;gt;
            Options FollowSymLinks
            AllowOverride all
        &amp;lt;/Directory&amp;gt;
        &amp;lt;Directory /path/to/project/&amp;gt;
            Options Indexes FollowSymLinks
            AllowOverride all
            Require all granted
        &amp;lt;/Directory&amp;gt;


        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn
        SetEnvIf Request_URI "\.(jpg|xml|png|gif|ico|js|css|swf|js?.|css?.)$" D$

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined env=!DontLog
&amp;lt;/VirtualHost&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then restart Apache with &lt;code&gt;sudo service apache2 restart&lt;/code&gt;. And finally, &lt;strong&gt;on Windows&lt;/strong&gt;, edit &lt;code&gt;C:\Windows\System32\drivers\etc\hosts&lt;/code&gt; and add, for each domain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;127.0.0.1 your-project.local
::1 your-project.local
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;And here we are, you have a fully functional LAMP stack on your WSL. Enjoy the speed and pleasure of a Unix environment on your Windows computer.&lt;/p&gt;

&lt;p&gt;If you face any issue, feel free to ask and I'll try to help as much as I can 👍&lt;/p&gt;

</description>
      <category>linux</category>
      <category>windows</category>
      <category>lamp</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
