Você está na página 1de 28

Linux Authentication Server

ClearOS 5.2 + KruComChan_v1.0


17
[KruComChan] |
.17


17


17 Open Source
(Authentication)
(Account)
(Password)


.. 2550

17 KruComChan_v1.0

.17

[KruComChan] |
.17

Authentication Server
ClearOS 5.2
RUN Script
Software Linux Server
KruComChan_v1.0
Authentication
Linux
ICT

[KruComChan] |
.17

1
2
13
14
15
17
19
24
24

Authentication Server
1. Server ( PC ) 1
- Interface Adapter () 2
2. 1 Modem/Router
3. CD ClearOS Enterprise-5.2-Service-Pack-1 Download
ClearOS 5.2 ISO (32-bit)
- http://www.clearfoundation.com/Software/downloads.html
- http://download.clearfoundation.com/clearos/enterprise/5.2/iso/clea
ros-enterprise-5.2-service-pack-1.iso
4. KruComChan_v1.0.tar.gz Download
- http://www.bms.ac.th/bmsftp/linux/KruComChan_V1.0.tar.gz
5. Software Linux Server
- FileZilla FTP/SSH Server
Download http://filezilla-project.org/
- PuTTy Server Telnet
SSH (secure shell)
Download http://www.putty.org/
6. PC ( Notebook ) 1 Server
(Client PC Control)

[KruComChan] |
.17

ClearOS 5.2
1. CD ClearOS 5.2 Boot CD-ROM
Enter

2. English OK

[KruComChan] |
.17

3. Keyboard Type us OK

4. Local CDROM OK

[KruComChan] |
.17

5. Install OK

6. ClearOS OK

[KruComChan] |
.17

7. System Mode Gateway mode OK

8. Ethernet OK

[KruComChan] |
.17

9. (*) Manual configuration OK

10. Internet IP Address


OK

[KruComChan] |
.17

11. IP Address OK

12. root OK

[KruComChan] |
.17

13. Use default OK

14. Standard Modules


- [ * ] Graphical Console

[KruComChan] |
.17

15. Standard Modules


- [ * ] Web Proxy
- [ * ] Web Server
- [ * ] Database Server / MySQL

16. Done

[KruComChan] |
.17

17. ClearOS Module

18. Formatting

[KruComChan] |
.17

10

19. Module / Package

20. 5

[KruComChan] |
.17

11

21. 100 %

22. CD-ROM Drive Enter


Reboot

[KruComChan] |
.17

12

RUN Script KruComChan_v1.0


1. Login Username : root Password : ******

2. Installation Wizard Language,Network,Time


Zone,Domain
3. IP Address , DNS
Bridge mode (Interface ppp0)

[KruComChan] |
.17

13

Software Linux Server


1. FileZilla FTP/SSH Server
Download http://filezilla-project.org/

2. PuTTy Server Telnet


SSH (secure shell) Download
http://www.putty.org/

[KruComChan] |
.17

14

KruComChan_v1.0
1. Modem/Router Server
Network adapter 1 (eth0,ppp0)
2. Server Network adapter 2 (eth1)
Switch/Hub Switch/Hub
Administrator (Client PC Control)

3. Server ping
#ping www.google.com

[KruComChan] |
.17

15

4. IP Address ( 10.0.1.10)
Administrator (Client PC Control) Network adapter
2 (eth1) Server
5. Upload KruComChan_v1.0.tar.gz Server Directory /root
FileZilla
6. PuTTy Login Username : root Password:******

- ls KruComChan_v1.0.tar.gz

#ls

- Unzip KruComChan_v1.0.tar.gz Directory KruComChan_v1.0


#tar zxvf KruComChan_v1.0.tar.gz

- Directory KruComChan_v1.0
#cd KruComChan_v1.0

- config
#vi config

[KruComChan] |
.17

16

- RUN config
#./config

- RUN install Script Module


/ Package Server

#./install

- Script Server Reboot


Authentication
Authentication for School PHP Script .

[KruComChan] |
.17

17

Excel

,
AP ()
/
Server
MySQL

[KruComChan] |
.17

18

Linux
Linux :: Linux Directory

Syntax

Content

root directory

/bin

directory

/lib

directory run-time library

/etc

directory config

directory device driver

/dev
/tmp

directory

directory ( system log )

directory directory

/var
/home
/usr

directory

directory

/usr/local

Linux :: Directory Command

Syntax

Content

ls

ls l

ls a

hidden

cp source target

[KruComChan] |
.17

19

cp r source target

sub-directory

cp v source target

mv source target

mv v source target
rm source

rm r source

sub-directory

rm v source

cat source

pwd

directory

cd dirname

directory

mkdir dirname

directory

mkdir p dirname1 dirname2


dirnameN
rmdir dirname

directory

find start_dirname name


word print
which filename

directory ( directory
)
word
start_dirname

Linux :: Backup Data Command

Syntax
tar cvf
tar xvf

Content
(
)
tar-filename

[KruComChan] |
.17

20

compress

.Z

uncompress

gzip

.gz

gunzip

gz

Linux :: User Command

Syntax

Content

who

login

passwd

passwd username
write username

user (
super user )
user

mesg n

mseg y

talk username

mail

chat user

mail user (
)
email prompt email

exit

logout

init 0

shutdown

shutdown h now

shutdown

init 6

reboot

mail username

[KruComChan] |
.17

21

reboot

reboot

useradd u -g -d -s - user
m loginname
userdel loginname user
Linux :: Permission Command

Syntax

Content

chmod [u/g/o]<+/-> < r/w/x > filename

chown new-owner file-name

chgrp new-group file-name

Linux :: VI Command

Syntax

Content

vi

vi filename
I

vi 2 command
mode insert mode

command mode insert mode

[KruComChan] |
.17

22

nG

1 cursor

: http://www.function.in.th/

[KruComChan] |
.17

23

ICT
Authentication
KruComChan_v1.0 17
1.
2.
3.
4.
5.
6.
7.
8.
9.


.17

linuxthai.org
Install Script Auto
o Evolution Install Basic Scripts By : Gigazaa
o Evolution Install Basic Scripts By : Nattapong Lertvichitchanya
o Development & Modify By : Mr.Karun Bunkhrob
o Development & Modify By : Rewjang
o Development & Modify By : KruComChan

[KruComChan] |
.17

24


[KruComChan]
[KruComChan] |


.17
http://www.chantrad.go.th/

25

Você também pode gostar