Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thetechguy44/linux-commands


https://github.com/thetechguy44/linux-commands

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

DIR="/var/www"
LOCATION="hidden"

cd /var/www/ng
# Folder for git work

sudo 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 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