Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Iotproject
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ANTO SAGAYA JUSTIN R
Iotproject
Commits
5ff683e7
Commit
5ff683e7
authored
2 weeks ago
by
ANTO SAGAYA JUSTIN R
Browse files
Options
Downloads
Patches
Plain Diff
Update Domain
parent
c87ffc51
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
create venv file/create venv file.txt
+29
-35
29 additions, 35 deletions
create venv file/create venv file.txt
with
29 additions
and
35 deletions
create venv file/create venv file.txt
+
29
−
35
View file @
5ff683e7
Domain Full Setup:
1. Download first any webpage zip file use this site ( codepen )
2. Create ( htdocs ) -> folder and past the Download webpade and (unzip)
3. Copy webpade disk folder path ( cd htdocs/webpade-folder/disk ) and pwd (print working directory)
4. Copy that working directory path.
5. Create folder call htconfig. Create file call domain name.conf example ( animation.conf ).
6. Past that working directory path ( Document Root and Directory).
7. Set server name call ServerName animation.selfmade.cool
( ServerAlias www.animation.selfmade.lol responsive.selfmade.ninja ) multiple ServerName.
Start domain apache server cmd:
sudo a2ensite animation.selfmade.cool
Apache server restart cmd:
sudo service apache2 restart.
Check any syntax error cmd:
apachectl configtest
=> syntax ok
Any python packages installing to environment error:
Any python packages installing to environment error:
sudo aptget install colour --break-system-packages
sudo aptget install colour --break-system-packages
vs code remote ssh connecting error on raspberry pi:
sudo rm -r .vscode* ( This command remove vs code server file on RPI.)
This is linux cmd:
rm -f ~/ .ssh/known_hosts ( warning remot host identification has changed delete old known_hosts.)
Create a Venv File:
Create a Venv File:
python -m venv iotcloud
python -m venv iotcloud
Activate This Venv File:
Activate This Venv File:
source iotcloud/bin/activate
source iotcloud/bin/activate
Git command meaning:
Git command details:
1. git push origin master ( pushes the local master branch to the remote repository. )
1. git push origin master/main ( pushes the master branch. )
2. git push origin main ( git push to main branch. )
2. git remote -v ( View in your Current remote repositories URL.)
3. git remote -v ( your record of remote repositories.)
3. git status ( view git current status.)
WireGuard Private key command info:
sudo chmod go= /etc/wireguard/private.key
info: The sudo chmod go=... command removes any permissions
on the file for users and groups other than the root user to
ensure that only it can access the private key.
sudo cat /etc/wireguard/private.key | wg pubkey | sudo tee /etc/wireguard/public.key
This command consists of three individual commands that
are chained together using the | (pipe) operator:
1.sudo cat /etc/wireguard/private.key: this command reads the private key
file and outputs it to the standard output stream.
2.wg pubkey: the second command takes the output from the first command as
its standard input and processes it to generate a public key.
3.sudo tee /etc/wireguard/public.key: the final command takes the output
of the public key generation command and redirects it into the file named /etc/wireguard/public.key.
vs code remote ssh connecting error on raspberry pi:
sudo rm -r .vscode* ( This command remove vs code server to RPI.)
This is linux cmd:
rm -f ~/ .ssh/known_hosts ( warning remot host identification has changed delete old known_hosts.)
Linex System PC Full Information Command:
Linex System PC Full Information Command:
/proc/cpuinfo
/proc/cpuinfo
...
@@ -47,11 +46,6 @@ python strip function:
...
@@ -47,11 +46,6 @@ python strip function:
1. your code or any input valu for example cpuinfo and whoami any tab space to your code error.
1. your code or any input valu for example cpuinfo and whoami any tab space to your code error.
2. use strip to illuminate the extra spaces.
2. use strip to illuminate the extra spaces.
Flask redirect package:
This is a basic illustration of redirection in Flask.
You can redirect to any route within your Flask application using the redirect() function.
combined with url_for() to specify the route's endpoint.
vs code shortcuts:
vs code shortcuts:
Alt+up arow = move line.
Alt+up arow = move line.
ctl+shift+enter = empty line for befor line.
ctl+shift+enter = empty line for befor line.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment