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
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
I am a Yun-Wei, the company's computers and servers, etc. i will set fixed IP to facilitate my management. This is mainly CentOS set fixed IP address, because I was just beginning to learn Linux encountered a second challenge problem, if I do not
Installing packages with Yum is quick and easy, with several software libraries from CentOS and other Third-party developers with software components outside of the default repositories of base and updates to meet your needs, which have varying
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
Switch to the wdcp Directory (in fact, it can be any location, and I prefer to put it together)Cd/www/wdlinuxUpgrade to php5.3Wget http://down.wdlinux.cn/in/php_up53.shSh php_up53.shWget http://downinfo.myhostadmin.net/vps/pdo_mysql_ins5.3.shSh
In the general production environment, centos/redhat is installed with minimal installation, and occasionally you can try to play with the desktop environment. Of course, the wubantu desktop optimization may be better.[Root @ localhost ~] # Yum
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