Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
rpi_common [2020/07/28 08:24] โ [Configure wireless connection] Jรบne Park | rpi_common [2024/04/18 08:50] โ Jรบne Park | ||
---|---|---|---|
Line 1: | Line 1: | ||
< | < | ||
* {{fa> | * {{fa> | ||
- | * [[:rpi_common|โ General Things on Raspbian]]ย | + | * [[rpi_common|โ General Things on Raspbian]]ย |
- | * [[:rpi_autism|Media Ditorium โ AUTiSM Rainbow]]ย | + | * [[rpi_nimbus|๐๐ข๐๐๐๐ ๐๐๐น๐๐๐๐]]ย |
- | * [[:rpi_epigen|Private Cellarium โ EPiGEN Crystal]]ย | + | * [[debian_common|โ General info on Debian Linux]]ย |
- | * [[:rpi_nimbus|Webius Officium โ NiMBUS deBlanc]]ย | + | * [[deb_cicada|๐๐ข๐๐๐๐ ๐๐๐ฉ๐ ๐ฅ๐ฆ๐]]ย |
- | * [[: | + | * [[deb_mutism|๐๐๐๐ข๐๐ ๐๐๐๐๐ฆ๐]] ย |
- | * [[:deb_mutism|Opus Imperium โ MUTiSM Magnum]]ย | + | * [[deb_gilead|๐๐ข๐๐๐๐ ๐ธ๐ฃ๐๐๐๐ฅ๐]] ย |
- | * [[:deb_gilead|Actu Periculum โ GiLEAD Argenta]]ย | + | * [[deb_symbio|๐๐๐๐๐ข๐ โ๐ ๐๐๐ฅ๐ฆ๐ค]]ย |
- | * [[:deb_debris|Finca LaDichium โ DEBRiS Chrome]] | + | * [[deb_tardis|๐๐๐๐๐ข๐ ๐๐ก๐๐ฅ๐๐ฆ๐]] ย |
+ | * [[deb_debris|๐๐๐๐๐ข๐ โ๐๐ฃ๐ ๐๐]] | ||
* {{fa> | * {{fa> | ||
* [[: | * [[: | ||
* [[: | * [[: | ||
- | * [[: | ||
* [[: | * [[: | ||
- | * [[: | ||
* {{fa> | * {{fa> | ||
* [[: | * [[: | ||
- | * [[: | + | * [[CELL_EPiCON|๐๐๐ข๐๐๐ ๐ฝ๐]] ย |
- | * [[: | + | * [[CELL_EPiMER|๐๐๐ข๐๐๐ ๐ก]] ย |
- | * [[: | + | * [[CELL_EPiLUX|๐๐๐ข๐๐๐ ๐]] |
- | * [[: | + | * [[CELL_EPiTAP|๐๐๐ข๐๐๐ ๐๐]] ย |
- | * [[: | + | * [[CELL_EPiETA|๐๐๐ข๐๐๐ ๐]] |
</ | </ | ||
Line 75: | Line 74: | ||
<code bash> | <code bash> | ||
- | | + | sudo passwd root |
</ | </ | ||
Line 91: | Line 90: | ||
<code autoconf> | <code autoconf> | ||
- | | + | # User privilege specificationย |
- | root ALL=(ALL: | + | root ALL=(ALL: |
- | userid | + | userid |
</ | </ | ||
Line 126: | Line 125: | ||
sudo rpi-update | sudo rpi-update | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Mount external disk(s) ==== | ||
+ | |||
+ | Check attached or plugin devices using | ||
+ | |||
+ | <code bash> | ||
+ | sudo blkid | ||
+ | </ | ||
+ | |||
+ | === Format the disk with ext4 === | ||
+ | |||
+ | <code bash> | ||
+ | sudo mkfs.ext4 / | ||
+ | </ | ||
+ | |||
+ | === Mount NTFS formatted disk === | ||
+ | |||
+ | NTFS format has little advantage under Linux system but could mount it as well | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt-get install ntfs-3g | ||
+ | </ | ||
+ | |||
+ | Formatting disk with NTFS | ||
+ | |||
+ | <code bash> | ||
+ | mkfs.ntfs -Q -L diskLabel /dev/sdXY | ||
+ | </ | ||
+ | |||
+ | === Disk mount at booting === | ||
+ | |||
+ | Edit ''/ | ||
+ | |||
+ | Append line(s) with device' | ||
+ | |||
+ | <code ini> | ||
+ | UUID=" | ||
+ | </ | ||
+ | |||
+ | Reboot the system and check the disk mounted. | ||
---- | ---- | ||
Line 191: | Line 232: | ||
---- | ---- | ||
- | ==== Mount external disk(s) | + | ==== Set Google Public NTP ==== |
- | Check attached or plugin devices using ย | + | <accordion>ย |
- | ย | + | <panel title="Under review"> |
- | <code bash> ย | + | |
- | sudo blkidย | + | |
- | </code> ย | + | |
- | ย | + | |
- | === Format the disk with ext4 ===ย | + | |
- | ย | + | |
- | <code bash> ย | + | |
- | sudo mkfs.ext4 /dev/sdXY ย | + | |
- | </ | + | |
- | ย | + | |
- | === Mount NTFS formatted disk ===ย | + | |
- | ย | + | |
- | NTFS format has little advantage under Linux system but could mount it as well ย | + | |
- | ย | + | |
- | <code bash> ย | + | |
- | sudo apt-get install ntfs-3gย | + | |
- | </ | + | |
- | ย | + | |
- | Formatting disk with NTFS ย | + | |
- | ย | + | |
- | <code bash> ย | + | |
- | mkfs.ntfs -Q -L diskLabel /dev/sdXYย | + | |
- | </ | + | |
- | ย | + | |
- | === Disk mount at booting ===ย | + | |
- | ย | + | |
- | Edit ''/ | + | |
- | ย | + | |
- | Append line(s) with device' | + | |
- | ย | + | |
- | <code ini>ย | + | |
- | UUID="dd7c1879-68c5-e9b9-bad6-789d3b8db984" | + | |
- | </code> ย | + | |
- | ย | + | |
- | Reboot the system and check the disk mounted. ย | + | |
- | ย | + | |
- | ----ย | + | |
- | ย | + | |
- | ==== Set Google Public NTP ==== | + | |
Use either '' | Use either '' | ||
Line 260: | Line 262: | ||
sudo service ntp reload | sudo service ntp reload | ||
</ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
---- | ---- | ||
Line 272: | Line 277: | ||
* '' | * '' | ||
+ | |||
+ | * '' | ||
---- | ---- | ||
- | ==== Colorful | + | ==== Time stamp prompt ==== |
Edit '' | Edit '' | ||
Line 299: | Line 306: | ||
Edit ''/ | Edit ''/ | ||
- | <button type="info" size=" | + | <button type="danger" size=" |
Create '' | Create '' | ||
Line 311: | Line 318: | ||
Script shows the information of the attached disks, which also reminds whether disk is mounted or not. | Script shows the information of the attached disks, which also reminds whether disk is mounted or not. | ||
+ | |||
+ | <code ini> | ||
+ | Mounted on | ||
+ | / | ||
+ | / | ||
+ | </ | ||
---- | ---- | ||
==== Move directories & files using rsync ==== | ==== Move directories & files using rsync ==== | ||
+ | |||
+ | < | ||
+ | <panel title=" | ||
'' | '' | ||
Line 326: | Line 342: | ||
After running '' | After running '' | ||
+ | </ | ||
+ | </ | ||
---- | ---- | ||
- | ==== hash sum mismatch during apt-get update ==== | ||
- | This problem has something | + | ==== Upgrade Raspbian from Jessie |
- | <code bash> ย | + | [[https://www.raspberrypi.org/forums/viewtopic.php? |
- | sudo vi /etc/apt/source.lists ย | + | |
- | </code> ย | + | |
- | ย | + | |
- | Remove downloaded repository information from the '' | + | |
<code bash> | <code bash> | ||
- | sudo rm -rf /var/lib/apt/lists/*ย | + | sudo apt update ย |
- | </ | + | sudo apt dist-upgrade |
- | ย | + | |
- | Change mirror address seemingly to be fast. ย | + | |
- | ย | + | |
- | [[https:// | + | |
- | ย | + | |
- | This is a kind of temporary problem due to network condition. ย | + | |
- | ย | + | |
- | ---- ย | + | |
- | ==== Upgrade Raspbian from Jessie to Stretch ==== ย | + | |
- | [[https:// | + | |
- | [[https:// | + | |
- | ย | + | |
- | <code bash>ย | + | |
- | sudo apt-get | + | |
- | sudo apt-get upgrade ย | + | |
- | | + | |
</ | </ | ||
Line 362: | Line 359: | ||
<code bash> | <code bash> | ||
- | | + | sudo dpkg -C |
</ | </ | ||
Line 368: | Line 365: | ||
<code bash> | <code bash> | ||
- | | + | sudo apt-mark showhold |
</ | </ | ||
- | Packages showing '' | + | Packages showing '' |
+ | |||
Replace '' | Replace '' | ||
<code bash> | <code bash> | ||
- | | + | sudo sed -i ' |
</ | </ | ||
Line 381: | Line 379: | ||
<code bash> | <code bash> | ||
- | | + | lsb_release -a |
</ | </ | ||
Line 439: | Line 437: | ||
sudo reboot | sudo reboot | ||
</ | </ | ||
- | |||
---- | ---- | ||
- | ==== Customize login messages ==== | ||
- | edit or append ''/ | ||
- | |||
- | For example touch ''/ | ||
- | |||
- | <code bash> | ||
- | #!/bin/sh | ||
- | printf " | ||
- | df -h /dev/sd* --out=target, | ||
- | printf " | ||
- | </ | ||
- | |||
- | shows size of disk, used and available capacities of '' | ||
- | |||
- | <code ini> | ||
- | Mounted on | ||
- | / | ||
- | / | ||
- | </ | ||
- | |||
- | ---- |