The first thing to do after installing a system is to configure the network. Modified parameter profiles and instructions for observing results of important startup scriptsIP-related parameters/etc/sysconfig/network-scripts/ifcfg-eth0 Ifconfig
One, crack root password solution
The first is how to retrieve the root password under CentOS:
We first install a CentOS for testing:
Select the feature software to install
Installation Complete
Beginning
1. If it is installed, there will be the following tips:
samba-3.0.28-0.el5.8samba-common-3.0.28-0.el5.8samba-client-3.0.28-0.el5.8System-config-samba-1.2.39-1.el52. If not installed, you can install using the Yum Install Samba command3. Configure
My server defaults to minimal installation, so there is no vncserver. Install one using Yum.
# yum Install Tigervnc-server
Then start up:
# vncserver:1
Try to use the Vncviewer connection under Windows, and find that the same server as the
SVN installation
The installation is simple:
The code is as follows
Copy Code
# Yum Install Subversion# yum Install MOD_DAV_SVN
Package installation methods for different distributions see
Method One,
Edit/etc/rc.d/rc.local File
Format is program name program path
such as a.sh/home/a.sh
The second method
Just replace the your_prog_name with the name of your actual script or execution file, and set the Prog_path to a specific path.
Rhel7/centos7 used GRUB2 instead of the previous grub boot, initialized by Init and replaced with SYSTEMD initialization. The resulting root password is also different from the previous operation when it is retrieved. Specifically as follows:
1.
Last week, with the company's server test, a server connected to VNC, always black screen. Today in the teaching section with their own server to find a solution.
My server defaults to minimal installation, so there is no vncserver. Install one
Previously built for the company's Tomcat environment (CentOS installation configuration JDK1.7 and TOMCAT7), developers say that every time you start Tomcat is inconvenient, every time to go under the/usr/local/apache-tomcat-7.0.26/bin to execute,
Recently purchased the Aliyun Cloud Host, in the configuration of a good PHP environment to configure FTP; The general procedure is: Install vsftp first. 1 Install vsftpd yum install vsftpd Press Y Enter, the system automatically installs
We do not boot the NIC, so we can only use
Ifup eth0
To start, but every time it feels so inconvenient. I hope to boot up the network card automatically
Then Baidu search for a moment found that you can modify the network card (ifcfg-eth0)
The results of the query find the process for the grep containing a specific string by pipeline. Pipe character "|" Used to separate two commands, the output of the command on the left side of the pipe will be the input to the right command of the
About LVs DR (Direct Root) mode
DR mode requires Director and realserver on the same network segment, the user through the VIP to access our services, Director received the user's request, will be the request of the target Mac to one of the
Windows's default encoding is GBK, and Linux's default encoding is UTF-8. The edited Chinese characters in Windows are garbled characters in Linux. To solve this problem, modify the default Linux encoding to GBK. The method is as follows:View
Let's first introduce ImageMagick.ImageMagick (IM) is an open-source free software package that supports the GPL protocol.It consists of a group of command line tools.It can be applied to over 100 image formats (including DPX, EXR, GIF, JPEG, JPEG-20
If this problem occurs, we can see that crontab is not installed. We can install the following cron.Install crontabYum install-y vixie-cronRun the preceding command to installCheck whether the installation is successful.Crontab-lCheck whether it is
SolusVM has not been introduced much. We should have some knowledge about VPS abroad. Next, let's get to know how to install SolusVM.Before installation, we 'd better use screen for installation, because the use of screen can reduce the
In fact, this problem is more like a Linux user problem. Apache automatically generates permissions for using apache users and apache user groups to operate on things in Linux by default. If this permission is used, you cannot delete or edit files
Record your own installation processFirst install the gcc-c ++ compiling environment and openssl The code is as follows:Copy code Yum install gcc-c ++ openssl-develWget http://nodejs.org/dist/node-v0.10.12.tar.gz (latest nodejs download
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service