sudo apt-get update
sudo apt-get install git
git clone https://github.com/noorkhokhar99/Pc.git
ls
cd Pc
chmod +x setup.sh
./setup.sh
sudo nano /usr/share/X11/xorg.conf.d/xorg.conf
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x800"
EndSubSection
EndSection
sudo nano .bashrc
sudo python3.7 app.py
sudo python3.7 -m pip install flask
sudo nano /etc/netplan/01-netcfg.yaml
network:
version: 2
ethernets:
eno1:
dhcp4: no
addresses:
- 192.168.0.50/24
gateway4: 192.168.0.1
nameservers:
addresses:
- 8.8.8.8
- 8.8.4.4
sudo netplan apply