We're no longer updating This wiki!!

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:xu4_cloudshell2:software_settings [2017/05/19 18:24]
brian.kim
en:xu4_cloudshell2:software_settings [2017/06/01 11:13] (current)
brian.kim
Line 77: Line 77:
 LABEL=boot /media/boot vfat defaults 0 1 LABEL=boot /media/boot vfat defaults 0 1
 /​dev/​sda ​      /​media/​hdd ext4 defaults ​   0 1 /​dev/​sda ​      /​media/​hdd ext4 defaults ​   0 1
 +</​code>​
 +<​code>​
 +# mount /media/hdd
 </​code>​ </​code>​
 * PM mode * PM mode
Line 89: Line 92:
 /​dev/​sda ​      /​media/​hdd1 ext4 defaults ​   0 1 /​dev/​sda ​      /​media/​hdd1 ext4 defaults ​   0 1
 /​dev/​sdb ​      /​media/​hdd2 ext4 defaults ​   0 1 /​dev/​sdb ​      /​media/​hdd2 ext4 defaults ​   0 1
 +</​code>​
 +<​code>​
 +# mount /media/hdd1
 +# mount /media/hdd2
 </​code>​ </​code>​
  
Line 95: Line 102:
 <​code>​ <​code>​
 # echo "/​bin/​false"​ >> /etc/shells # echo "/​bin/​false"​ >> /etc/shells
-# useradd cloudshell-d /media/hdd -s /bin/false+# useradd cloudshell -d /media/hdd -s /bin/false
 # passwd cloudshell # passwd cloudshell
 (Set the password of cloudshell) (Set the password of cloudshell)
 # chown cloudshell.cloudshell –R /media/hdd/ # chown cloudshell.cloudshell –R /media/hdd/
 # chmod 755 -R /media/hdd/ # chmod 755 -R /media/hdd/
-# reboot 
 </​code>​ </​code>​
 * PM mode * PM mode
 <​code>​ <​code>​
 # echo "/​bin/​false"​ >> /etc/shells # echo "/​bin/​false"​ >> /etc/shells
-# useradd cloudshell-d /​media/​hdd1 ​-s /​bin/​false +# useradd cloudshell -d /media/hdd1 -s /bin/false
-# useradd cloudshell-d /​media/​hdd2 ​-s /bin/false+
 # passwd cloudshell # passwd cloudshell
 (Set the password of cloudshell) (Set the password of cloudshell)
Line 113: Line 118:
 # chmod 755 -R /​media/​hdd1/​ # chmod 755 -R /​media/​hdd1/​
 # chmod 755 -R /​media/​hdd2/​ # chmod 755 -R /​media/​hdd2/​
-# reboot 
 </​code>​ </​code>​
  
Line 159: Line 163:
 force user = cloudshell force user = cloudshell
 </​code>​ </​code>​
- 
-<WRAP center round tip 100%> 
-**12 and 13 step is for samba performance optimization** 
-</​WRAP>​ 
  
 **12. Add the configurations below to the [global] section of the ///​etc/​samba/​smb.conf//​ file.** [On ODROID-XU4] **12. Add the configurations below to the [global] section of the ///​etc/​samba/​smb.conf//​ file.** [On ODROID-XU4]
Line 173: Line 173:
 </​code>​ </​code>​
  
-**13. Add the system configurations to ///​etc/​rc.local//​ file.** [On ODROID-XU4] 
-<​code>​ 
-ifconfig eth0 mtu 6975 
-echo 5 > /​proc/​irq/​$(cat /​proc/​interrupts | grep 104 | awk -F : '​{print $1}'​)/​smp_affinity_list 
-echo 6 > /​proc/​irq/​$(cat /​proc/​interrupts | grep 105 | awk -F : '​{print $1}'​)/​smp_affinity_list 
-echo f > /​sys/​class/​net/​eth0/​queues/​rx-0/​rps_cpus 
-</​code>​ 
  
-**14. Install CloudShell-2 specific packages: enable LCD, FAN and IR.**+**13. Install CloudShell-2 specific packages: enable LCD, FAN and IR.**
 -> Refer to [[en:​xu4_cloudshell2|Cloudshell-2 wiki page]] -> Refer to [[en:​xu4_cloudshell2|Cloudshell-2 wiki page]]
  
-**15. Reboot and done!**+**14. Reboot and done!**
 <​code>​ <​code>​
 # reboot # reboot
 </​code>​ </​code>​
en/xu4_cloudshell2/software_settings.1495187679.txt.gz · Last modified: 2017/05/19 18:24 by brian.kim
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0