The screen is still not adaptive after the virtual machine CentOS is installed, as shown in the following figure
Solutions
According to the online tutorials, change resolution, virtual display, these methods are ineffective, suddenly think of
To turn off the virtual machine firewall:
Close command: Service iptables stop
Permanently shutdown firewall: chkconfig iptables off
Two commands run at the same time, view firewall shutdown status after the run is completeService Iptables Status
First, download the installation
The code is as follows
Copy Code
[root@localhost src] wget http://cronylab.pl/codes/sshc-0.8.tar.gz[root@localhost src] tar zxvf sshc-0.8.tar.gz[root@localhost src] CD
# Connection Timeout# Default value of 30sConnect_timeout=30
# Network Timeout time# Default value of 30sNetwork_timeout=60
# The base path to store log files store log root directoryBase_path=/rekfan.com/fastdfs_data
# tracker_server can ocur
First download the phpMyAdmin:
http://www.phpmyadmin.net/home_page/index.phpChange a convenient name, like PMN.And then upload it to/var/www/html,centos and enter:
Cd/var/www/htmlTar Xvfz pmn.tar.gzInstall and decompress, change folder name to
Recently because of using CAs to do single sign-on, you need to configure SSL, the process is relatively simple, record the meaning of each step, so as not to forget later.Requirements Scenario: CAs single sign-on requires SSL and the server
The "local Yum source" in this article includes three types: one is to use the CentOS disc directly as a local Yum source, the advantage is simple and convenient, the disadvantage is that the CD package may be incomplete (CentOS 7 Everything A total
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,
Build SVN service, effective management code
First step: Install
#yum Install SubversionDetermine if the installation was successful#subversion-VSvnserve, Version 1.6.11 (r934486)The above prompts show that the installation was successful.If
1, Vi/etc/sysconfig/clock #编辑文件Zone= "Asia/shanghai"Utc=false #设置为false, hardware clock is not consistent with UTC timeArc=false
2, Ln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtime #linux的时区设置为上海
3, Ntpdate asia.pool.ntp.org #对准时间, you need to
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
Preparatory work1, CentOS system upgrade Python to 2.7.32, Python 2.7.3 installation bz2 expansion
Please be sure to complete the above operation before you do the following, otherwise please come back, and you will encounter the following error
Install sendmailRun:[Root @ vps478753 ~] # Yum-y install sendmailThe program will automatically search for the sendmail installer for automatic installation.After installing sendmail, run the following command to start sendmail.[Root @ vps478753 ~] #
I. Server operations (master server)Check method:1. rpm-qa rsyncThe rsync package is installed.2. rsync + press enterThe help information indicates that the tool has been installed.Configuration startsVim/etc/xinetd. d/rsync1 configure rsync
Here we will put sdb1 under dataMkdir/dataMount/dev/sdb1/dataStop service:Service mysqld stopService pureftpd stopService httpd stopService nginxd stopMobile data:Mv/www/*/data &Ps-aux: the process mv-I is stopped. Continue with the following
Enable port 80Firewall-cmd -- zone = public -- add-port = 80/tcp -- permanentIf success is displayed, the instance is successfully added.Command description:-- Zone # Scope-- Add-port = 80/tcp # add a port in the format of port/communication
This evening, I opened the Online server and went to the previously installed DA. I was so upset to see a bunch of Brute force attack alarms. I followed the online tutorial to set iptables. In the future, I can block IP addresses directly. 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
1. Modify Nic configuration Edit: vi/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = eth0 # describe the DEVICE alias for the NIC, for example, it is eth0 in the ifcfg-eth0 fileBOOTPROTO = static # set the way for the NIC to obtain the IP address.
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