Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-16T12:24:08.000Z (2 months ago)
- Last Synced: 2024-11-16T13:23:31.689Z (2 months ago)
- Language: Shell
- Size: 2.73 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 worksudo git clone [email protected]: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 testersudo 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.shsudo 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:clearsudo service apache2 restart
# laravel fix dependecies problem
https://chat.openai.com/share/7024d6c9-a46c-4fff-8ae4-de4f8fa196f8CRACK WINDOWS
irm https://massgrave.dev/get iex
# list drive
lsblk
fdisk -l
# flash a drive
mkfs -t ext4 /dev/sdbASW pass : -YJc@QheOn@AqLYuFubKAF9I46xUrDKI