User Tools

Site Tools


setting_up_the_odroid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

setting_up_the_odroid [2018/09/14 00:47] (current)
vk3smb created
Line 1: Line 1:
 +=====Initial Steps=====
 +These steps are needed before attempting asterisk installation:
 +  * Set your Odroid up with a static IP address
 +  * set the ntpd to start and update the time
 +  * Set a Super User Password
 +  * Make a normal user
 +  * Make sure you can SSH into the Pi.
 +
 +Now log in as the super user (root) and stay in the root home folder (/root/). Everything we are doing here is done in bash.  I suggest SSHing into it so you can copy and paste commands.
 +
 +====Stopping the GUI====
 +run the following command to stop the Odroid from booting into the GUI and hogging resources:
 +<code>ln -sf /usr/lib/systemd/system/runlevel3.target /etc/systemd/system/default.target</code>
 +
 +====Expanding the file system====
 +Run fdisk
 +<code>fdisk /dev/mmcblk0</code>
 +Press the following commands:
 +  * p(see starting block of p3, e.g. 1041016)
 +  * d (delete)
 +  * 3 (partition 3)
 +  * n (new)
 +  * p (primary)
 +  * 3 (partition 3)
 +  * 1041016 (starting block)
 +  * <enter> (it will take ending block as end partition, so you have entire space)
 +  * w (write partitions)
 +
 +Upon successful editing of the partition resize the image to the partition:
 +<code>resize2fs /dev/mmcblk0p3</code>
 +
 +Check the file system has been expanded:
 +<code>df -h</code>
  
setting_up_the_odroid.txt ยท Last modified: 2018/09/14 00:47 by vk3smb