Rhel/centos How to enable bash command auto-completion? Take a look below
Ready to work: System image, configure Yum source.
1, first need to install Bash-completion package:
[email protected] src]# Yum install-y bash-completion
2, after the installation is completed, you need to use the source command or log off the current user to re-login system to make it effective immediately, as follows:
[Email protected] src]# source/etc/bash_completion
1.yum Online installation GTK1) pkg-config-version view version of Pkg-config ( native test is 0.25)2)Install the necessary build: (under root) yum install gtk2 gtk2-devel gtk2-devel-docs 3) may also need to be assembled (optional, no reload): Yum install gnome-devel Gnome-devel-docs4) Some Linux versions have their own GTK packages and need to install Yum install Gtk2-devel5) After successful installation, view the GTK version via Pkg-config--modversion gtk+-2.0 ( native test is 2.24.13)6) Th
2njl7p9g ' ($42p2.png "alt=" Wkiol1xtvalwtm1daahzfvzv_bu508.jpg "/>Use the resize2fs/dev/volume group name/logical volume name to adjust the file system size online.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/CD/wKiom1XtUmHDIQgyAAPzh9V_EG4115.jpg "title=" Ln9sk6tllf24kp7i_kmim5j.png "alt=" Wkiom1xtumhdiqgyaapzh9v_eg4115.jpg "/>Note: 1. After the system restarts, the disk will be re-mounted, and you can modify the/etc/fstab file for automatic mounting.2. The logical volume has
Gate One requires the system to meet the following two prerequisites, (1)python:2.6+ or 3.2+ (2)Tornado Framework 2.2+The following command enters from the root directory :of these two Linux is a basic self-bring, check to see if there are any installed:$ python–v (to check Python version)then install Pip , command:$--no-check-certificate https://bootstrap.pypa.io/get-pip.py$ python get-pip.pyInstall tornado,$ pip Install tornadoAfter the installation is complete, let's verify our environment,$
Get Help methodsWhatis command shows what it can do (passwd date ls LVs lvcreate) (Whatis database incomplete, using 'makedb ' update ) Command --help Show command How to use (seq-w 1) (passwd) (--help Some can use- h) Show time in a certain formatDate + "%y-%m-%d%h:%m:%s"Date + "%F%T"Date 122101012012 set time Hwclock-s setting the system clock based on the motherboard hardware timeHWCLOCK-W Setting the motherboard hardware time based on system timeMan (number) command | File does not write
To teach you to use PS synthetic forest small Red Hat witch scene effect, this is a foreign PS tutorial, because my English level is limited, if the translation error also please forgive me, reprint translation please explain the source.
This article provides practice material package download: (click here to download)
Tutorial Final Results preview:
1th Step
From the original image to extract th
Workaround:1. After rebooting the system, the Grub boot screen appears, use the UP and DOWN ARROW keys, select the system and press "E" to enter the edit mode.650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7F/27/wKioL1cVlv7QO_D3AACRV2krw-Y493.jpg "title=" 1.jpg " alt= "Wkiol1cvlv7qo_d3aacrv2krw-y493.jpg"/>2. Enter the following as shown, then use the upper and lower arrow keys to select the latest kernel, here Select the second item, and then continue to press "E" key650) this.width=
"Mount-a" to mount all the non-mounted partitions in the Fstab file, automatically mount the edits and execute this command if no error is indicated.650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/71/E2/wKiom1XZ1arx2fdDAAA9DRlcYEg525.jpg "title=" n0z~ y53n (X9Q7CZ@V60J48T.png "alt=" Wkiom1xz1arx2fddaaa9drlcyeg525.jpg "/>Use "Df-ht" to view disk usage650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/71/DF/wKioL1XZ2DHgTsAFAAF7PjPwe10460.jpg "title=" 84of20x2]i@w068sbyt]f@a.png
Alternatives is a powerful command under Linux. Can only be performed under root permissions. If there are several commands in the system that are very similar, but cannot be deleted at will, then you can use alternatives to specify a global setting.
Alternatives is often used to install multiple versions of the same software in the same system. For example, in order to develop the need, I need to install JDK1.4.2, but also need JDK1.6.10, how can I ignore the installation path, according to m
One, install Red Hat Enterprise Linux 4 system,
System installation is relatively easy, it should be noted that
1, to choose the installation of English, so that the Oracle installation will not garbled.
2, the installation process has a choice of installation package interface, the server option package please select all
3, does not turn on the firewall, does not enable SELinux
Second, the installatio
The world's leading open source application platform--redhat
On a certified platform, Red Hat Enterprise Linux can provide you with the following options:
Applications--Thousands of certified ISV applications
Deployment-including stand-alone or virtual servers, cloud computing, or software applications
Hardware-Multiple platforms from the world's leading hardware vendors
It provides an unprecedented le
installation file to the/oraapp directory (if not, create it yourself), unzip, installUpload command RZUnzip Command Zcat 10201_database_linux_x86_64.cpio.gz | Cpio-idmv11, using Xmanager remote connection linux,root user login, open terminal, switch to Oracle user, and then perform the installationcd/oraapp/database/./runinstaller performing the installation12, the installation, select Custom, select the Isql*plus components, choose to install only data software13, the installation is complete
product can is downloaded from Http://go.microsoft.com/fwlin k/? linkid=746838 and found in /usr/share/doc/msodbcsql/license. Txt. By entering ' YES ', you indicate the license terms. Do you accept the license terms? (Enter YES or NO) Yes Please enter Yes or NO does you accept the license terms? (Enter YES or NO) YES is upgrading/installing ... 1:msodbcsql-13.1.3.0-1 ################################# [100%] [[emailprotected] home]# RPM-IVH mssql-tools-14.0.2.0-1.x86_64. RPM Warning
and/or itsaffiliates. Other names trademarks of their respectiveowners. Type ' help ', ' or ' \h ' for help. Type ' \c ' to clear the current input statement.mysql>This is basically OK on my machine, I can use it.Summarize:Have to say that the environment is really complicated, referring to a lot of users of the method, the last try out, many are local can be referenced, the beginning of all kinds of copy and paste, the effect is very little, after a variety of recovery snapshot attempt to inst
See if MySQL is installedRpm-qa | grep MySQLUninstall MySQLRpm-e–nodepsUnzip MySQLTAR-XVF Mysql-5.7.11-1.el7.x86_64.rpm-bundle.tarInstall MySQLYum Install mysql-community-{client,common,libs}-*RPM-IVH mysql-community-server-5.7.11-1.el7.x86_64.rpmStart the MySQL serviceSystemctl Start Mysqld.serviceGenerate Random passwordsgrep ' temporary password '/var/log/mysqld.log2016-03-15t11:25:13.632616z 1 [Note] A temporary password is generated for [email protected]: X9. L=p4iylzdView the status of the
Linux Security Mode
DAC, autonomous access control
MAC, mandatory access control
SELinux
A set of MAC extension modules to strengthen Linux security
National Security Agency leads development
How SELinux works
Integrated Linux kernel (2.6 and above)
Operating system provides customizable policies and management tools
[[email protected] ~] # cat / etc / redhat-release
Red Hat Enterprise Linux Se
Red Hat Enterprise Linux has the following types of kernels (some of which will not appear in some schemas): kernel-contains a generic kernel with the following features: Single processor support (single processor on multiprocessor systems only) multiprocessor support on Intel EM64T systems (only in R Ed Hat Enterprise Linux 3 supports 4GB memory (1) Kernel-boot
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.