appear in the VT100 emulator implemented with AJAX WEB applications. By default, the port is 4200. You can change the default port to any port number you choose. After installing Shellinabox on your remote server, if you want to access from the local system, open a Web browser and navigate to:http://IP-Address:4200/. Enter your username and password, and you can start using the shell of your remote system.
123456#chmod 600/etc/password.txt # #设置文件权限,#rsync-AVH--port 873--progress--delete/var/www/html/[email protected]::web--password-file=/etc/password.txt # # #在 Tested on the source server and found it possible to back up the original server data to the target server#tar zxf inotify-tools-3.14.tar.gz # # # #安装inotify-tools#cd inotify-tools-3.14#./configure--prefix=/usr/local/inotify#make make InstallSet environment variables below and add soft links#ech
4200. You can change the default port to any port number you choose. After installing Shellinabox on your remote server, if you want to access from the local system, open a Web browser and navigate to:http://IP-Address:4200/. Enter your username and password, and you can start using the shell of your remote system. It's funny, isn't it? Really interesting!Disclaimer :Shellinabox is not an SSH client or any
Http://lzw.me/a/shellinabox.html A, Shellinabox introductionShellinabox is a web-based terminal emulator, written in C, using Ajax to communicate with backend services. It implements a Webserver, which listens to the 4200 port by default and accesses http://host:4200 on browsers that support Javascript and CSS. And you can configure SSL/TLS certificates to encrypt traffic using HTTPS.Second, Shellinabox ins
Process HTML5 client routing rollback in ASP. NET Core, corehtml5
When using client applications built by application frameworks such as Angular, React, and Vue, you always process HTML5 client routing, it will completely process the client routing of pages and components in the browser. Almost completely in the browser...
HTML5 client routing works well on the client, but when it is deeply linked to a site or refreshed in a browser, the client routing has a bad habit and becomes a server HTTP
Transferred from: http://time-track.cn/postgresql-window-function.htmlPostgreSQL provides the properties of the window function. The window function is also the data that computes some rowset (a collection of multiple rows, which we call window frame), somewhat similar to the aggregation function (aggregate functions). Unlike regular aggregation functions, however, window functions do not merge rows that participate in the calculation into one line of output, but rather retain their original app
/share/man/man1/rsync.1.gzYum install xinetd # Only install xinetd. in CentOS, xinetd is used to manage the rsync service.Yum install rsync xinetd # if no rsync exists by default, run this command to install rsync and xinetdVi/etc/xinetd. d/rsync # Edit the configuration file and set rsync to start at startupDisable = no # Change to no/Etc/init. d/xinetd start # start (in CentOS, xinetd is used to manage rsync services)
4. create an authentication password file
Vi/etc/passwd.txt # edit the file
/rsync.passwdwebuser:password//user and password separated by semicolonsand set the 600 file properties:chmod 600/etc/rsync.passwdTo start the Rsync service:/usr/local/rsync/bin/rsync--port=873--address=192.168.121.129--daemonTo do a push test on the 192.168.121.128 (source) Host:RSYNC-AVH--delete--password-file=/etc/rsync.passwd/tmp/[email protected]::tmp#注意:/tmp directory default system is already there, if synchronization of other directories, the
This article is No. 9 in the O M of chinamoocs. It is too slow to update ,,
In O M, sometimes we need to delete large files, or n (n is infinite ~~) Multiple small files
So, RM,
Here, rocky introduces the most cute, gentle, mature, kind and kind of Linux in history.
This is another method of rsync.
① Syntax:
# Rsync -- delete-before-AVH -- Progress -- stats DEST SRC
Explanation:
When SRC and DEST are both objects [f], this indicates clearing t
In O M, sometimes we need to delete large files, or N (N is infinite ~~) Multiple small files
So, rm,
Here, Rocky introduces the most cute, gentle, mature, kind and kind of Linux in history.
This is another method of rsync.
① Syntax:
# Rsync -- delete-before-avH -- progress -- stats DEST SRC
Explanation:
When SRC and DEST are both objects [f], this indicates clearing the object content rather than deleting the object.
When SRC and DEST are both direc
to do this is to save the important data in a top-level directory, and then copy it to the external hard disk to back up the directory with the following command:rsync-avh/home/usr/dir//media/disk/backup/If you want to ensure that locally deleted files are also deleted on the external drive, you need to use the--deleted switch as follows:RSYNC-AVH--delete/home/user/dir//media/disk/backupUse this switch wit
= no #修改为no
/etc/init.d/xinetd start #启动 (CentOS is xinetd to manage rsync services)
4. Create the authentication password file
Vi/etc/passwd.txt #编辑文件, add the following
123456 #密码
: wq! #保存退出
chmod 600/etc/passwd.txt #设置文件权限, only set the file owner to have read, write permission
5, test the source server 192.168.21.129 to the two target server 192.168.21.127,192.168.21.128 data synchronization between
Mkdir/home/www.111cn.net/ceshi #在源服务器上创建测试文件夹, and then run the following 2-line co
Install mysql-server #安装mysql数据库service mysqld start #启动mysql服务iptables-F #清空iptables规则mysql-uroot-p-e ' Create dat Abase discuzdatabase; ' #创建discuz数据库mysql-uroot-p-e ' Grant all on discuzdatabase.* to [email protected] '% ' identified by ' Youpass '; "#创建discuz用户并赋予管理discuzdatabase的权限mysql-uroot-p-e ' flush privileges; ' #刷新mysql权限To configure the Web service:# #注意事项: Due to some of the mechanisms of rsync+inotify, it is first fully configured on the RS1 discuz in the use of rsync synchroniza
vi/etc/sysctl. confFs. inotify. max_queued_events = 99999999Fs. inotify. max_user_watches = 99999999Fs. inotify. max_user_instances = 65535Parameter description:Max_queued_events:The maximum length of the inotify Queue. If the value is too small, the "** Event Queue Overflow **" error will occur, resulting in inaccurate monitoring files.Max_user_watches:Directory of the file to be synchronized. Avoid the failure caused by this value being too small, especially when there are many smal
program, SCP is the meaning of security copy , the commands commonly used by SCP are:[Plain]View PlainCopy
Scp/path/to/source [email protected]:/path/to/local # #本地赋值到远程
SCP [email protected]:/path/to/source/path/to/local # #远程复制到本地
The Rsync command is a remote synchronization program that, compared to the SCP, can back up files at minimal cost, backing up only the files that are different, so that each backup is a lot less time, and in addition to its own protocol on the tra
fs.inotify.max_user_instances=65535
: wq! #保存退出
Parameter description:
Max_queued_events:
INotify Queue Maximum Length, if the value is too small, there will be "* Event queue Overflow * *" error, resulting in inaccurate monitoring files
Max_user_watches:
How many directories are included in the file to sync, available by: Find/root/ceshi-type D | Wc-l statistics, the max_user_watches value must be guaranteed to be greater than the statistical result (here/root/ceshi is the synchronized file di
How can I parse this data? I used json, but I couldn't input it, and of course I couldn't operate it. I mainly want to get every data in data. For example, I want. How should I operate the og_id ???? PublicfunctiongetJson ($ url) {$ strfile_get_contents ($ url); $ datajson_decode ($ str, true) how to parse this data
I used json
But cannot be lost,
Of course, it cannot be operated.
I mainly want to get every data in data. For example
I want to get it. How should I operate the og_id ????
Public
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.