WysiwygPlugin? / kuputwiki.css" type = text / css. rel = stylesheet> WysiwygPlugin? / kuputwiki.css" type. = text / css rel = stylesheet> WysiwygPlugin? / kuputwiki. . css "type = text / css rel = stylesheet> WysiwygPlugin? / kuputwiki.css "type = text / css rel = stylesheet> WysiwygPlugin? / kuputwiki.css "type = text / css rel = stylesheet> WysiwygPlugin? / kuputwiki.css" type = text / css rel = stylesheet> WysiwygPlugin? / kuputwiki.css" type = text / css rel = stylesheet. > WysiwygPlugin? / kuputwiki.css" type = text /. css rel = stylesheet> WysiwygPlugin? / kuputwiki.css". type = text / css rel = stylesheet>.
Ticket information.
* Name Kosol really beautiful light.
* Nickname Nong.
* Mae Fah Luang University.
* Responsibility. Config data from system via Router.
* Period 1 November 2549 to 28 February 2550 (4 months, all I; this promotion as long as as ... ..).
* I take care of (but not to look) I Joker (Thanachai) (this time do not always go on .. ára).
In each calendar month.
Month November 2549 (the first month of training .. .. excited excited excited).
* 1 November 2006 *.
* Held in NTL Group divided into five categories, which have been assigned.
* Discuss about each person must be made.
* 2 November 2006 *.
* Talk of a new job description as assigned.
* Get in the config router responsible for the study.
* 3 November 2006 *.
* Education to write perl script.
* Learn to Telnet to the server.
* 6 November 2006 *.
* Header line to LAN.
* To Windows and programs.
* For details of the work assigned.
* For details of the use TFTP to retrieve data from the server.
* 7 November 2006 *.
* Study the config router command more.
* Learn how to recover data when the server router server crashes ... from the real
* Study the use of the perl script Telnet config router.
* 8 November 2006 *.
* Education config router command in rommon mode.
* Training of recovery router.
* 9 November 2006 *.
* Training to restore the router.
* Learn how to use program SSH Secure Shell Client to config router.
* Study the config router command more.
* 10 November 2006 *.
* Learn how to use program SSH Secure Shell Client to config router.
* Study the basic commands to play on the Linux operating system and Unix.
* Learn how to use the program SSH Secure Shell Client spontaneous
* 13 November 2006 *.
* Study the basic commands to play on Linux and Unix operating systems more.
* Study of Writing Shell script to extract data from the router to the server.
* Writing shell script to vi on your server.
* 14 November 2006 *.
* Writing web language education [[http://www.php.net] [PHP]].
* Writing shell script to extract data from a router in the various
* Writing script php to telnet into the router to a shift Amideamiragri router.
* 15 November 2006 *.
* Writing web language education [[http://www.phpthailand.com] [PHP]] more.
* Training to ..(-__-") php engine so many times.
* 16 November 2006 *.
* More training to php engine.
* Writing web page with php.
* Writing php code to retrieve some data from the database to be displayed on the web.
* 17 November 2006 *.
* Writing php code to retrieve some data from the database.
* Revised Code to allow real
* 20 November 2006 *.
* Writing web code and script php to create a form to communicate with each other.
* Writing script php on the server to absorb vi file config from router.
* 21 November 2006 *.
* Practice into various MySQL and php engine.
* Training to set the config file to be relevant.
* Writing a code php to use the session to count the pages.
* 22 November 2006 *.
* Study the commands to be used in MySQL.
* Pro gram to set the value to use MySQL and the MySQL database can be used.
* 23 November 2006 *.
* Write a web interface on the database. Adding data To the database.
* Write a web interface on the database to retrieve data from MySQL to run on the web.
* 24 November 2006 *.
* Write a web interface database in a matter of editing the database.
* Write a web database interface in terms of negative information in databases.
* 27 November 2006 *.
* Make the subject of update data in MySQL.
* Progress report to my administrator. To improve.
* 28 November 2006 *.
* Education to write script PHP to communicate with different port.
I wrote the script PHP ping ip of the page.
* 29 November 2006 *.
I wrote the script PHP ping and graphic display of the status of the pin interface to the ping.
* 30 November 2006 *.
I wrote the script PHP to ping.
* See order form for each show and take it to choose whether to use any command.
Month December 2549 (started to tense situation ...).
* 1 December 2006 *.
I wrote the script PHP ping from the original.
* Learn how to use SFTP commands to send files up to the server.
* 4 December 2006 *.
* Studies show commands in different ways. In order to extract information it displays.
I wrote the script PHP ping from the original.
* 6 December 2006 *.
* Learn how to use SFTP commands to send files up to the server.
* Report on the progress of the project to my administrator.
* 7 December 2006 *.
* Write a script ping to the pin interface of the router and server.
* Learn how to use SFTP commands to send files up to the server.
* 8 December 2006 *.
* Write a command to retrieve data from the file config access-list in the database.
* Added a view of the SNMP data from the database file config on the page.
* 12 December 2006 *.
* Study in order to extract crontab script ping that have been created.
* Create a login page with a logout Plan webpage.
* 13 December 2006 *.
* Oops, I have not thought eh
* 14 December 2006 *.
* Use session to help in counting the number of access.
* 15 December 2006 *.
* Makes a new server to migrate to various all-new web page, pictures with
* Study the use crontab.
* 18 December 2006 *.
* Try to run the command crontab.
* Try using the ping command to view the status of the device.
* 19 December 2006 *.
* Try to copy data from old server to put the new server.
* Study of the crontab command to manage the schedule time.
* 20 December 2006 *.
* Studies on the use of crontab command to run the script php.
Lots of problems that can not happen is crontab to run.
* 25 December 2006 ~ 28 * * December 2006 *.
* Study of more use crontab.
* Try to create crontab files.
* The sample was from the internet in a matter of using script ping.
* Studies on the script php running on linux.
* Try to run script php on Linux.
* ---++. January 2550 (first ride away, but now walk and then start all shares Tang Ja .. share ..) *.
* 3 January 2007 *.
* Create a file form of add, remove, edit user added to the page of the admin.
* Create a script to get value from the form and send to the database.
* 4 January 2007 *.
* Create a file of the login form to be able to config data of its own.
* Create a script to get value from a form of my_seting to send to the database.
* 5 January 2007 *.
* Update files created both the user and admin to actually work.
* 8 January 2007 *.
* Progress Report No. 2 with the added work scope.
* Fixed various defects.
* 9 January 2007 *.
* Files section of the add, remove, edit user is completed. Nanjing available.
* Create a table in addition to the existing username, password, permission to keep and session_id.
* 10 January 2007 *.
*.
ROMMON Recovery Router when it will be ruined tire easy
Look for a Valid Image in Flash: If the configuration register value is set to make the system boot automatically from a default Cisco IOS software image, and if no break signal is sent during start up, the router should boot normally. However, if the router still enters the rommon mode, it is most likely because the router is unable to locate a valid Cisco IOS software image.
In this case, the first thing you need to do is look for a valid Cisco IOS software image in each available device. Issue the dev command to see which devices are available on your router:.
rommon 1> dev Devices in device table: id name bootflash: boot flash.
$ Slot0 PCMCIA slot 0 slot1 PCMCIA slot 1: eprom: EPROM rommon 2> Next, issue the dir [device ID] command for each of the available devices, and look for a valid Cisco IOS software image (the device ID is slot0:. and / or slot1:, corresponding to the PCMCIA cards inserted in the respective slots):.
rommon 2> dir slot0: File size Checksum File name 12566060 bytes (0xbfbe2c) 0x38d1c81b c7200-ik8s-mz.122-10b.bin rommon 3> Note that if the router returns a "bad device name" message, the device specified. probably does not exist.
The output of the dir slot0: command above indicates that a valid image is indeed present in the Flash. Try to boot from that image by using the boot command.
rommon 3> boot slot0: c7200-ik8s-mz.122-10b.bin CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCC.
The router should now boot with the valid Cisco IOS software image. However, there are times when a valid image for the router does not exist on any of the devices. The possible reasons are:.
All devices might be empty (as indicated by the system message "No files in directory").
The devices may have been formatted on a router belonging to a different filesystem (indicated by the system message "device does not contain a valid magic number").
The devices may not be working (system message "trouble reading device magic number").
The Cisco IOS software image may have been corrupted.
In these cases, a valid image must be downloaded using Trivial File Transfer Protocol (TFTP) or from another router using the PCMCIA card as explained below.
//------------------------------------------------. --------------------------------------------------. -----------------------.
.
Why shell gas station on I widowed.
* What * Shell Shell is a program that serves communication between users and Unix. Allows the user to enter commands into a Unix run as needed. The work of the kernel to hide behind. Allows the user to work more easily. Example, to redirect using>. If I want to connect to the work of processing done by using the Pipe (|) or possibly a high-language programming in Unix.
.
* Type of shell * sh (Bourne) shell of the original Unix csh, tcsh Sea Shell ksh, pdksh Korn Shell bash Bourne shell rc is a shell that is similar to the language C.
.
* The structure of the language used to write shell scripts * Grand languages used to write shell scripts Grand. In addition to the language used to write shell is easier to understand. Can also write shell. In the form of modules. Then would include a larger program.
Variable: store text, numbers, variables or parameters Shell Quoting Terms of Use program control: if, AND list or OR list, elif, while, until, for, case. Command from the shell. Run function.
.
* * Variables are generally no pre-set parameters. Variable will be set at any time. Or when the variable is set, and generally set up variables that will store the variable value is the text automatically. Except when configured as a number. Shell is exactly as it is the number that To be working as expected. Since Unix is case sensitive, so the system parameters Test, test, or TEST it means different.
Within the shell can be action process variables using the $ prefix variable name it, and display parameters with the command echo (using echo must precede the variable with $), an example of the use of variable i = 10 to i. 10 j = 1000 message store to store messages j 1000 s = "This is Shell script" s to keep the message x = 1 +2 x 1 +2 message store.
.
* Basic Unix commands assumptions $ * mark means the mark prompt of Unix. Messages in the [and] when we add a not exist. Lowercase, and each is considered a major.
See command file name (ls) command is used to view a file. We can operate in several formats.
$ Ls-l Figure 1-1 $ ls-a figure 1-2 $ ls Figure 1-3 $ ls-ls Figure 1-4 $ ls-la Figure 1-5 Display command to delete (clear). is a command used to remove the screen. The commands on the screen to delete the entire line the cursor to the left top. Before using the clear command after the command clear command information in the file Teck St Files (cat) is a command to view the data in the file format command cat [option] filename.
option are as follows: [-benstuvAET] filename is the name of the file we want.
-B displays the number excluding blank lines-n displays the line number every line.
* Sample command * $ cat-b test.txt $ cat-n test.txt $ cat text.txt We also can use this command to build up a file. The principle of changing the direction of the device. Example of a file from the command cat $ cat <test.txt type as needed. To save a file, press CTRL + Z ^ z will be marked and then press the [ENTER], the machine will record the information we enter the file name that we set. We can check by using command ls command drive directory (mkdir) command to change drive directory (cd) command to delete drive directory / Delete Files (rm). View current workspace command (pwd) command on the rights Permision (chmod) in the Unix operating system. This is a multi-address system and Sir multitasking (Multi User & MultiTasking?) use different users have the right to use. You can use in the operating system. Without the right, then we can not use anything in the operating system. The Unix operating system file that can execute House or not. The view from the right of the file. Unlike other operating systems to see whether or not a binary file (. Com or. Ext or. Bat) in DOS.
So we need to know the right operating system Unix. On the right (permision).
In the operating system Unix division licenses into three groups: group owner (OWNER) groups of users (USER) other groups (OTHER) structure as the type of file owner (OWNER) users (. USER) Other (OTHER) - --- --- ---.
* Type of file includes * d means a directory - meaning regular file l refers to files that represent Symbolic Link to a program or other files.
Owner of the file consists of r means readable means write x x means execute the House.
User consists of r means readable means write x x means execute a House.
The other consists of r means readable means write x x means execute the News.
* Change the permissions using the command chmod * We can use the command chmod to change permission of files, each channel or each tick represents a binary number. Capacity and each group was eight hexadecimal.
For example.
-Rwx ------.
If converted to a binary number is equal to 0111000000.
If converted into eight 700.
We can use the command chmod as follows.
$ Chmod 700 filename.
Command to change file ownership (chown).
.
* Shell Script Shell Script * is a collection of shell scripts take command of Unix included files. To work in different ways to achieve the function according to user needs. This is similar to the functionality of DOS. Batch File that is called a shell script, but will be able to post more And flexible. Is going to look like and how to write a general programming language.
* Example of a shell script * #! / Bin / sh # This is First shell script # i = 30 j = 20 echo "Program Adder by Shell Script" r =$(($ i + $ j)) echo "$ i +. $ j = $ r ".
We can write a program using the cat command or program that is created as editor vi, pico complete records. Then the program that processed the next.
The program example above, if the order processing program will be performing as follows: Program Adder by Shell Script 30 + 20 = 50.
Can see that the shell script has three cars in the calculation and display.
.
* Command Shell Script * basic command information and display the data display control commands command to check conditions. Command is around (Loop) command for the command while the command until the command function select switch statement to calculate marker order information sheet keyboard In a shell script with the command input is read by the command to receive data via the keyboard then stored in the variable To continue.
By the following format: read variable
In each of the data will be the only one at a time.
Examples of command information read a meaning that data from the keyboard and then be stored in a variable, a read Ans means that the data from the keyboard and then be stored in the variable Ans read str means that the data from the keyboard. then be stored in the variable str.
* Command to display the screen * in a shell script commands in the display screen is the command echo, which we can show that a constant or a variable time. The text is located between the variables "(DOUBLE QUOTE) not exist. It is slightly different between the marks, with no marks. "
Form of variable echo echo echo command constant echo "variable" echo "constant."
In order to echo the option of following-n means do not have to type the complete new line-e means to allow a special waste.
* Special * \ a means that will be shown out of the speakers.
\ B means that the computer will print out the screen space.
\ C means that the time to November, regardless of pin marks a new line.
\ F means that the finished print, move the cursor to the beginning of the line.
\ N means finished typing the new line.
\ R means that the finished print, send check with ENTER.
\ T means to print the tabs are arranged horizontally before printing.
\ V means that the type to be held in the Print tab, vertical
\ \ Means that the type check \ out of the screen.
\ Nnn means to print characters from the ASCII (ASCII), where nnn is the octal number form.
Examples of using the echo command in the various forms echo This is String str = "This is String" echo $ str echo "This is String" echo "$ str".
From the above command is the message that This is String out the following 4 lines This is String This is String This is String This is String.
Examples of using the echo command in the format of the option echo-n This is String str = "This is String" echo-n $ str echo "This is String" echo "$ str".
From the above command is the message that This is String out the following 2 lines This is String This is String This is String This is String.
Examples of command information and display it with #! / Bin / sh # First Program Shell # echo-n "Please enter name:" read name echo "Hello $ name".
* * Program execution.
The program will print the words Please enter name: out of the screen and will not create a new line. Input from the keyboard. Then stored in a variable name with the cursor will listen to the mark: The program will print the word Hello followed by the information we entered for example if we enter the word Somsri it will work as follows.
Hello Somsri.
.
* * Order to run the script when we finished the script. The next step, we must add the script to run as a command that we have written. We have procedures in order to run a script like this: 2.
By executing a shell command to run directly by changing the operating mode 1. Add to work directly After writing the script already, we can add to the processing program by using the command
$ Sh followed by the name of the file we created in the process of writing. For example, we have a file test.txt can be ordered as follows.
$ Sh test.txt.
This means that we run the sh shell language, which is variable up to interpretation, along with work instructions in the file test.txt d tanks to command posts of the shell script that we had written.
How to add this to ignore the first line. Or a line that says #! / Bin / sh shell, because we run the program directly. But we have to run the type that always sh Otherwise, it is incapable of anything with the program because Unix can not be interpreted. And the error message via the ramp on the command within the program itself.
2. Working order by changing the operating mode. This is different from the first stage. But in the process of interpretation and working methods of various orders are performing the same both ways.
Steps are as follows.
The right to change (Permision) Execute the file to be using the chmod command to order the program works by running a sample file, a file named test.sh Permision use the following command to change the system to run on UNIX $ chmod +. x test.sh and then Real Work for CTIA $ test.
.
* Command loop for * in a shell script to behave like a typical high language. One is to work as a loop. This work will look similar to other languages, but differs in the form of writing only
Syntax for for variable in lists do statement done.
Sample
for i in 1 2 3 4 5 6 7 8 9 10 do echo $ i done.
for i in A B C D E F G H do echo $ i done.
Sometimes able to display data in a data file Text file has the following to the grill.
In the file test.txt with the following information.
Pen Table Book Rubble Dest Ink Chair Ruler.
We can write the following Shell script.
#! / Bin / sh for t in $ ((cat test.txt)) do echo $ t done.
.
* Command loop while * This command works around a number of uncertainties. Depending on the conditions we set The loop will exit when the condition is true (True).
Syntax while while [condition] do statement done.
.
* Command loop until *.
Syntax until until [condition] do statement done.
.
* Command loop case *.
Syntax case case word in [pattern, [| pattern ...]) statement;; esac.
.
Oops, there I go .. Moore .. .. Impact Impact
- Main. Kosol Saeng-ngam - 07 Nov 2006 </ SNIP>.
* Http://www.customwritinghelp.co.uk/assignment.php assignment writing?.
* Concrete Repair Product
* Http://www.perfectwriting.co.uk/assignment/assignment-help.php assignment help?.
* Http://www.perfectwriting.co.uk/assignment/assignment-writing.php assignment writing?.
* thesis help
* boxes for moving
* Career Change Resume
* Web 2.0 Design
* Resume Services