$ | grep ABCDEFG '
if [$TEST! = ' 1 ']; Then
echo "OK"
Else
echo "FAIL"
#/bin/echo | Mail [Email][email Protected][/email]-S "NOTICE: $ failed to provide email service"
Fi
Note: A MySQL client is required on two probe nodes. Principle: lvs.cf Specifies this script, in fact, to the Load Balancer node on the Nanny program call, LVS.CF in the%h parameter represents the time to call this script with the HOSTNAME/IP address parameters. The purpose of this script is to co
Sources file folder and select New Item.Add a new Fortran fileThe Fortran code is then written. Here we mainly implement two methods:One method is to ask for a sum of two numbers and return the result.The other is to enter an array, sort the array, find the maximum value, return the sorted result, and return the maximum value.Here we are demonstrating the difference between a number in Fortran and an array.The basic syntax of FORTRAN is not the scope of this article, please read the information
peng
Specify the Report Type~~~~~~~~~~~~~~~~~~~~~~~Wocould you like an HTML report, or a plain text report?Enter 'html' for an html report, or 'text' for plain textUlts to 'html'Enter value for report_type: text
Type Specified: text
Instances in this Workload Repository schema~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
DB Id Inst Num DB Name Instance Host--------------------------------------------------------* 620748923 1 PENG peng localhost
Using 620748923 for database IdUsing 1 for instanc
/Main. cf
Previously, my myhostname and mydestination formats were rejected by Netease mail because they did not meet the requirements (name @ machine-name:
From MAILER-DAEMON sat Dec 1 21:22:58 2012From export yanh @ export yanh-virtualbox
Changed:
From MAILER-DAEMON sat Dec 1 23:10:20 2012From baiyanh@baiyanh.com
You can, but there is still a problem with sending it to the
content in the Backup Recovery statement during Backup.
RMAN> list backup summary;
List of Backups
====================
Key ty lv s Device Type Completion Time # Pieces # Copies Compressed Tag
-----------------------------------------------------------------
61 B A DISK 21-DEC-15 1 1 NO TAG20151221T153209
62 B F A DISK 21-DEC-15 1 1 NO TAG20151221T153322
63 B F A DISK 21-
Centos7 modify ssh port!
The default ssh port is 22, which is always scanned for logon!
To change the default port to 2218:
Modify the ssh configuration file/etc/ssh/sshd_config, remove the comment before Port 22, and change 22 to 2218
[root@niche ~]# whereis sshssh: /usr/bin/ssh /etc/ssh /usr/share/man/man1/ssh.1.gz[root@niche ~]# cd /etc/ssh[root@niche ssh]# lltotal 272-rw------- 1 root root 242153 Jun 9 2014 moduli-rw-r--r-- 1 root root 2123 D
Create a soft link in ln-S
Ln-S is used to create soft links, which is equivalentWindowsIn the shortcut, the command for creating the file TTT in the upper-level directory in the current directory named ttt2 soft link is ln-s .. /TTT ttt2. If the original file is deleted as the TTT file, ttt2 becomes an empty file.Ln-D is used to create a hard link, which is equivalent to a copy of a file in windows. When the original file is deleted, the content of "copy" is not affected.
[Archfree @ localhost
In linux, OpenGL reads JPG, PNG, TAG texture data, and opengltag
The code for actually reading images has been uploaded to my resources. The following is an example (the code is not rigorous and can be taken together ):
Unsigned char * esLoadJPG (const char * fileName, int * width, int * height, int * size){FILE * f = fopen (fileName, "rb ");Fseek (f, 0, SEEK_END );* Size = ftell (f );Fseek (f, 0, SEEK_SET );Unsigned char * data = (unsigned char *) malloc (* size );Fread (data, 1, * size, f );In
After Oracle 11g r2 is installed and the database is created, start em and report OC4J_DBConsole_source_ora11g not found error. em cannot start.
[Oracle @ source ~] $ Emctl start dbconsole
Enter the Configuration file./oracle/product/10.2.0/db_1/Solaris/j2ee/OC4J_DBConsole_source_ora11g not found.
Because it is a new environment, re-create the archive database and reconfigure the Database control
[Oracle @ source admin] $ emca-repos drop -- delete the current database
Started emca at
until VFS calls it to request files and directories of I-nodes.Load the proc file systemIf the proc file system is not loaded yet, run the following command to load the proc file system:Mount-T proc/procThe above command will successfully load your proc file system. For more details, see the man page of the mount command.View/proc files/Proc files can be used to access information about the Kernel Status, computer attributes, and the status of running processes. Most files and directories in/pr
the latest information about the physical environment of the system. Although files in/proc are virtual, they can still be viewed using any file editor or programs such as 'more', 'less ', or 'cat. When the editing program tries to open a virtual file, the file is created out of thin air by the information in the kernel. Here are some interesting results I got from my system:
$ ls -l /proc/cpuinfo-r--r--r-- 1 root root 0 Dec 25 11:01 /proc/cpuinfo$ f
: Compile and install
Make malloc = libc[[Email protected] redis-4.0.6] # Make malloc = libc
Add files under the/usr/local/redis-4.0.6/src directory to the/usr/local/bin directory
Cd src make install
[[emailprotected] redis-4.0.6]# cd src make install
CC Makefile.dep
Hint: It‘s a good idea to run ‘make test‘ ;)
INSTALL install
INSTALL install
INSTALL install
INSTALL install
INSTALL install
Step 6: test whether the installation is successful
Switch to the redis src directory first[[Ema
without deleting the fileCode 5-18 Create a local temporary file, point can be added without adding at least 3 x at the end and only X (must be capitalized)Code 5-19[Email protected]:/data# mktemp test. Xxxtest.otx[email protected]:/data# mktemp Test. Xxxxxtest.gydv4[email protected]:/data# ls-ltotal 0-rw-------1 root root 0 Dec 5 05:29 test.gydv4-rw-------1 root R Oot 0 Dec 5 05:29 test.otx Using Mkte
1. Check the system time[[Email protected] ~]# DateThu Dec 23:25:33 CST 2012[[Email protected] ~]# date + "%y%m%d%h:%m:%s"20121220 23:12:542. View hardware TimeThe system clock is the clock in the current Linux kernel, and the hardware clock is a battery-powered clock on the motherboard that can be set in the BIOS. When Linux starts, the hardware clock reads the settings of the system clock, and the system clock is independent of the hardware.[Email p
protected]> CREATE table t (x int);Table created.2. Initialize data [email protected]> INSERT INTO T values (1);1 row created.[email protected]> commit;Commit complete.[email protected]> INSERT INTO T values (2);1 row created.[email protected]> commit;Commit complete.3. View the data in the table, the reason why the rowID field is used is convenient for later experiment reference. [email protected]> select rowID, x from T;ROWID X----------------------------aaasvaaafaaaaayaaa 1 Aaasvaaafaaaaayaa
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.