Show Menu
Cheatography

AMP (Application Management Panel) Cheat Sheet (DRAFT) by

AMP (Application Management Panel) is a simple to use, self-hosted web control panel for game servers that runs on both Windows and Linux systems with a focus on ease of use through its intuitive user interface and simple setup process.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

AMP

AMP system user
sudo su -l amp
Dwonload and install AMP
bash <(wget -qO- getamp.sh)

Ubuntu

See permis­sions of a file or directory
ls -l <name option­al>
Change permission of a file or directory
sudo chmod <ex­ample 777> <na­me>
Change Ownership
sudo chown <us­er>­:<g­rou­p> <fi­le/­dir­ect­ory>
Edid privilages
sudo visudo
Setup jenkins agent to start with system
sudo nano /etc/s­yst­emd­/sy­ste­m/j­enk­ins­-ag­ent.se­rvice
Show users
cat /etc/p­asswd
Add a New User
sudo adduser <us­ern­ame>
Delete a User
sudo deluser <us­ern­ame>
Service status
systemctl status <se­rvi­ce-­nam­e>
Start service
sudo systemctl start <se­rvi­ce-­nam­e>
Stop service
sudo systemctl stop <se­rvi­ce-­nam­e>
Check services settings
cd /etc/s­yst­emd­/system
 

CHMOD

value
read write execute
0
- - -
1
- - x
2
- w -
3
- w x
4
r - -
5
r - x
6
r w -
7
r w x
The first number represents the file’s owner.
The second number represents the file’s group.
The third number represents everyone else.
 

Jenkins

Restart
sudo systemctl restart jenkins
Check if the agent is running
sudo systemctl status jenkin­s-agent
Restart agent on VM
sudo systemctl daemon­-reload sudo systemctl enable jenkin­s-agent sudo systemctl start jenkin­s-agent
Setup Jenkins agent to start with system
sudo nano /etc/s­yst­emd­/sy­ste­m/j­enk­ins­-ag­ent.se­rvice
Check Jenkins Logs
sudo journalctl -u jenkins
Enable Jenkins to Start on Boot
sudo systemctl enable jenkins

Nginx SSL Config­uration

Generate SSL Certif­icate with Certbot
sudo certbot --nginx -d yourdo­mai­n.com
Test Nginx Config­uration
sudo nginx -t
Reload Nginx
sudo systemctl reload nginx