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
| #!/bin/sh | |
| ####################################### | |
| # Bash script to install an AMP stack and PHPMyAdmin plus tweaks. For Debian based systems. | |
| # Written by @AamnahAkram from http://aamnah.com | |
| # In case of any errors (e.g. MySQL) just re-run the script. Nothing will be re-installed except for the packages with errors. | |
| ####################################### | |
| #COLORS |
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
| Serial Keys: | |
| FU512-2DG1H-M85QZ-U7Z5T-PY8ZD | |
| CU3MA-2LG1N-48EGQ-9GNGZ-QG0UD | |
| GV7N2-DQZ00-4897Y-27ZNX-NV0TD | |
| YZ718-4REEQ-08DHQ-JNYQC-ZQRD0 | |
| GZ3N0-6CX0L-H80UP-FPM59-NKAD4 | |
| YY31H-6EYEJ-480VZ-VXXZC-QF2E0 | |
| ZG51K-25FE1-H81ZP-95XGT-WV2C0 | |
| VG30H-2AX11-H88FQ-CQXGZ-M6AY4 |
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
| @extends('layouts.master') | |
| @push('css') | |
| <style media="screen"> | |
| .full-background-image { | |
| background-repeat: no-repeat; | |
| background-position: top; | |
| background-size: cover; | |
| } | |
| .block { | |
| background-color: #fff; |
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
| #!/bin/bash | |
| echo "---------- Authors: ----------" | |
| echo "Name: Jean Jacques Bagui" | |
| echo "Email: jean-jacques.bagui@epitech.eu" | |
| echo "------------------------------" | |
| echo "> Loading french (AZERTY) keys..." | |
| loadkeys fr-latin1 | |
| echo "> Enabling auto time update via NTP..." | |
| timedatectl set-ntp true |
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
| 127.0.0.1 localhost | |
| ::1 localhost | |
| 127.0.1.1 asrlab.lan localhost.localdomain |
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
| # vim:set ft=sh | |
| # MODULES | |
| # The following modules are loaded before any boot hooks are | |
| # run. Advanced users may wish to specify all system modules | |
| # in this array. For instance: | |
| # MODULES=(piix ide_disk reiserfs) | |
| MODULES=() | |
| # BINARIES | |
| # This setting includes any additional binaries a given user may |
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
| echo "> Installing the GRUB 2 bootloader (in UEFI mode)..." | |
| pacman --noconfirm -S grub efibootmgr | |
| grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB | |
| grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB | |
| echo "> Editing the default settings for GRUB (workaround to detect LVM partitions)..." | |
| wget -qO/etc/default/grub https://gist.github.com/fanfan54/ffbc4d64af24fe8a1f52c95fa506c8e7/raw/fe852b2b2245cea74b189e905c3a58ab9df0e015/grub | |
| chmod 644 /etc/default/grub | |
| echo "> Generating config file for Grub" | |
| grub-mkconfig -o /boot/grub/grub.cfg |
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
| #!/bin/bash | |
| echo "[i] Welcome to chroot." | |
| echo "> Linking /hostlvm to /run/lvm..." | |
| ln -s /hostlvm /run/lvm | |
| echo "> Setting the persistant timezone to Europe/Paris..." | |
| ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime | |
| echo "> Syncing clock with hardware clock..." | |
| hwclock --systohc --utc | |
| echo "> Setting locale to English (US) (UTF-8)..." | |
| echo "en_US.UTF-8 UTF-8" > /etc/locale.gen |
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
| #!/bin/bash | |
| echo "---------- Authors: ----------" | |
| echo "Name: Jean Jacques Bagui" | |
| echo "Email: jean-jacques.bagui@epitech.eu" | |
| echo "------------------------------" | |
| if [ -e "iso/ubuntu-19.04-live-server-amd64.iso" ]; then | |
| echo "> File already exists." | |
| echo "> Ubuntu Live Server" | |
| iso="iso/ubuntu-19.04-live-server-amd64.iso" |
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
| #!/bin/bash | |
| echo "---------- Authors: ----------" | |
| echo "Name: Jean Jacques Bagui" | |
| echo "Email: jean-jacques.bagui@epitech.eu" | |
| echo "------------------------------" | |
| if [ -e "iso/archlinux-2020.02.01-x86_64.iso" ]; then | |
| echo "> File already exists." | |
| echo "> Arch Linux ISO 2020.02.01" | |
| iso="iso/archlinux-2020.02.01-x86_64.iso" |
NewerOlder