wiki:rpilinuxjesse
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:rpilinuxjesse [2016/07/23 19:22] – walkeradmin | wiki:rpilinuxjesse [2023/03/09 22:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
\\ | \\ | ||
This page is for the things I learn on my Linux travels. Mainly this (at the time of writing) due to several Linux based products in my workplace (CentOS based) and the truly amazing Raspberry Pi range. I have not yet decided whether to split the Linux page in to two sub categories to reflect this. | This page is for the things I learn on my Linux travels. Mainly this (at the time of writing) due to several Linux based products in my workplace (CentOS based) and the truly amazing Raspberry Pi range. I have not yet decided whether to split the Linux page in to two sub categories to reflect this. | ||
+ | \\ | ||
+ | \\ | ||
+ | The commands here will work regardless of the Raspberry Pi hardware (not sure about the compute module) but will work with the Raspberry Pi1/2/3 and Zero. | ||
\\ | \\ | ||
\\ | \\ | ||
[[Configure Static IP Address]]\\ | [[Configure Static IP Address]]\\ | ||
[[Command Line MySQL]]\\ | [[Command Line MySQL]]\\ | ||
- | [[UFW - Uncomplicated Firewall]] | + | [[UFW - Uncomplicated Firewall]]\\ |
- | + | [[Restart Apache2 Web Server]]\\ | |
- | + | [[Check Disk Space]]\\ | |
- | ===== Restart Apache2 Web Server | + | [[Change Password]]\\ |
- | \\ | + | |
- | \\ | + | |
- | From time to time it might be necessary to restart the Apache Web Server, normally this is required after a configuration change, or if a site has stopped. | + | |
- | \\ | + | |
- | \\ | + | |
- | From the command line: | + | |
- | \\ | + | |
- | //**sudo / | + | |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
- | ===== Check Disk Space ===== | + | |
- | \\ | + | |
- | \\ | + | |
- | Working from the command line has some disadvantages, | + | |
- | \\ | + | |
- | \\ | + | |
- | From the command line: | + | |
- | \\ | + | |
- | //**df -h**// --- (the -h means human readable format, so instead values being in bytes, they are displayed at MB or GB etc) | + | |
- | \\ | + | |
- | \\ | + | |
- | $ df -h\\ | + | |
- | \\ | + | |
- | Filesystem | + | |
- | / | + | |
- | devtmpfs | + | |
- | tmpfs | + | |
- | tmpfs | + | |
- | tmpfs | + | |
- | tmpfs | + | |
- | / | + | |
- | tmpfs 44M | + | |
- | \\ | + | |
- | \\ | + | |
- | \\ | + | |
- | ===== Change Password | + | |
- | \\ | + | |
- | \\ | + | |
- | To change the password for a user, when logged in as that user, from the command line enter: | + | |
- | \\ | + | |
- | \\ | + | |
- | //** sudo passwd pi **// --- (make sure you use the correct username, pi is just for the example) | + | |
- | \\ | + | |
- | you will then be prompted to enter, then re-enter the new password | + | |
- | \\ | + | |
- | \\ | + | |
- | //** | + | |
- | $ sudo passwd pi\\ | + | |
- | Enter new UNIX password:\\ | + | |
- | Retype new UNIX password:\\ | + | |
- | passwd: password updated successfully | + | |
- | **// | + | |
- | \\ | + | |
- | \\ | + | |
- | + |
wiki/rpilinuxjesse.1469298147.txt.gz · Last modified: 2023/03/09 22:35 (external edit)