Last active
December 13, 2022 10:53
-
-
Save Jpec57/92b901a4d70856cbc0082d7744e4b168 to your computer and use it in GitHub Desktop.
This file contains 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
Set Up | |
apt install curl vim wget git zsh sudo php apache2 | |
# Add jpec to user list which can log as root | |
usermod -aG sudo jpec | |
vim /etc/sudoers | |
jpec ALL=(ALL) NOPASSWD:ALL | |
# Install zsh | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
git config --global user.name Jpec57 | |
git config --global user.email jean.paul.bella@hotmail.fr | |
echo 'alias gcl="git clone"' >> .zshrc | |
echo 'alias gc="git commit”’ >> .zshrc | |
ssh-keygen -t ed25519 -C "jean.paul.bella@hotmail.fr" | |
ssh -T git@github.com | |
https://getcomposer.org/download/ | |
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 apt install apache2 mariadb-server php php-common php-mysql libapache2-mod-php php-gd php-curl php-json php-xmlrpc php-intl php-bcmath php-zip php-apcu php-mbstring php-fileinfo php-xml php-soap | |
sudo vim /etc/php/7.4/apache2/php.ini | |
memory_limit = 512M | |
max_execution_time = 240 | |
max_input_vars = 1500 | |
date.timezone = Europe/Paris | |
post_max_size = 50M | |
upload_max_filesize = 50M | |
sudo systemctl restart apache2 | |
sudo mysql_secure_installation | |
sudo systemctl restart mariadb | |
sudo systemctl status mariadb | |
https://www.howtoforge.com/tutorial/debian-typo3-apache-installation/ | |
Configuration/TypoScript/constants.typoscript | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash | |
source ~/.zshrc | |
nvm install node | |
chmod 777 public/typo3conf/LocalConfiguration.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment