with the root account, go to its home directory, create the authorized_keys file, and set the permissions.Cd ~ /. SshCat/tmp/id_rsa.pub> authorized_keysChmod 400 authorized_keysRm-f/tmp/id_rsa.pub
4) testGo to the root account on machine A and try to log on to machine B. Check if the password is not required.Note:The authorized_keys File Permission is very important. If it is set to 777, you still need to provide a password when logging on.Remember to delete id_rsa.pub in the temporary director
is returned. Because my test server is started by the default Office, I suspect it is an office environment problem! So I uninstalled office2007 and immediately tested it. But after I restarted the server, the have not been pre-compiled error occurred, and the export page could not be opened, so I re-installed office2007 and opened the page, but an error was reported when exporting the Excel file! I reset all the permissions again. the problem persists! Later, I found that the Excel programs op
/crontab
For example, set to execute the script in cron. daily at every day:
00 3 *** root run-parts/etc/cron. daily
3. Edit the script in cron. daily.
Cd/etc/cron. daily/
Vi backupdb
Pg_dump-U postgres voipack>/voipack. SQL
Pg_dump-U postgres regserver>/regserver. SQL
Tar-cvjf/aavm.tgz.bz2/usr/local/aavm
Tar-cvjf/oracle.tgz.bz2/var/oracle
Scp/voipack. SQL root@218.242.214.20:/root/218.242.214.23 _ backup
S
You're ready to start learning Python, but when you're ready to build your environment, you'll encounter the following error:Look carefully, say is missing dll.The solution to this problem:Method One:1. On the install package, right-click Run as Administrator2. C:\Users\ User name \AppData\Local\Temp folder right-click Properties--security, give everyone Full Control permissions;Method Two:Using the Windows msiexec command, let's start with a simple l
contains the command that will be used this time. Public classCommandlines {//corresponding to traditional Public Static stringLANZH_TW =@"wixsubstg.vbs zh-cn\diaviewsetup.msi transforms\zh-tw.mst 1028"; //corresponding Chinese Public Static stringLANZH_CN =@"wixsubstg.vbs zh-cn\diaviewsetup.msi transforms\zh-cn.mst 2052"; //corresponding English Public Static stringLanen_us =@"wixsubstg.vbs Zh-cn\diaviewsetup.msi Transforms\en-us.mst 1033"; //Synthetic language installation
In normal testing work, software is often installed and uninstalled, Which is cumbersome and tiring. Installation and uninstallation can be automated. For software installation, we can use the automation framework and click Next to install the software automatically. Uninstall software. We can use the msiexec command line tool to automatically uninstall the software.
Reading directory
Run the msiexec com
:
VCREDIST_X86.EXE/Q:A/C: "msiexec/i vcredist.msi/qn/l*v%temp%\vcredist_x86.log"
If we call VCRedist.exe install directly, will pop up a decompression dialog box, if you do not want to let this interface appear, you can first extract VCRedist.exe, and then through the "vc_red.msi/qn" To complete the silent installation (note that the MSI is installed through Msiexec.exe in InstallShield).Also, you have confirmed that the icrosoft Vi
will uninstall the application:
(On 32-bit platforms)
Msiexec/X {CEB5780F-1A70-44A9-850F-DE6C4F6AA8FB} callerid=ocsetup.exe
(On 64-bit platforms)
Msiexec/X {BDD79957-5801-4A2D-B09E-852E7FA64D01} callerid=ocsetup.exe
However, the removal of the application may not remove the default. MDB and. LDB files, which will cause a subsequent WSUS 3.0 installation to fail. these files can be deleted from the % WinDir
If you want to install more than one MSI package, you can not use Invoke-item, otherwise PowerShell will not wait for the previous installation package installed, you have run the next installation package.If in batch processing, we may use Msiexec file.msi/wait. PowerShell can also be used in the MSIEXEC.Store these package paths in the array first:
Copy Code code as follows:
$msi = @ ("C:\file1.msi", "C:\file2.msi", "C:\file2.msi")
Then us
for excel2003, such as "C:\Program Files\Microsoft Office\office11\excel.exe"/RegServer note/symbol preceded by a Spaces, where "C:\Program Files\Microsoft Office\office11\excel.exe" is the path of the excel2003 installer, the parameter regserver means registered!After running, the Office 2003 Setup program is started, repaired, and re-registered.EXCEL2007 is the default way to start a program, you can per
-register in the formal environment office2003, so it is also the default office2003 open the program, rely on! The problem finally solved!!!Registration method Execution starts----run----Enter the installation path for excel2003, such as "C:\Program Files\Microsoft Office\office11\excel.exe"/RegServer Note/ There is a space in front of the symbol, where "C:\Program Files\Microsoft Office\office11\excel.exe" is the path of the excel2003 installer, and
/regserver
0x80080005 this could be the WMI service that is running the WMI service to restart the remote host: (Winmgmt.exe) The host internal Error 1. Select Start > Run error. The last WMI warehouse on the host is 2 more. Enter services.msc and click OK to confirm the new failure. 3. In the Open Services window, select Windows Management Instrumentation service 4. Right-click and choose to restart more error codes, refer to MSDN Knowledge Base
In normal testing work, software is often installed and uninstalled, Which is cumbersome and tiring. Installation and uninstallation can be automated. For software installation, we can use the automation framework and click Next to install the software automatically. Uninstall software. We can use the msiexec command line tool to automatically uninstall the software.
Reading directory
Run the msiexec com
+ Folder path file name: Forces Excel to open a specified workbook file as read-only. For example,/R "C:My Documents12345.xls", you can force Excel to open a read-only "12345.xls" workbook in the C:My Documents folder.
/s: Start Excel using Safe mode. You will see the word "Safe mode" in the Excel title bar and start Excel in Safe mode as if it were first started after installation.
When you start Excel using Safe mode, the following is skipped:
(1) All files in any Excel startup folder.
(2
program is the global function _tWinMain, take a closer look at this function, and we'll find that when we run the program, we can add parameters, such as: Servicedemo/regserver or Servicedemo-regserver, This is used for local server registration (register as locality S Register as Service erver); Servicedemo/service or Servicedemo-service, this is the registration of the service (regist ER as service); Se
fails to be used or is lost, and a reasonable explanation of virus is the only way to crack the scalp. In fact, this is not the case. For example, the search panel is lost, the Quick Start bar cannot be started, the Start Menu does not contain "run", and the taskbar does not contain a tray area, there are usually three causes of component failure or loss: ① The component is not installed; ② the system service is not started; ③ The system file is damaged or lost.
Troubleshooting instance: Find t
and Office 2003 to associate their default file types separatelyThat is, a file of type. docx,. xlsx,. pptx is double-clicked by default with Office 2010 Open;Double-click File type. doc,. xls,. ppt to open by default with Office 2003;(1) to have Excel 2010 and Excel 2003 associate their default file types respectivelyIn "Run", enter:C:\Program Files\Microsoft Office\office11\excel.exe/regserver(2) Let PowerPoint 2010 and PowerPoint 2003 respectively
several questions on the use of Inno setupCategory: Install Setup 2013-02-02 15:48 1781 people read comments (0) favorite reports Inno Setup uses a few questions:
"Question one: Inno Setup executes the reg file code?" 】[Run]Filename: "{Win}\regedit.exe"; Parameters: "/s {tmp}\reg.reg" //Silent parameter/s
"Problem two: When installing, if you already have a file with the same name, do not update the file?" 】[Files]Source: "Test.tmp"; DestDir: "{app}"; Flags:onlyifdoesntexist
I installed office2007 a few months ago and it was quite comfortable to use. Later I had to do office development, mainly considering 2003, and then installed another 2003.
After the installation is complete, the default value is that the system prompts you to install the SDK on the premise that the SDK is installed again as prompted.
Okay, 2007 is normal, but the file in XLS format is opened in excel2007 compatibility mode by default.
(Some VBA reports an error in 2007. Is it compatible ??!!
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.