Last active
March 18, 2023 16:08
-
-
Save GitHub30/18962a05d950890de1886db0f9d12f31 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install -y net-tools libnsl nano wget \ | |
&& curl -LO https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/8.2.0/xampp-linux-x64-8.2.0-0-installer.run \ | |
&& chmod +x xampp-linux-x64-8.2.0-0-installer.run \ | |
&& sudo ./xampp-linux-x64-8.2.0-0-installer.run --mode unattended \ | |
&& echo 'PATH="/opt/lampp/bin:$PATH"' >> ~/.bashrc \ | |
&& source ~/.bashrc \ | |
&& sudo /opt/lampp/lampp start | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | |
php composer-setup.php | |
php -r "unlink('composer-setup.php');" | |
sudo mv composer.phar /usr/local/bin/composer | |
composer create-project laravel/laravel example-app | |
cd example-app | |
composer require amphp/amp | |
php artisan make:command test | |
php artisan command:name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo certbot certonly --apache --apache-server-root /opt/lampp/etc/ --apache-bin /opt/lampp/bin/httpd --apache-ctl /opt/lampp/bin/apachectl --register-unsafely-without-email --agree-tos --non-interactive -d $domain --apache-vhost-root /opt/lampp/etc/extra