In Feburary 2016 24,
Open the 'Start' menu and type 'Command Prompt' in the search field, click on the shortcut that appears in the search results. Type 'cd C:\location\of\files' without the quotes and press 'Enter' to change to the backup directory. Replace 'C:\location\of\files' with the folder you plan to use to back up your site.
Type 'ftp ftp.yourwebsite.com' and press enter. Replace 'yourwebsite.com' with the URL of your site. Type in your user name and password when prompted.
Type 'cd /path/to/website' and press 'Enter' to change the directory to your website directory if necessary. In most cases you will already be in your website's directory. If in doubt, ask your Web host.
Type 'mget
' and press 'Enter' to back up all your website files in the local computer. To restore them instead, type 'mput
' and press 'Enter.'
In Feburary 2016 24,
Showing posts with label cd. Show all posts
Showing posts with label cd. Show all posts
Wednesday, 24 February 2016
Saturday, 13 February 2016
How to Download Firefox Using FTP on Windows XPIn Feburary 2016 13,
In Feburary 2016 13,
Click on 'Start' and then 'Run'. Type 'cmd.exe' and click 'OK.' Type 'ftp -A ftp.mozilla.org/pub/firefox/releases/' without the quotes and press 'Enter.'
Type 'ls' to see the available releases if you aren't sure which you want. Type 'cd releasenumber/win32' to enter the directory for the version you want to download. For example, to download version 4.0, replace 'releasenumber' with 4.0 and press 'Enter.'
Type 'ls' again to see the available languages, or type 'cd en-US' to switch to the US English directory. Type 'lcd Desktop' switch the local directory to your Desktop. Type 'Binary' to switch modes.
Type 'mget *.exe' to download the setup file. Type 'yes' and press 'Enter.' Wait for the file to finish downloading. Double-click the file on your Desktop and follow the prompts to install Firefox.
In Feburary 2016 13,
Click on 'Start' and then 'Run'. Type 'cmd.exe' and click 'OK.' Type 'ftp -A ftp.mozilla.org/pub/firefox/releases/' without the quotes and press 'Enter.'
Type 'ls' to see the available releases if you aren't sure which you want. Type 'cd releasenumber/win32' to enter the directory for the version you want to download. For example, to download version 4.0, replace 'releasenumber' with 4.0 and press 'Enter.'
Type 'ls' again to see the available languages, or type 'cd en-US' to switch to the US English directory. Type 'lcd Desktop' switch the local directory to your Desktop. Type 'Binary' to switch modes.
Type 'mget *.exe' to download the setup file. Type 'yes' and press 'Enter.' Wait for the file to finish downloading. Double-click the file on your Desktop and follow the prompts to install Firefox.
In Feburary 2016 13,
Tuesday, 2 February 2016
How to Flush a Slow Query Log in MySQLIn Feburary 2016 02,
In Feburary 2016 02,
Connect to a remote MySQL server through SSH, or open a terminal window if you are located with the physical server.
Type “cd mysql-data-directory” at the command prompt, replacing mysql-data-directory with the path to the location of the mysql data files on your server. By default, the data directory is located in /var/lib/mysql .
Rename the current log files if you want to keep a copy for analysis, by typing the following at the command line.mv mysql.log mysql.old
mv mysql-slow.log mysql-slow.old
Flush the log files by typing at the command prompt:mysqladmin flush-logsMySQL closes any existing log files, and then reopens them as new files with the same names.
In Feburary 2016 02,
Connect to a remote MySQL server through SSH, or open a terminal window if you are located with the physical server.
Type “cd mysql-data-directory” at the command prompt, replacing mysql-data-directory with the path to the location of the mysql data files on your server. By default, the data directory is located in /var/lib/mysql .
Rename the current log files if you want to keep a copy for analysis, by typing the following at the command line.mv mysql.log mysql.old
mv mysql-slow.log mysql-slow.old
Flush the log files by typing at the command prompt:mysqladmin flush-logsMySQL closes any existing log files, and then reopens them as new files with the same names.
In Feburary 2016 02,
Subscribe to:
Comments (Atom)