Reprint: http://itjh.net/2016/04/26/centos-install-jenkins/Jenkins is an open source project that provides an easy-to-use, continuous integration system that frees developers from complex integrations and focuses on more important business logic
when reading and writing files, To improve read and write efficiency and speed, the Linux kernel caches files in memory, which is the cache memory. cat/proc/sys/vm/drop_caches 0 Span style=
The newly created non-root user in CentOS does not have sudo permission, if need to use sudo permission must add account and permission in/etc/sudoers, so when switch to root account only need to enter: Su, add root account password. In Ubuntu,
The role of enhanced tools
and host shared folders
Mouse Auto Capture release
High split screen
Adaptive window
1. Open the CentOS virtual machine into the GUI and click on the virtual machine on the toolbar-"Reinstall
Modify IPVi/etc/sysconfig/network-scripts/ifcfg-eth0Onboot=yesBootproto=dhcpService Network restartVirtual opportunity automatically acquires an IP address after reboot-----------------Example: the IP address after ifconfig is
CentOS version ViewView CentOS version: Cat/etc/porc/version or uname-a or uname-rView Linux version: Cat/etc/issue or lsb_release-a (Note: This command is suitable for all versions of Linux)Firewall1 shutting down the firewall: service iptables
1.yum Install VSFTPD2.chkconfig vsftpd on3.service vsftpd Start4.adduser-d/home/bp-g ftp-s/sbin/nologin bps, and enter the command: passwd bps to add a password to the account.(/HOME/BP for its own FTP directory, bps for its own new FTP account)5.vi/
Install real clusters, not but nodes or pseudo-distributed, take 3 nodes for example, Node1 for Namenode and Secondnamenode,node2 and Node3 for Datanode.1, 3 machine configuration must be identical, only need to be configured on the Node1, SCP to
Get readyCentOS Linux release 7.0.1406 (Core)SSH 22 PortHTTP 80 PortThis article is mainly SSH protocol support, HTTP protocol configuration after the problem.Excerpt of a paragraph of explanationSSH protocolSetting up a Git server often uses the
Boot does not start
In the actual production scenario, we like to install some software services, set the software to boot, set to boot from boot There are two ways:1) set to chkconfig, You can write a script to view the command to set the
OPEN-JDK installation is available by defaultWe need to uninstallUninstall process:Find RPM Installation PackagesRpm–aq|grep Java;UnloadingRpm–e–nodeps installation PackageSee if the JDK is currently installed via YumYum list Installed|grep Java;If
NTP Service time synchronizationTurn off firewalls and SELinux or turn on all firewall services[Email protected] ~]# firewall-cmd --set-default-zone=trusted NTP service[[email protected] ~]# yum–y install NTP[email protected] ~]# cat /etc/ntp.
1. First switch to the root user, enter the commandSu2. Add the Write permission to the sudo file, and the command is:chmod u+w/etc/sudoers3. Edit the Sudoers fileVi/etc/sudoersFind root all= (all) all this lineIn the "root all= (All) All" line, add
In grub we modify the/boot/grub/grub.conf, and the file to be modified in GRUB2 is/boot/grub2/grub.cfginux16/vmlinuz-3.10.0-123.el7.x86_64 root=uuid=881ac4e6-4a55-47b1-b864-555de7051763 ro Rd.lvm.lv=centos/swap
The default CentOS and REDHAT7 are not enabled for wired network cards, either manually on or directly enabled when installed!Open Terminalcd/etc/sysconfig/network-scripts/ LS finds ifcfg-eno*** (followed by numbers), then VI editsVI
To minimize the installation of centos on the virtual machine, you will find that after logging on to the system, you can enter the ifconfig command to find that the etho0 Nic is only LO and the eth0 IP address cannot be found.1. log on to the
I. Network Configuration Ifconfig-a view IP Address Dhclient automatically obtains the IP address VI/etc/sysconfig/network-scripts/ifcfg-eth0 edit Nic Profile Change bootproto to static to indicate the static IP address. Ipaddr = our custom IP
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.