2016-01-29

Debian, OneTwoThreeThings

001- Change root password.
$ sudo passwd root
002- GUI text editer.
# leafpad textfile
003- CLI text edite.
note: ctrl+o == to save, ctrl+x to exit
# nano textfile
004- install vim.
# apt-get install vim
005- vi, difficult using on Debian.
# vi textfile
006- Pi, config tool.
# raspi-config
007- SSH, allow remote login through root.
# vim /etc/ssh/sshd_config
FROM: PermitRootLogin without-password TO: PermitRootLogin yes

# /etc/init.d/ssh restart
008- Pi, Resize Terminal Font size.
# dpkg-reconfigure console-setup
Choose [UTF-8]==>[Guess optimal character set]==>[Terminus]==>[14x28 (framebuffer only)]==>Enter

009- Pi, VNC server installation.
apt-get install tightvncserver
010- Pi, TCL/TK required.
#apt-get install tcl8.5-dev
#apt-get install tk8.5-dev

097- Samba, installation.
(config file: /etc/samba/smb.conf)
#apt-get install samba
098- Samba, commands.
# /etc/init.d/samba restart (start, stop, status,...)
099- Samba, parameters of first sharing
# useradd user1
# smbpasswd -a user1
# vim /etc/samba/smb.conf

[worktmp]
         comment = Hello guys
         path = /worktmp
         writable = yes
         valid users = user1
         create mask = 0700
         directory mask = 0700

沒有留言:

張貼留言