Hetzner 2016 Log: Difference between revisions
Jump to navigation
Jump to search
(→Links) |
|||
Line 44: | Line 44: | ||
*links https://sourceforge.net/projects/webadmin/files/webmin/ | *links https://sourceforge.net/projects/webadmin/files/webmin/ | ||
*https://sourceforge.net/projects/webadmin/files/webmin/1.801/webmin-1.801-1.noarch.rpm/download | *https://sourceforge.net/projects/webadmin/files/webmin/1.801/webmin-1.801-1.noarch.rpm/download | ||
mv download webmin-1.801-1.noarch.rpm | *mv download webmin-1.801-1.noarch.rpm | ||
*rpm -ivh webmin*rpm | *rpm -ivh webmin*rpm | ||
*yum install webmin | *yum install webmin | ||
*uyname -a - tells operating system | *uyname -a - tells operating system | ||
Line 54: | Line 52: | ||
*yum install wordpress | *yum install wordpress | ||
* | * | ||
=Links= | =Links= | ||
*Top 20 commands - [http://www.tecmint.com/useful-linux-commands-for-newbies/] | *Top 20 commands - [http://www.tecmint.com/useful-linux-commands-for-newbies/] |
Revision as of 03:36, 1 June 2016
Tue May 31, 2016
http://www.tecmint.com/things-to-do-after-minimal-rhel-centos-7-installation/6/
- Log in to Hetzner -
- Tom - SSH to hetzner
- SSH root@ not recommended. Log in, then login as root.
- ssh my login -p portnumber name @138.201.84.223
- Port number is for safety, so it's not 22, the usual port
- Reliable Package Manager - RPM -
- rpm -qa | sort
- sudo su - to operate as root
- su root - needs root password -
- rpm -qa | grep webmin - searches if webmin is installed
- yum install perl-Net-SSLeay
- yum update
- yum upgrade
- yum install firewalld
- systemctl enable firewalld
- systemctl start firewalld
- yum install httpd
- systemctl enable httpd.service
- systemctl start httpd.service
- firewall-cmd --add-service=http
- firewall-cmd --add-port=80/tcp –permanent
- systemctl stop firewalld
- firewall-cmd --add-port=32415/tcp
- firewall-cmd --reload
- yum install links - text web browser
- links http://127.0.0.1/
- yum install php
- systemctl restart httpd.service
- echo -e "<?php\nphpinfo();\n?>" > /var/www/html/phpinfo.php - this wrote one
- links http://127.0.0.1/phpinfo.php - i ran the php script
- yum install mariadb-server mariadb
- systemctl enable mariadb.service
- systemctl start mariadb.service
- yum install wget
- wget http://mysqltuner.pl/ -O mysqltuner.pl
- Yum install nmap
- nmap 127.0.0.1
- yum install telnet
- telnet google.com 80
- links https://sourceforge.net/projects/webadmin/files/webmin/
- https://sourceforge.net/projects/webadmin/files/webmin/1.801/webmin-1.801-1.noarch.rpm/download
- mv download webmin-1.801-1.noarch.rpm
- rpm -ivh webmin*rpm
- yum install webmin
- uyname -a - tells operating system
- https://138.201.84.223:10000/
- ail -f /var/log/messages
- yum install wordpress
Links
- Top 20 commands - [1]