Coreos mainly includes the following:
(1) Minimum OS: Kernel + systemd
(2) run the application using docker
(3) Use fleet to manage Clusters
(4) using etcd for service discovery: a distributed K/V Storage engine stores configuration data
Download the vagrant coreos configuration file
$ Git clone https://github.com/coreos/coreos-vagrant.git
$ Vagrant up
$ Vagrant status
Current Machine states:
Core-01 running (virtualbox)
Core-02 running (virtualbox)
Core-03 running (virtualbox)
$ Ssh-add ~ /.
Due to work needs, it took some time to study the two built-in special commands of eval and exec. Because not many are used, it is a bit obscure ..
1. Eval
This command is a built-in command in bashshell, which is a little more difficult than other commands. The content following the command is considered as a parameter, but the parameters are scanned twice. The first scan replaces the variables in the parameters, and the second scanThe second scan combines the following parameters as a shell c
Statement: The main content is from the shellcoder's handbook, which extracts Important Notes and adds some personal understanding. If there is something wrong, be sure to point it out.
A simple program victim attack is mentioned in
Note: There are very few sources of sources. List in sarge. At least I cannot find them. I use a DVD source. DVD: http://cdimage.debian.org/cdimage/archive/3.1_r8/i386/iso-dvd/
After the disc is inserted, run the following command to establish the compiling enviro
conversion table for use by the Str.translate () method, and two methods are used in conjunction.Such as:
Copy Code code as follows:
Table = Str.maketrans (' cs ', ' KZ ')
"Please don ' t knock in my door!". Translate (table)--> "Pleaze don t Knokk at my door!" The ' C ' was replaced with K, and ' s ' was replaced with Z. The description parameter can contain more than one character, but the first parameter contains the number of characters and the second parameter must have eq
"/data/redis/6380/log /redis. log "DIR/data/redis/6380/dataport 6380 slaveof 127.0.0.1 6379 # If yes, the slave instance is read-only. If no, the slave instance can be read and written. Default slave-read-only yes3. Start
redis-server /etc/redis/redis-master.confredis-server /etc/redis/redis-slave.conf
4. Verify the master startup log
[[emailprotected] redis]# cat /data/redis/6379/log/redis.log[24787] 13 Sep 10:39:45.143 * Max number of open files set
Ode:def __init__ (self, value = NULL): Self.value = value Self.children = {}class Trie (object): Def __init__ (self) : Self.root = Node () def insert (self, key, value = None, Sep = "): # key is a word sequence separated by ' Sep ' E Lements = key if Isinstance (key, list) Else Key.split (SEP) node = Self.root for E in elements:if not e:contin UE If e not
When installing St-load, the terminal tip "/var/run/yum.pid is locked and another program with PID 13908 is running. ”Workaround: Run Rm-f/var/run/yum.pid directly at the terminal to delete the file and run Yum again.The following prompt appears:[[email protected] ~]# yum install git unzip patch gcc gcc-c++ makeLoaded plugins: Fastestmirror, LangPacks/var/run/yum.pid is locked and another program with PID 13908 is running.Another app is currently holding the Yum lock; Waiting for it to exit ...A
Scenario: Oracle database storage is broken, data files and control files are all lost, only backup sets of data files are available, and no control files are available in the backup set. (Of course, oracle10
Scenario: Oracle database storage is broken, data files and control files are all lost, only backup sets of data files are available, and no control files are available in the backup set. (Of course, oracle10
Test environment: OEL + 11.2.0.1
Instance name: orcl2DBID: 1336959433.Scenari
Original: Install mysql live broadcast in the Linux system, and use linuxmysql
[Root @ web108 tools] #### start to install mysql
1. Add a user
[Root @ web108 tools] # useradd-s/sbin/nologin-M mysql
2. Decompress
[Root @ web108 tools] # tar xf mysql-5.6.34-linux-glibc2.5-x86_64.tar.gz
[Root @ web108 tools] # echo $?
0
3 move mysql
[Root @ web108 tools] # mv mysql-5.6.34-linux-glibc2.5-x86_64/application/mysql-5.6.34
[Root @ web108 tools] # ll
Total 306792
-Rw-r -- 1 root 314149697
Directorydu:cannot accessâ./proc/23692/task/23692/fd/39â : No such file or Directory0 ./proc11m ./sbin16k ./lost+found264k /home86m. /boot328g ./var4.0k. /dev0. /sys330g .Take a look at the occupancy in VAR (MySQL data is in Lib, www is site with some related backup)Lltotal 72drwxr-xr-x root root 4096 Sep 02:50./drwxr-xr-x root root 4096 Sep 23 02:45. /DRWXRWXRWX 3 root
information, here we use netcat to do examples, The following are response information for three different HTTP servers:
1:apache 1.3.23 Server:http/1.1 OKDate:mon, SEP 2003 17:10:49 GMTserver:apache/1.3.23Last-modified:mon, SEP 2003 03:48:19 GMTETag: "32417-c4-3e5d8a83"Accept-ranges:bytescontent-length:196Connection:closeContent-type:text/html
2:microsoft IIS 5.0 Server:http/1.1 OKserver:microsoft-iis/5.0
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.