From: http://hi.baidu.com/angivo/blog/item/7f43bef5ade0e42fbc3109f7.html
Reprinted: http://hi.baidu.com/qiraosky/blog/item/35a7f144d9f3488ab3b7dc2e.html
Copyright belongs to the original author.
The sshd service is a secure connection that allows you to access the command line interface on the server. Windows does not provide this service, so we can install it through cygwin.Install cygwin
First install cygwin. The installation time is 2006-10-8, And the cygwin dll version is 1.5.21-1. In add
When looking at the lftp source code, we found this line:
Operator bool () const {return ...}
I didn't think about it. What is this syntax? Is it operator overload? Unlike a, why not start with the return value of a function? Later I checked C ++ primer and understood that this is convert operator, which is to call this function if this class is to be converted to a bool value. Convert operator is prefixed with the operator keyword, followed by the t
I. Introduction
VS/NAT schematic:
II,System Environment
Tutorial topology:
System Platform: centos 6.3
Kernel: 2.6.32-279. el6.i686
LVS version: ipvsadm-1.26
Keepalived version: keepalived-1.2.4
Iii. Installation
0. Before LVS is installed, the system must install popt-static, kernel-devel, make, GCC, OpenSSL-devel, lftp, libnl *, and popt *
1. Configure LVS + keepalived on the two ctor servers respectively.
LVS install ---
TightVNC or another VNC client, enter the desktop Name:
You can replace the server name with an IP address if you are logging in from outside your lan. Remember, if you are using NAT port 5900 must be forwarded to your vncserver.
Upon successful connection, you will be prompted for a password. You will then see a terminal screen that will allow you to execute commands:
Vncserver in runlevel 5 (KDE or GNOME)
If you are new to Linux, running VNC server with a terminal isn't going to do you muc
HTTP status codes 206 and 416, status 206 and 416
The status code table in the HTTP 2xx range shows: "The request sent by the client has been accepted by the server and processed successfully ".
TTP/1.1 200 OK is the standard response after successful HTTP requests
HTTP/1.1 206 status code indicates: "The client captures part of the resource by sending the Range Request Header Range", which is generally used
Solve the Problem of downloading large files
Solve CDN and original HTTP server probl
test the connection by using ftp commands, lftp tools, gftp, or other FTP clients;
Disable the vsFTPd Server:
We use pkill vsftpd to kill the vsftpd process. In this way, we disable vsFTPd and use psgrep vsftpd to view the process. If no process exists, it indicates that vsFTPd has been disabled. Of course, we also need to use the root permission.
[Root @ localhost ~] # Pkill vsftpd
[Root @ localhost ~] # Pgrep vsftpd
1.2 enable or disable the vsFTPd
I. Network Monitoring Program commands
Install the nmap package
1. nmap-s [T/U/P].-s indicates scan T indicates scanning TCP connections, and U indicates UDP connection P indicates ICMP
2. nmap-A IP_address/domian_name scan the Operating System
3. nmap-p port_name scan Port
The netstat command monitors the port and Protocol listening status of all networks.
Netstat-a (all) view all listening protocols
-P is displayed as a pid process number.
-T indicates the tcp protocol port.
-U: displays the
: exit the system
Useradd/userdel: add or delete a user
Clear: Clear screen
Passwd: Set the User Password
Vi Editor
First, run the vi command to open a file.
Last line mode command:
: N, mwpath/filename Save the specified range document (n table start row, m Table end row)
: Q! Force exit after modifying the file
: Q has not modified the file and exits.
Wq or x save and exit
Dd deletes the row where the cursor is located.
: Set number: displays the row number.
: N jump to n rows
: S replacement
Use ftp to regularly upload logs to other servers #! /Bin/bash # generation of time Y = 'date -- date = "-1 hour" + % Y'm = 'date -- date = "-1 hour" + % m' d = 'date -- date = "-1 hour" + % d' H = 'date -- date = "-1 hour" + % H' www.2cto.com # IP address acquisition IP address =" '/sbin/ifconfig | grep 'bcast' | awk-F' [:] ''{print $13}'' "# log name generation (varies with time and ip) LOG_NAME =" access-$ H-$ IP. log "# FTP server address HOST =" 10.10.10.170 "# FTP server USER name =" user
simple to develop graphical interfaces in Linux. Many junior high school students and even primary school students can compile some pretty useless programs. If you pick such a program all day long, you will never be satisfied with it.
I have also made such a mistake. I have ignored the excellent FVWM, lftp, Mutt, and wget! When I retrieve them, I am so ashamed. They are now my friends. With these programs, you can change everything about them, the fi
extract ISO image files is a bad idea (I got missing files !). I just take daemon tools to load the image and redirect my HTTP server to the Virtual Drive.On your PS3, edit/etc/yum. Repos. d/*, to redirect all baseurl to http: // yourpc/fc6 and comment out all contents list.After that, do the following script:
Yum groupinstall
"
KDE (K desktop environment)
"
Yum install pirut k3b mikmod Yum groupinstall"Server configuration tools" Yum groupinstall"Sound and video" # Yum groupinsta
I. Introduction
VS/NAT schematic:
II,System Environment
Tutorial topology:
System Platform: centos 6.3
Kernel: 2.6.32-279. el6.i686
LVS version: ipvsadm-1.26
Keepalived version: keepalived-1.2.4
Iii. Installation
0. Before LVS is installed, the system must install popt-static, kernel-devel, make, GCC, OpenSSL-devel, lftp, libnl *, and popt *
1. Configure LVS + keepalived on the two ctor servers respectively.
LVS install ----
Dstat SAR
Iostat, vmstat, ifstat and much more in one.Slurm
Network Traffic graphical ToolVim
Emacs
No one knows this ~Screen, dtach, tmux, byobu
Keep your terminal connection active.Multitail
View log files in different windows.TPP
Command line tool!Xargs parallel
Execute the task according to input, multi-thread Oh!Duplicity rsyncrypto
Encryption backup tool.Nethack slash 'em
The most complex game on this planet =, =Lftp
FTP tools.ACK
A better
--port scan Tool Traceroute--route tracking tool LFTP--FTP client elinks--command line web browser wget-- Command-Line download tool (-C, continue unfinished Task)Nslookup--Query domain name DIG--query domain name third, SSHSecure link mode, can be used for remote login, transfer files, create encrypted tunnels, etc.;1, remote login: # SSH [emailprotected]/ipaddress---Remote command line # ssh-x/y [emailprotected]/ipaddress--Remote GUI # SSH [email
One: Release Forum Discuz:1. Configure the database:Mysql-uroot-p123123mysql> CREATE DATABASE Bbsdb;Mysql> Grant all on bbsdb.* to ' Runbbs ' @ ' localhost ' identified by ' 123123 ';mysql> flush Privileges;Mysql> quit2. Download Discuz and publish:Lftp 192.168.100.100Lftp 192.168.100.100:~> CD tools/Lftp 192.168.100.100:/tools> Get Discuz_7.2_full_sc_utf8.zip4704761 bytes TransferredLftp 192.168.100.100:/tools> byeUnzip discuz_7.2_full_sc_utf8.zip-d
|init 0| Shutdown-h now shutdownReboot | Init 6 | Shutdown-r now restartTAB keyHistory call Ifconfig View IP lftp enter TAR-ZXF unzipGet getCTRL + A cursor moves to the beginning of the line+ e cursor moves to end of line+ u cursor position deleted to beginning of line+ k cursor position deleted to end of line+ R to bring up the most recent command with a keyword+ left | Right cursor moves in Word units+ C undo to enter the command+ D Close the curren
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.