forked from Sophia/thelinuxlist
Merge branch 'main' of https://git.oldgate.org/Sophia/thelinuxlist
This commit is contained in:
commit
71cdecdd13
14
list.md
14
list.md
|
@ -1,5 +1,7 @@
|
||||||
|
|
||||||
# This has been retired. Please refer to the README.md for scripts.
|
# This has been retired. Please refer to the README.md for scripts.
|
||||||
|
# Some of these commands may not function as normal, I will NOT provide any compensation or support for commands that are run that cause things to break. Thanks for your understanding.
|
||||||
|
![SA Sig](https://sophiaatkinson.com/wp-content/uploads/2022/10/signature-blurple.svg)
|
||||||
_______________________________________________________________________
|
_______________________________________________________________________
|
||||||
## Update & Upgrade
|
## Update & Upgrade
|
||||||
|
|
||||||
|
@ -73,15 +75,25 @@ df -h
|
||||||
```
|
```
|
||||||
|
|
||||||
## You may need to do this if on virsion 22.04 or higher
|
## You may need to do this if on virsion 22.04 or higher
|
||||||
```fdisk``` -l (note it's partition 3 by looking at the current Size)
|
|
||||||
|
```fdisk -l``` (note it's partition 3 by looking at the current Size)
|
||||||
|
|
||||||
```parted```
|
```parted```
|
||||||
|
|
||||||
```Fix```
|
```Fix```
|
||||||
|
|
||||||
```3```
|
```3```
|
||||||
|
|
||||||
```100%```
|
```100%```
|
||||||
|
|
||||||
```quit```
|
```quit```
|
||||||
|
|
||||||
```pvresize /dev/sda3```
|
```pvresize /dev/sda3```
|
||||||
|
|
||||||
```lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv```
|
```lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv```
|
||||||
|
|
||||||
```resize2fs /dev/ubuntu-vg/ubuntu-lv```
|
```resize2fs /dev/ubuntu-vg/ubuntu-lv```
|
||||||
|
|
||||||
```df -h```
|
```df -h```
|
||||||
_________________________________________________________________________
|
_________________________________________________________________________
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ do
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
GITEA_VER="1.17.3"
|
GITEA_VER="1.17.4"
|
||||||
sudo systemctl stop gitea
|
sudo systemctl stop gitea
|
||||||
sudo apt-get install git -y
|
sudo apt-get install git -y
|
||||||
sudo ufw allow 3000
|
sudo ufw allow 3000
|
||||||
|
|
|
@ -35,4 +35,5 @@ apt install unzip -y
|
||||||
unzip latest.zip -d $INSTALL_DIR
|
unzip latest.zip -d $INSTALL_DIR
|
||||||
cp -r $INSTALL_DIR/wordpress/* $INSTALL_DIR
|
cp -r $INSTALL_DIR/wordpress/* $INSTALL_DIR
|
||||||
rm -rf $INSTALL_DIR/wordpress
|
rm -rf $INSTALL_DIR/wordpress
|
||||||
rm -rf latest.zip
|
rm -rf latest.zip
|
||||||
|
chmod -R 775 $INSTALL_DIR
|
Loading…
Reference in New Issue
Block a user