Showing posts with label path. Show all posts
Showing posts with label path. Show all posts

Saturday, 27 February 2016

How to Send a File to an IP Address With Command PromptIn Feburary 2016 27,

In Feburary 2016 27,
Click 'Start' and type 'run' into the search box. Click on the 'Run' link, then type 'cmd' and press 'Enter.' Click on the new window to select it.
Change the command prompt's current directory to the folder containing the file you want to send by typing the following command:cd '\myFiles\projectA'Replace '\myFiles\projectA' with the full path to the folder containing the file. Press 'Enter.'
Type the following command to launch the command-line FTP client on your prompt:ftp 74.120.4.80Replace '74.120.4.80' with the IP address of the computer where you want to send the file. Press 'Enter.' The FTP client will await your next command on its own command prompt.
Type the following command:put myFile.docReplace 'myFile.doc' with the name of the file you want to send. Press 'Enter.' After a delay that depends on the file's size, the FTP client will return control to you. At that point, the file will have been successfully sent to the remote IP address.
Type the following command:byePress 'Enter.' The FTP client will exit to the usual command prompt.
In Feburary 2016 27,

Saturday, 20 February 2016

How to Install PureIn Feburary 2016 20,

In Feburary 2016 20,
Go to the 'Modules Matching ftpd' page (see Resources). Right-click the 'pureftpd.wbm' link and copy the URL.
Log in to your Webmin admin center (the path of this differs depending on where you installed the program).
Click 'Webmin Modules.' Click 'From ftp or Http URL.' Select the field, right-click and click 'Paste' to paste the URL in.
Click 'ignore module dependencies when installing,' then 'Grant access only to users and groups.'
Click 'Install module from file.'
In Feburary 2016 20,

Saturday, 13 February 2016

How to Install ImageMagick on WAMPIn Feburary 2016 13,

In Feburary 2016 13,
Download the most recent Microsoft Windows binary package for ImageMagick at imagemagick.org. Run the setup wizard, choosing 'Add to system path' and installing the program under 'C:\imagemagick' rather than the default location.
Download the latest php_imagick_ts.dll file and save it in '\ext' under the PHP folders of your WAMP installation.
Right-click on the WAMP icon in your system tray and navigate to 'Add Extension' under 'PHP Extensions' in the menu. Type 'php_imagick_ts.dll' into the dialog box that opens.
Right-click on the WAMP icon once more and click 'Restart All Services' to complete the installation.
In Feburary 2016 13,

Friday, 12 February 2016

What Is an FTP Server?In Feburary 2016 12,

In Feburary 2016 12,
The first published standard for the File Transfer Protocol predates the Transmission Control Protocol and Internet Protocol (TCP/IP) in use today. Published in 1971, FTP ran over the Network Control Protocol (NCP), the Internet's predecessor. It was designed to facilitate indirect exchanges across the network--those exchanges in which data or programs were transmitted to a different system to be executed or worked on.
Uses
FTP was originally designed for large bulk transfers of data, so it's ideally suited for file downloads. This is particularly true across the Internet, where FTP is used commonly as the mechanism for downloading patches, songs and purchased programs.
Function
At a technical level, FTP uses an out-of-band control mechanism. This means the data moves between client and server using one communication path. Control messages that govern the flow of that data move between the systems on a different communication channel. Because FTP was designed for file transfers, it leverages the TCP as an underlying protocol, which includes more robust packet delivery assurance.
Identification
Much like most other client/server relationships, the FTP client is the system that makes a request for data, and the FTP server provides that data. It is a common Internet practice to reserve a specific machine or even a set (or 'farm') of machines to function as FTP servers for an enterprise. Their purpose is to listen for client requests and (assuming security checks allow for it) quickly and accurately transmit large files to those clients. If your web browser suddenly reads 'ftp://
' you'll know you're leveraging the FTP protocol in your download.
Benefits
Web pages, which commonly download through the HyperText Transfer Protocol (HTTP), are usually comprised of many small files that must be simultaneously downloaded to a wide variety of clients in small degrees. Any given web page may make dozens or even hundreds of information requests just to populate a single page. This is a fundamentally different style of work than one request that results in several dozen megabytes of continuous data download. It is precisely because of this difference that FTP servers have continued to have their place amid the many web servers on the Internet.
Design
Because FTP servers are designed for large file transfers, they are best used as a part of an overall Internet server strategy. It's common, for instance, to have general informational pages hosted by web (HTTP) servers and include links in these pages to separate servers used to host large files for download--such as music, videos, large PDF documents, computer code and patches. Because security can be an issue with FTP (originally designed to send usernames and passwords in clear text), it is typical to see FTP servers host files that do not require specific permission for download--or to use a federated security model that leaves authentication and authorization to other systems.
In Feburary 2016 12,

Thursday, 11 February 2016

How to Publish a Blogger Blog to a WebsiteIn Feburary 2016 11,

In Feburary 2016 11,
Add a new directory to your existing website. This will be the place where Blogger sends your blog posts.
Sign in to Blogger.
Go to the Settings > Publishing page for your blog.
Select the option to publish to a Custom Domain.
Fill in the form fields asking for FTP server, Blog URL and FTP path with the information for your website.The blog URL will use the new directory name you have ready, such as www.mysite.com/blogname/. The FTP path will be exactly like the one you use for your site, except the new directory name will be included. It might look something like this: public_html/blogname/.
Decide what filename you want for the main page of the blog. A good choice is index.html.
Decide on the feed filename. If you're using Blogger's feed, this will probably be atom.xml.
Finally, give Blogger the username and FTP password for your web site.
Click Save Settings. Publish your blog to the new location on your own web site.
In Feburary 2016 11,

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,

Monday, 1 February 2016

How to Tell if MySQL Is 32In Feburary 2016 01,

In Feburary 2016 01,
Open a terminal or access the command line on the server your MySQL database is installed on.
Type 'which mysqld' to locate where the database is installed. The command line will return a path similar to '/bin/mysql.'
Type 'file ' into the command line and press 'Enter.' Replace '' with the installation path found in the previous step.
Examine the data returned by the system. If you have a 32-bit version of MySQL installed, the line will begin 'ELF 32-bit LSB executable.' If you have a 64-bit version of MySQL, the line will read 'ELF 64-bit LSB executable.'
Query the Database Version from Within MySQL
Run MySQL and use the MySQL query command line to determine the installation version.
Type 'SHOW GLOBAL VARIABLES LIKE 'version_compile_machine';' into the prompt and press 'Enter' to execute the query.
Examine the query results to determine the version of MySQL you are running. A 32-bit version will display 'i686' in the results next to 'version_compile_machine.' A 64-bit version will display 'x86_64' in the results next to 'version_compile_machine.'
In Feburary 2016 01,