https://github.com/thetechguy44/linux-commands
https://github.com/thetechguy44/linux-commands
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thetechguy44/linux-commands
- Owner: Thetechguy44
- Created: 2024-05-28T10:42:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-12T13:09:43.000Z (over 1 year ago)
- Last Synced: 2025-01-19T19:57:39.069Z (over 1 year ago)
- Language: Shell
- Size: 2.74 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DIR="/var/www"
LOCATION="hidden"
cd /var/www/ng
# Folder for git work
sudo git clone git@github.com:thetechguy44/hidden.git
cd $LOCATION
cd app/
sudo git clone https://github.com/thetechguy44/exceptions.git
sudo mv exceptions/Exceptions /var/www/hidden/ng/hidden/app/
cd ..
sudo mkdir storage/framework/cache/data
# sudo cp .env.example .env
# composer tester
sudo composer update -n
sudo wget https://examplestore.s3.amazonaws.com/env.txt
sudo mv env.txt .env
cd app/
sudo mv exceptions/CoreComponentRepository.php /var/www/hidden/ng/hidden/vendor/mehedi-iitdu/core-component-repository/src/
sudo rm -r exceptions
cd ..
# sudo wget https://github.com/thetechguy44/Linux-commands/blob/main/.env
# sudo ./env.sh
# sudo rm env.sh
sudo find . -type f -exec chmod 644 {} \;
sudo find . -type d -exec chmod 755 {} \;
sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 755 storage
sudo chmod -R 755 bootstrap/cache
# To test the whole setup
sudo php artisan key:generate
sudo php artisan cache:clear
sudo php artisan config:clear
sudo php artisan config:cache
sudo php artisan optimize:clear
sudo php artisan route:clear
sudo php artisan view:clear
sudo service apache2 restart
# laravel fix dependecies problem
https://chat.openai.com/share/7024d6c9-a46c-4fff-8ae4-de4f8fa196f8
CRACK WINDOWS
irm https://massgrave.dev/get iex
# list drive
lsblk
fdisk -l
# flash a drive
mkfs -t ext4 /dev/sdb
ASW pass : -YJc@QheOn@AqLYuFubKAF9I46xUrDKI