@ wljs root] # vi/etc/xinetd. d/telnet
Find disable = yes and change Yes to No.
2. Activate the service
[Root @ wljs root] # service xinetd restart
Iii. Test services
[Root @ wljs root] # telnet IP (or hostname)
If the configuration is correct, the system prompts you to enter the user name and password of the remote machine.
Login:
Password:
Note: Only common users are allowed by default
Recently studied Rhce, Umask here, the book said to modify/etc/profile and/ETC/BASHRC two files, but did not explain the two differences. So after viewing the Internet, I understand how each is used. /etc/profile is the corresponding login,/ETC/BASHRC is the corresponding open shell. But the actual use of the difference between, if BASHRC is the corresponding shell, then change this file is not OK? Finally, the practice of their own, the discovery is
I. Environment Description:Original Server 192.168.1.110 Windows Server 2003 system character set: ZHS16GBKThe new ECS 192.168.1.120 RedHat Enterprise Linux system character set is WE8ISO8859PI.
Ii. Problem description:1.110 The database on the server is a Chinese character set, and the values of multiple columns in the data table are Chinese.The character set in the database on the 1.120 server does not su
Transferred from: http://blog.csdn.net/zxs9999/article/details/6930736Ubuntu installation using SSHUbuntu does not have the default SSH service installed, if you link ubuntu via SSH, you need to manually install Ssh-server. To determine if the SSH service is installed, you can do this by:
XJJ@xjj-desktop:~$ ssh localhost
Ssh:connect to host localhost port 22:connection refused
As shown above, it means that no installation has yet been installed and can be installed via apt, wit
In VMware cloned Redhat Linux 6.0, restart the network card error, unable to ping the IP address of eth0.Failure phenomena:Service Network restartShutting down loopback insterface: [OK]Bringing Up loopback insterface: [OK]Bringing up interface Eth0:device eth0 does no seem to be present,delaying initialization. [FAILED]650) this.width=650; "src=" http://www.linuxidc.com/upload/2012_12/121217104484381.jpg "a
Wow! Installation is very annoying Ah, the last discovery is the cause of their own network. Meditation Summary!!!Python is 3.6CentOS 6 64-bit1. Install Python801704712. Install Pipwget https://bootstrap.pypa.io/get-pip.py--no-check-certificateget-pip.pyMay be error!!! Such as:PIP is configured with locations that require TLS/SSL and however the SSL module in Python are not available.Execute Python and go to the Python command line:It may also be an error.Import SSLTraceback (most recent ):Fil
1.modifying operating system core parametersUnder root user, perform the following steps:1.1Modify the user'sSHELLThe RestrictionsModify The/etc/security/limits.conf fileinput command:vi/etc/security/limits.conf, press i to enter edit mode, add the following content to the file. Oracle Soft Nproc 2047163841024x768655361.2Modify/etc/pam.d/loginfileinput command:vi/etc/pam.d/login, press i to enter edit mode, add the following content to the file. session required /lib/security/pam_limits.sosessio
you are doing. In some cases, if the process is working and cannot be interrupted, the process can ignore the sigterm signal.For Sigkill signals, the process cannot be ignored. This is a "I don't care what you are doing, stop immediately" signal. If you send a sigkill signal to the process, Linux will stop the process thereSix. User Login Audit1W # #查看使用系统的当前用户有那些W-f ##-f see where to use2Last # #查看用户登陆成功历史3.LASTB # #查看用户登陆未成功历史Seven. Top commandTop
In RedHat Linux 5, install PHP SELinux protection and restart apache in the last step. The following error is reported:
Httpd: Syntax error on line 53 of/usr/local/apache/conf/httpd. conf: Cannot load/usr/local/apache/modules/libphp5.so into server:/usr/local/apache/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
Cause: There is a SELinux protection m
①ls default display of files in the current directory
Displays the current directory in which to use the command PWD (printing working directory)
So LS and ls/root show the same effect.
②ls–l displaying full information about a file File type of Linux: Introduction -: Normal file D: Catalog file B: Block device files (blocks) C: Character device file (character) L: Symbolic Connection files (symbolic link file) P: Com
Set two-way MySQL Data Synchronization
I. Prepare serversBecause the binlog formats of different MySQL versions (Binary logs) may be different, the best combination is that the MySQL version of the Master is the same or lower than the Slave version, the Master version must not be higher than the Slave version.More... | less... | In this article, we assume that the Master server and Slave server (Slave) versions are 5.0.27, and the operating system is RedHat
First, you need to install the JDK, self-solveDownload Jetty installation Package http://dist.codehaus.org/jetty/I downloaded the 8.1.15.TAR-XZVF *.tar.gzAfter the extraction, the basic will be able to useThere are some demo war packages under WebAppsStart Jetty Service: Java-jar start.jar default port8080Visit http://localhost:8080 and you can.Start deploying your own war package nowAdd your War pack already, name is Abc.warThen put the war package below WebAppsOnce again, start jetty.Visit HTT
Tags: technical script ifconfig alt view. com pts Art ifconfConfiguration number IP address, using the ifconfig command, no display eth0, restart the network card (service network restart) and encountered the following error messageError message:Workaround:First use the ifconfig-a command to record the MAC address of the eth1:00:0C:29:C5:AA:CFThen open/etc/sysconfig/network-scripts/ifcfg-eth0.Change "device=eth0" bit "device=eth1", then save exit, res
Installing JDK Java-version under Linux is not the version you needSetting environment variables, which is the most importantAdd under the Etc/profile fileExport java_home=/usr/java/jdk1.8.0_131Export path= $JAVA _home/bin: $PATHWarm hint, modify the configuration file before the Bak one, in the case you are not sure, so as not to change the wrong, affecting other functions, and can not recover.If you do no
=" wkiol1jk2mptf0zlaaokkf-lhra396.png-wh_50 "/> 2.sgid # #强制位 to files: binary executables only, Anyone running binaries Program All groups of processes that are generated by the program are all groups of files and program Initiator group identity independent of to directory: When the directory has Sgid permissions, all groups of new files in the directory are automatically belongs to all groups in the directory, regardless of the group that the file creator is in settings:
/gravity/ Southeast "/>8. Use a shortcut to invoke the 4th command that has been executed in the shell! Number: How many lines of command to execute! Letter: Executes the most recent one that starts with this letter9. Use a shortcut to execute the most recent command with the "date" keywordEnter Command!date650) this.width=650; "Src=" http://img.blog.csdn.net/20170329180727249?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvc29saxr1zgvftq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/
. User decentralization 1. Power Users in the system can delegate actions that ordinary users cannot perform to the normal user Delegating power profile:/etc/sudoers 2. Methods of decentralization *) Super User execution Visudo enter edit/etc/ Sudoers Mode *) format: Get rights user Host name = (acquired user identity) command test desktop0.example.com= (Root) /usr/sbin/useradd Test user can execute/usr/as Superuser in desktop0.example.com Sbin/useradd 3. Implementation of the del
Please man chattr and man lsattr)
warning3@hotmail.com
/**************************** LKM.C ********************************/
/* Simple lkm to secure Linux.
* This module can is used to change the securelevel of Linux.
* Running The client would switch the Securelevel.
*
* Gcc-o3-wall-c LKM.C
* Insmod Lkm
*
* It is tested in
command mode and enter:
Root (hd0, *) // change * to the partition location of your linux instance. Drive C is 0, drive D is 4, and so on.
Enter
Kernel/boot/vmlinuz * root =/dev/hda * // * replace all with you
Actual Situation
Enter
Initrd/boot/initrd *. img // * replace
Enter
Boot press Enter.
Ps. we do not recommend that you use Hongqi 4.1. I have used it in the company, but it has poor performance and
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.