exists, it is added; Displays the ID number of the added user
[Root@localhost bin]# Cat createuser.sh#!/bin/bash# date:2016.8.12# AUTHOR:CYH# Description:determine whether a user existsUser= ' cut-d:-f1/etc/passwd |grep-o "$"[$#-ne 1] exit 1if [[-N $user]]; Thenecho "User already exists!"echo "The User information: ' grep ' ^$1\>"/etc/passwd |cut-d:-F 1,3 ' "ElseUseradd $ >/dev/nullecho "The user has been created!"echo "The User information: ' grep $1/etc/passwd |cut-d:-F 1,3 '"Fi
Script Tes
French (FR)-German German (DE)-Modern Greek Greek-modern (EL)# Italian Italian (it)-North Korea Korean (KR)-Norwegian Norwegian (no)# Portuguese Portuguese (PT)-Luxembourg luxembourgeois* (LTZ)# spanish Spanish (es)-Swedish Swedish (SV)-Catalan Catalan (ca)-Czech Czech (CZ)# Polish Polish (PL)-Brazilian Brazilian Portuguese (PT-BR)-Japan Japanese (JA)# Russian Russian (RU)#AddLanguage da. DKAddLanguage NL. nlAddLanguage en. enAddLanguage et. eeAddLanguage Fr. frAddLanguage de. deAddLanguage el.
use if no need to build through Groupadd: cat/etc/passwd See where the UID is written that can be used echnweb:x : 2021:2000::/echnweb:/bin/bash ldap:x:55:55:ldap User:/var/lib/ldap:/sbin/nologin zabbix:x:2022:2022::/home/ Zabbix:/bin/bash Bnms:x:2023:2023::/home/bnms:/bin/bash So the next UID is 2024.
Cd/root/shell
VI createfilesys20161122.sh
Lvcreate-l 10g-n lv_misoisp datavg mkfs.ext4/dev/datavg/lv_miso
/jodconverter-cli-2.2.2.jar this thing on the line, you can run the command test directly: Java-jar/usr/local/wenku/jodconverter-2.2.2/lib/jodconverter-cli-2.2.2.jar/tmp/1.doc/tmp/1.pdf4. Install SwftoolsChinese Support installation: Mkdir–p/usr/share/xpdfcd/usr/share/xpdf/Download Chinese support and font librarywget ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-simplified.tar.gzwget Http://www.nginxs.com/download/font.zipTar zxvf xpdf-chinese-simplified.tar.gzUnzip Font.zipMV Gbsn00lp.ttf Gkai00
Page HTML file structure (document structures)
Language character Set (charsets) information
#=us-ascii, iso-8859-1, X-mac-roman, Iso-8859-2, X-MAC-CE,ISO-2022-JP, X-sjis, X-euc-jp,euc-kr, ISO-2022-KR, gb2312, GB_2312-80,X-EUC-TW, X-cns11643-1, X-cns11643-2, Big5
MIME Character set information can be set in an HTML file. When browsing the home page, it is best to choose the language (language
HTML file structure (document structures)
Language character Set (charsets) information
#=
Us-ascii, Iso-8859-1, X-mac-roman, Iso-8859-2, X-mac-ce,
ISO-2022-JP, X-sjis, X-EUC-JP,
EUC-KR, ISO-2022-KR,
gb2312, gb_2312-80,
X-EUC-TW, X-cns11643-1, x-cns11643-2, Big5
MIME Character set information can be set in an HTML file.When browsing the home page, it is b
Check a system, accidentally found the database v$session_longops time far more than the system time.
The results of the query are as follows:
[ORACLE@DATASD ~]$ Sqlplus/as SYSDBA
Sql*plus:release10.2.0.3.0-production on Monday December 20 14:57:04 2010
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle database10genterprise Edition release10.2.0.3.0-64bit Production
With the partitioning, OLAP and Data Mining options
Sql> alter session Set Nls_date_format = ' Yy
Always use phpMyAdmin or mysqldum to export, using the source command to import the database.However, after the new version of MySQL, the following error occurred in the import method:Error:unknown command ' \ \ '. Query OK, 2022 rows affected (0.71 sec) records:2022 duplicates:0 warnings:0Then is the command line report MySQL connection error, keep reconnect.All two databases are in UTF8 format, and phpM
/jodconverter-cli-2.2.2.jar this stuff on the line, you can directly run the command test:
Java-Jar/usr/local/wenku/jodconverter-2.2.2/lib/jodconverter-cli-2.2.2.jar/tmp/1.doc/tmp/1.pdf4. Install swftoolsInstallation supported in Chinese:
Mkdir-P/usr/share/xpdfCD/usr/share/xpdf/Download Chinese support and LibraryWget ftp://ftp.foolabs.com/pub/xpdf/xpdf-chinese-simplified.tar.gzWget http://www.nginxs.com/download/font.zipTar zxvf xpdf-chinese-simplified.tar.gzUnzip font.zipMV gbsn00lp. TTF gk
HTML5 will not be officially implemented until 2022, it may take a long time for Adobe to improve technology and even believe that he can be at the supervisor level before that. As long as you look at the latest update trends of chrome and Firefox and the future ie9 plan, you will immediately find that they will wait for you to reach 2022? Absolutely not! In less than 2015, HTML5 was already the de facto s
you do not need to read Chinese characters, it will end up here. If you need to, we will continue later.[Root @ localhost doc] # cp sample-xpdfrc/usr/local/etc/xpdfrc[Root @ localhost xpdf] # cd/lcf/xpdf[Root @ localhost xpdf] # tar-zxvf xpdf-chinese-simplified.tar.gz[Root @ localhost xpdf] # cd xpdf-chinese-simplified[Root @ localhost xpdf] # mkdir-p/usr/local/share/xpdf/chinese-simplified[Root @ localhost xpdf] # cd xpdf-chinese-simplified/[Root @ localhost xpdf-chinese-simplified] # cp Adobe
1. Do not use the default port: Port 2022 before the comment "#" is removed, and the port is modified to its own appropriate port number, assuming that the 2022 2. Do not use Protocol1: Modify to Protocol 2 3. Restrict the users who can log on #白名单 allowusers user1 user2 user3 ... Set allow users to log in to the SSH server, add the following #黑名单 can add users or rent 4. Set Idle session timeout len
If VS2012 is installed, open a console window provided by VS 2012, such as VS2012 x64 Native Tools Command Prompt.
Run the following command to view the program header information:
gdal_1.8_rtc>dumpbin /HEADERS gdal18.dll Microsoft (R) COFF/PE Dumper Version 11.00.60610.1 Copyright (C) Microsoft Corporation. All rights reserved. Dump of file gdal18.dll PE signature found File Type: DLL FILE HEADER VALUES 8664 machine (x64) 6 number of sections 52130233 t
PHP Receive mail class
Receivemail is a PHP class designed to receive mail, and supports email protocols such as POP3 and IMAP. You can receive mail and email attachments.
Chinese garbled solution
/** * Decode the subject of Chinese * * @param string $subject * @return sting */public function Subjectdecode ($subject) { $BEGINSTR = substr ($subject, 0, 5); if ($beginStr = =? ISO ') {$separator = ' =? Iso-2022-jp '; $toEncoding = ' iso-
Install and configure swftools in CentOS1. install required libraries and components.
yum install gcc* automake zlib-devel libjpeg-devel giflib-devel freetype-devel
2. Download, compile, and install swftools.
wgethttp://www.swftools.org/swftools-0.9.2.tar.gz
tar vxzf swftools-
0.9
.
2
.tar.gz
cd swftools-
0.9
.
2
./configure --prefix=/usr/local/swftools
make
make install
3. Set swftools Environment Variables
vim /etc/profile
export PATH=$PATH:/usr/swftools/bin/
4. Install the
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.