example uses Shi Pai as an example:1. NAT virtual network is used in the school. The number of IP addresses requires two groups of C. All IP addresses must be disguised as IP addresses.2. Campus security requirements are not high, servers and workstations are placed in the same network segment, and DMZ design is not required.3. Due to frequent expansion of server functions, all servers adopt a one-to-one mechanism without using the port forwarding function.4. All workstations are free to use ne
INPUT-p tcp -- dport 22-j ACCEPT
Related reading:
Install LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and set http://www.linuxidc.com/Linux/2013-06/86250.htm in Ubuntu 13.04
LAMP website acceleration optimization http://www.linuxidc.com/Linux/2013-09/90019.htm
Compile and install LAMP (Apache 2.2.44 + MySQL 5.6.10 + PHP 5.4.12) http://www.linuxidc.com/Linux/2013-03/80333p3.htm in CentOS 5.9
Source code construction of Web Server Architecture in RedHa
root user through an indirect attack.
Possible problems with the "sudo" Mode
Although the use of sudo on the desktop is advantageous, you still need to pay attention to some possible problems.
Some packages from universe will be effectively broken (such as webmin) or dangerous to use. A good work und is to activate the root account (sudo su-; passwd) and lock it (su-; passwd-l) before processing the affected package ).
Running the sudo command to red
-------------------------------------
How does Apache Rewrite in Ubuntu enable http://www.linuxidc.com/Linux/2010-10/29027.htm?
Several highlights of http://www.linuxidc.com/Linux/2015-01/111914.htm after Apache 14.04 upgrade to 2.2 in Ubuntu 2.4
Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04Http://www.linuxidc.com/Linux/2013-06/86250.htm
Compile and install LAMP (Apache 2.2.44 + MySQL 5.6.10 + PHP 5.4.12) http:/
/activated_rules/*. conf
(2) version 2.6Vim/etc/apache2/mod-available/mod-security.conf
ModifyInclude/etc/modsecurity/*. confInclude/usr/share/modsecurity-crs/*. confInclude/usr/share/modsecurity-crs/activated_rules/*. conf
Start the modsecurity Module
A2enmod headersa2enmod security2 (version 2.6: a2enmod mod-security) service apache2 restart
Note !!!!!!!!!!!!!!Once the IP address is modified, the error 403 is displayed !!!!!! For this error, after one day, it is impossible to search f
. Check the cpu. The rotate process occupies a large amount of cpu,
Kill-9
8. It is restored to normal and can be printed.
9. Continue to find the reason
Find/home-type f-ls | perl-e 'while (
This will count all hidden files, including the ones from lost + found.
The number shocould be close to what how much space is used on disk.
If df shows a something way different you may be want to run something like:
Lsof | grep home
Look for some suspicious applications.
The idea is that if an appli
Configuration
Httpd-userdir.conf user directory configuration, used to provide web sites for multiple users on a server, map users to their own directory
Httpd-vhosts.conf Virtual Host Configuration
1.3.1 mod-Dir
This module allows you to specify the index file. The configuration is as follows:
Directoryindex index.html index. php
In this way, when the user accesses the root directory, if there is a corresponding file below, the server will redirect the user to the index file page.
1.3.2 mod-Au
_ 21/lib/i386/directory, which is related to the Java Plug-in of Firefox, create a symbolic link under the current directory/usr/lib/Mozilla/plugins to point to it:
Ln-s jre1.6.0 _ 21/lib/i386/libnpjp2.so
The above command generates the symbolic link libnpjp2.so, pointing to (->) jre1.6.0 _ 21/lib/i386/libnpjp2.so file.
OK. Open the Firefox browser again. Under "add plug-in", you can see the plug-in "Java (TM) Plug-In 1.6.0 _ 21 ". The "Java" button in a row of quick buttons in the lower-right
-1.0.7
#./Configure
# Make
# Make install
# Cd ..
# Cd alsa-utils-1.0.7
#./Configure
# Make
# Make install
# Alsaconf
# Reboot
Restart the system and choose "Main Menu"> "sound" and "video"> "volume controller". Set it in and enable the audio player. Then you can hear beautiful music.
However, there is another drawback: as long as you restart the system, the volume will be minimized. To hear the sound, you must reset the volume controller. Although it is not too troublesome, it always f
region with the UTC time difference of-5 hours, this parameter should be "-300 ". FilesizeM specifies to scroll by filesizeM file size, rather than by time or time difference. An example of setting in Windows is as follows:# Restrict the error log file to 1 MBErrorLog "| bin/rotatelogs.exe-l logs/error-% Y-% m-% d. log 1 M"# Generate an error log file every day# ErrorLog "| bin/rotatelogs.exe logs/error-% Y-% m-% d. log 86400"# Restrict access log files to 1 MBCustomLog "| bin/rotatelogs.exe-l
the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04Http://www.linuxidc.com/Linux/2013-06/86250.htm
Compile and install LAMP (Apache 2.2.44 + MySQL 5.6.10 + PHP 5.4.12) http://www.linuxidc.com/Linux/2013-03/80333p3.htm in CentOS 5.9
Source code construction of Web Server Architecture in RedHat 5.4 LAMP environment and application PHPWind http://www.linuxidc.com/Linux/2012-10/72484p2.htm
LAMP source environment to build WEB Ser
;Fastcgi_index index. php;Fastcgi_param SCRIPT_FILENAME/scripts $ fastcgi_script_name;Include fastcgi. conf;# Include fastcgi_params;}
Note the above include: I use the default fastcgi_params browser program to report an error where the file cannot be found. Save the file and restart the service:Service nginx restart
Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04
Build and install the LNMP production environment i
Recently, a new Linux server has been set up. The architecture is Lamp. When a website Administrator logs on to the management background, the verification code is "dig" to display the cross-fork, for example:
Solution:
1. the gd library is not installed, so you need to install it:
Yum-y install gd
2. the PHP program cannot call the gd library, so you need to install the php-gd extension:
Yum-y install php-gd
3. Restart the apache service and refresh it;
Later I found that php-xml was n
PHP
Installing the MARIADB Database
Installing and configuring the SSH server
Installing GCC (GNU compiler Set)
Installing Java
Installing Apache Tomcat
Install Nmap Check open port
Configuring firewalls
Installing Wget
Install Telnet
Installing Webmin
Enable third-party libraries
Installing the 7-zip tool
Installing the NTFS-3G Drive
Installing the VSFTPD FTP server
Installing and configuri
://www.apache.org
1. Tar xzvf httpd-2.2.4.tar.gz
2. Music httpd-2.2.4/usr/local/src
3. Run CD/usr/local/src/: Configure -- prefix =/etc/httpd -- enable-module = So (in order not to execute every configure operation. /configure. You can add the current path VI/root/in the environment variable /. bash_profile, modify Path = XXXX :. (add a colon and a dot ))
4. Execute: Make
5. Run make install.
6. Start the service:/etc/httpd/bin/apachectl start. The following message is displayed: No domain name
: Index of/admin
Intitle: "documetation"
Inurl: search by multiple keywords such as 5800 (VNC port) or desktop Port
Webmin port 10000
Inurl:/admin/login. asp
IPSec filetype: Conf
Intilte: "error occurred" ODBC request where (select | insert) to put it bluntly, that is to say, you can directly look up the database for retrieval, for the current popular SQL injection, it will be developed.
"Dumping data for table" Username Password
Intitle: "Error Usin
The following methods are used to remotely forward linux desktops to the local XDMCP protocol) to achieve local graphical management.
1. Xmanager can be used to enable XDMCP in linux to directly modify the configuration file. You can also run gdmconfig or gdmsetup in Xshell, select the XDMCP tab, and select start XDMCP ), xbrowser can discover linux Hosts and access linux in a graphical manner.
2. When the VNC service is enabled in Linux, the client can access linux using the JAVA Applet plug-
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.