Start the article, the Great God Detour.One. Service-Side BuildingThe server version number I used is: Cas-server-3.4.11-release.zip. After unpacking, rename the \cas-server-3.4.11-release\cas-server-3.4.11\modules\cas-server-webapp-3.4.11.war file to Cas.war, Place the Tomcat\webapps folder under Tomcat, and then start Tomcat.After entering the *****\tomcat\webapps\cas folder, change two configuration files:1. To change the Tomcat\webapps\cas\web-inf
deleted.Description: In fact, from the time you move the source code into the SVN server, each version of the data and files, even if you have deleted, you can always move out.Security settingsRight-click on the users on the left:Enter the information above, click OK, we will create a user. According to the above procedure, add the user Developer1, Tester1, manager1 Separately, OK, we start to add these users to the project we just created:Click on the "Add ..." button in the Select the user we
Method 1:Synchronizing with a known time serverNtpdate time.nist.govWhere time.nist.gov is a time server.Delete local time and set time zone to ShanghaiRm-rf/etc/localtimeLn-s/usr/share/zoneinfo/asia/shanghai/etc/localtimeMethod 2:Linux Auto Sync timeVi/etc/crontabAdd one sentence: 0 1 * * Root rdate-s time.nist.govConfiguring the Time server configuration (192.168.10.1)1), # RPM-IVH ntp-4.1.2-4.el3.1.i386.rpm2), # vi/etc/ntp.confComment Line:Restrict default IgnoreAdd a line: Restrict 192.168.1
CentOS PPTP service setup
Operating System: CentOS 6.2
Internet IP Address: 192.168.101.168
Deployment operation:
1. Check whether the system kernel supports MPPE patches.
# Modprobe ppp-compress-18 echo OK
# If OK is displayed, the system supports the MPPE patch. If not, install kernel-devel first.
# Yum install kernel-devel
2. Check whether TUN/TAP support is enabled.
# Cat/dev/net/tun
# If the follo
Environment: UbuntuI. Building an NFS server(1) Installation:sudo apt-get install nfs-kernel-server #安装NFS服务器端sudo apt-get install Nfs-common #安装NFS客户端(2) Add NFS shared directory1) Create a shared folder, such as/nfsroot:Mkdir/nfsrootsudo chmod-r 777/nfsrootsudo chmod-r nobody/nfsroot 2) Add share path: sudo vi/etc/exportsAdd a row at the end of the file,/nfsroot is a shared directory/nfsroot * (Rw,sync,no_root_squash) (3) Start the NFS servic
:\Project\Python\web"; Index index.html index.htm; Include Fastcgi_params; Fastcgi_param script_filename $fastcgi _script_name; Fastcgi_param path_info $fastcgi _script_name; Fastcgi_pass 127.0.0.1:8008; }} Use the command line when you are finished setting upNginx–s Stop Stop ServiceNginx–t test configuration file for errorsNginx Start-up serviceThen visit localhost, which will show the index.html under pyweb/www/(write a Hel
to hold the exported root certificate.650) this.width=650; "src=" http://img1.51cto.com/attachment/201203/210644688.png "border=" 0 "/>Click Next to confirm the confirmation screen and click Finish to export the certificate.650) this.width=650; "src=" http://img1.51cto.com/attachment/201203/210658575.png "border=" 0 "/>We keep the exported certificates safe for later import into external users and non-domain-joined computers.This article is from the It DreamWorks blog, so be sure to keep this s
SquidService Squid restartChkconfig squid on4. Add a forwarding RuleA. Turn on route forwardingEcho 1 >/proc/sys/net/ipv4/ip_forwardor Sysctl-w net.ipv4.ip_forward=1B. Adding firewall rulesREDIRECT 80-port requests to 3128, that is, when connecting to a proxy server, port 80 or 3128 can be connected to the InternetIptables-t nat-i prerouting-p tcp--dport 80-j REDIRECT--to 3128Specify IP to respond to customer requestsIptables-t nat-a postrouting-j SNAT--to 154.87.60.210Service Iptables Save5. T
, if your time is incorrect)650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8A/9A/wKiom1g1B8iSFZ7xAAA8eGa2Zn4621.png "title=" 2.png " alt= "Wkiom1g1b8isfz7xaaa8ega2zn4621.png"/>3. You can now configure other servers to connect to the 192.168.1.201Yum install ntpdate-y download NTP/ETC/INIT.D/NTPD Start Open ntpdSet a timed taskCrontab-e*/1 * * * */usr/sbin/ntpdate 192.168.1.201 >>/tmp/logSynchronize with 192.168.1.201 server every minute and enter into/tmp/logThen wait a little while
Install Nodejs FirstThe first stepCreate the node project configuration Package.json as followsExpress how to use the http://www.runoob.com/nodejs/nodejs-express-framework.html referenceConnect to SQL Server database I'm using the Node-mssql component use method can refer to Https://github.com/patriksimek/node-mssqlExecuting the NPM install installation componentStep TwoNew Server.jsThe code is as follows:Step ThreeCode of Practice .Fourth StepAccess connectionComplete!Nodejs+express+sqlserver S
..."FiIncremental backup#!/bin/shdate=$ (DATE +%y%m%d:%h:%m:%s) # defining time variables for file name suffixesSvn_dir=/svn/jichuang # defining SVN Library Directory variablessvn_bak_dir=/svn/backup/# define backup files to store directory variablesnum1=$ (cat/tmp/jichuang_svn_id) # take the initialization version numbernum2=$ (Svnlook youngest $SVN _dir) # take the current version number# Start BackupSvnadmin dump $SVN _dir-r $NUM 1: $NUM 2--incremental> $SVN _bak_dir/jichuang_aDd_bak_$date#
is outside the scope of this documentation. Refer to your system documentation, search the Web, or look to the Nagios support Portal or Nagios Community Wiki for spec IFIC instructions on configuring your Ubuntu system to send mail messages to external addresses.Ten) you ' re donecongratulations! You sucessfully installed Nagios Core. Your journey to monitoring is just beginning. You'll no doubt want to monitor more than just your local machine, so check out the following docs ...
Moni
/vsftpd_login.db#vim/etc/pam.d/vsftpd#注释所有内容 Add the following two linesAuth required/lib/security/pam_userdb.so Db=/etc/vsftpd/vsftpd_loginAccount Required/lib/security/pam_userdb.so Db=/etc/vsftpd/vsftpd_loginEstablish access rights for virtual users#useradd-D/home/ftp Virtual#chmod 700/home/ftpSetting up a configuration file#vim/etc/vsftpd/vsftpd.confLocal_enable=yesGuest_enable=yes #启用虚拟用户Guest_username=virtual #映射到本地virtual用户Service VSFTPD Restar
the Vuser.db database file that you just created, you must omit the do not write */Edit Master profile, add Guest user's permission statement at last lineGuest_enable=yesGuest_username=vuserPam_service_name=vsftpd.vuRestart service, try to loginWe can also specify a separate configuration folderInsert at the end of the main configuration file:User_config_dir=/etc/vsftpd/vu_dir/* Individual User Configuration folder */Creating a configuration filemkdi
Install Visual SVN server on the server and open:Right-click repositories-new-repositoryFill in the name and click NextSelect the type, and if it is a single item, select the second one and click NextSelect permissions, click CreateClick Finish, then the SVN directory is created.Open project with visual studio2013 after creationRight-click on the solution, tap add solution to SubversionClick NextSelect Existing Repository, click NextFill in the URL address, click Next, where the URL can be opene
FTP file service setup and synchronous transmission
Requirement
Set up an FTP server for file upload and download. At the same time, synchronize the files in the FTP server directory to multiple servers for Synchronous updates. At the same time, the file must control the user's access to the corresponding folder.
The required software is bestsync (synchronous transmission software)
Serv-U (set up FTP)
Opera
Install JAVA1 Create normal user Useradd wujianpasswd Wujian prompt for password: "Enter Wujian password" User:wujian group:root passwd:123456789 2 to "Wujian" Assign root permissions vi/etc/sudoers found in file #%wheel all= (All) all remove "#" execution command: usermod-g root wujian Execute command: Su-"note su and-there is a space between" 3 background: if the user Using root to upload the Java installer to the server, the Java installer is bound to be the root of the current user role: Roo
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.