Feeds:
Posts
Comments

Posts Tagged ‘simple’

Simple Samba Server

1. remote server pake ssh

#ssh 192.168.1.123

(klo muncul error warning : Remote Host Identification Has changed )

Fix : #sshkeygen -R 192.168.1.123

2. Lakukan instalasi #apt-get install samba

3. Edit configuration di /etc/samba/smb.conf masukan folder yg mo disharing

[Photograf]

path = /photograf

command =photograf

writable = yes

guest ok = yes

4. Buat user #smbpasswd -a sayah

5.Restart aplikasi #/etc/init.d/samba restart

Read Full Post »

Pake perintah shutdown

#shutdown 20:00

(Untuk mematikan komputer pada jam 8 malem)

#shutdown -c

(membatalkan proses schedule shutdown)

#shutdown -r now

 (restart skarang atau parameter now diganti waktunya)

Pake shortcutkey CTRL-ALT-DELt dimodif

#vim /etc/inittab

Script dibawah dirubah

ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

Menjadi

ca:12345:ctrlaltdel:/sbin/poweroff

or

ca:12345:ctrlaltdel:/sbin/shutdown 20:00

or

ca:12345:ctrlaltdel:/bin/echo “Punteun teu tiasa dipencet CTRL+ALT+DEL”

Read Full Post »