Linux set static IP when the error has been: Job for Network.service failed. See ' systemctl status Network.service ' and ' journalctl-xn ' for details. Hang me for hours, write an essay here, and hope that friends who meet this problem don't waste
Recently re-entered the overseas server, want to toss something, has not used the server for almost a year, forget a lot of things, this time to do the side of the memory while learningFirst of all, you have to log in.# SSH [Email protected]Enter
1. Install SVNYum Intall Subversion2. View the installation locationRPM-QL Subversion3. Verify that SVN is installed successfully and see HelpSVN--help, see the expression success.4. Create the SVN repository directoryMkdir–p/var/svn/svnrepos5.
Instructions for useBackup/etc/yum.repos.d/centos-base.repo FirstMv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backupDownload the corresponding version of the repo file, put in the/etc/yum.repos.d/(please do the appropriate
[1] First backup/etc/yum.repos.d/centos-base.repoMv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backup[2] Enter the folder where the Yum source configuration file is located[Email protected] yum.repos.d]# cd/etc/yum.repos.d/[3]
1. Use the following command to verify that you have brought your own openjdkJava-versionIf printed as follows, OPENJDK is installed" 1.6.0 " 1.6. 0-1.6. 0-b09, mixed mode)2. If the OPENJDK is installed in the first step, you must first uninstall
When installing CentOS6.4, the system automatically installs the JDK, downloads it, and installs the custom JDK.The uninstallation steps are as follows:[Email protected] ~]# Rpm-qa|grep jdkjava-1.6.0-openjdk-1.6.0.0-1.50.1.11.5.el6_3.x86_ 64java-1.7.
Task: Install CentOS under Windows1. Download the CentOS image file to prepare an unformatted space.2. Write to the USB flash drive using the system UltraISO will install.3. Start with a USB stick and load the system into an empty partition
First, change the startup modeBackground: The personal development environment, the GNOME desktop installed, the default boot is the graphical mode.Modify to command-line mode.set-defaultSecond, real-time view of the boot logThe default is that
CentOS 7.0 defaults to using firewall as the firewall, where the iptables firewall is changed.1. Close firewall:Systemctl Stop Firewalld.service #停止firewallSystemctl Disable Firewalld.service #禁止firewall开机启动2. Install iptables FirewallYum Install
Generally after the completion of the new kernel, the system is started by default or the old kernel, if not manually select is not to start the new kernel itself, so we can change the new kernel for the default boot!#此案例是编译的4.4.0 New kernel!
Use the SU command to switch to the root user;UseVI /ETC/BASHRCcommand to insert the following code:ps1="\e[1;32m\u\e[m\e[1;[ Email protected]\e[m\e[1;35m\h\e[m:\w\$"After saving, enter the command under root user:Source/etc/bashrccan take
Install Nginx on the CentOS I just installed. I use the download Nginx source code to install the code.The installation will be error, mainly missing some libraries, or although some libraries have been installed, but not the development version of
1 editing and defining the commandsVisudo2 Alias (alias)2.1 Types of aliasesContains the following four aliases: User_alias,runas_alias,host_alias,cmnd_aliasNote: Write case sensitivity for the above alias typesAlias:: = ' user_alias ' User_alias (':
Installation and testing of availability1. Installation commandYum Install vsftpd2, configure the firewall, add a row-A input-p tcp-m tcp--dport 21-j ACCEPTTest Telnet 192.168.0.1 21 on other machines3. Start-Up serviceChkconfig--level 2345 vsftpd
Because development requires a Hadoop/spark cluster to be built locally, the company it policy does not allow local clusters to access the Internet, so you can only install a variety of components offline.The installation process is documented below
This does not see the boot boot card where, had to restart press and hold the "E" key, enter the boot menu: Then move to the second kernel ... Then press E into the editor to remove the rhgb quiet words press ENTER to save back to the selection
Ps-ef|grep JavaPS: Show a process-a displays all programs.-E The effect of this parameter is the same as specifying the "A" parameter.-F Displays Uid,ppip,c and Stime fields.The grep command is to findThe Middle | is a pipeline command that refers
Hadoop execution run-report warning for download on official website:WARN util. nativecodeloader:unable to load Native-hadoop library for your platform ... using Builtin-java classes where applicablePut: './in ': No such file or directoryThe main is
1.GCC UseWhen using GCC to compile a program, the compilation process can be subdivided into four phases:Pretreatment (pre-processing)Compilation (compiling) compilation (assembling)Link (linking).For example:#includeint main (void){printf ("Hello
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.