install ssh
install samba server
add user
$ smbpasswd -a [user]
edit /etc/samba/smb.conf for adding smb configuration for new user
for example
[dokyun]
comment = dokyun private
browseable = yes
path = /home2/dokyun
guest ok = no
writable = yes
create mask = 0755
for multi-user add below
valid users = dokyun redbomb ...
restart samba server
$smbd restart
install build tool
vim install
It fixs the strange operation of special key input on vi
install vnc server
$ apt-get install vnc4server
create vnc server on 5901 port
$ vnc4server -geometry 1024x768 :1
If you want to see exactly same gui with gnome follow this
1.stop vncserver
2. open ~.vnc/xstartup
3. uncommnet below 2 lines
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
4. change
exec /etc/X11/xinit/xinitrc
to
exec sh /etc/X11/xinit/xinitrc
5. save and exit
6. restart vnc server
install TFTP server
$ apt-get install tftp
$ apt-get install tftpd
Ubutu dose not create /etc/xinetd.d/tftp automatically , in Fedora case it created automatically.
Create and edit /etc/xinetd.d/tftp
Add below
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
restart xinetd
$ /etc/init.d/xinetd restart
install NFS server
$ apt-get install nfs-kernel-server
add export directory , add below in /etc/export
/targetnfs *(rw,no_root_squash,no_all_squash,async)
restart nfs server
$ /etc/init.d/nfs-kernel-server restart
install ftp server
edit /etc/vsftpd.conf, uncomment below
local_enable=YES ==> for local user log in
write_enable=YES ==> allow up-load
anonymous_enable=NO ==> do not allow anonymous log in
restart ftp server
$ /etc/init.d/vsftpd restart
댓글 없음:
댓글 쓰기