In Feburary 2016 25,
First login as root in SSH and then change the permissions to 644 on the affected files.
chmod 644 /etc/cron.d/filename
Now sit back and drink a beer - you earned it!
Next time Cron tries to run these files it should work, and the error messages should also disappear
In Feburary 2016 25,
Showing posts with label root. Show all posts
Showing posts with label root. Show all posts
Thursday, 25 February 2016
Sunday, 21 February 2016
How to Connect FileZilla With an iPhoneIn Feburary 2016 21,
In Feburary 2016 21,
Tap 'Settings' on your iPhone's homescreen, then tap 'Wi-Fi.' Select your current Wi-Fi network. Tap the blue arrow to display the advanced settings menu. This will display your iPhone's IP address. Write down the IP address.
Launch Filezilla on your computer. Type the IP address from step one into the 'Host' field near the top of the Filezilla window. Type in 'root' as the username (this is case sensitive, so do not use capital letters). By default, the iPhone's root password is 'alpine.' If you changed your iPhone's password after jailbreaking it, enter your personalized password instead. Click the 'Quickconnect' button. The status window directly below these text fields will let you know when a connection has been established.
Expand the directories within the 'Local Site' (your computer) and 'Remote site' (your iPhone) panels. Click and drag files from one directory to another in order to transfer them.
In Feburary 2016 21,
Tap 'Settings' on your iPhone's homescreen, then tap 'Wi-Fi.' Select your current Wi-Fi network. Tap the blue arrow to display the advanced settings menu. This will display your iPhone's IP address. Write down the IP address.
Launch Filezilla on your computer. Type the IP address from step one into the 'Host' field near the top of the Filezilla window. Type in 'root' as the username (this is case sensitive, so do not use capital letters). By default, the iPhone's root password is 'alpine.' If you changed your iPhone's password after jailbreaking it, enter your personalized password instead. Click the 'Quickconnect' button. The status window directly below these text fields will let you know when a connection has been established.
Expand the directories within the 'Local Site' (your computer) and 'Remote site' (your iPhone) panels. Click and drag files from one directory to another in order to transfer them.
In Feburary 2016 21,
Saturday, 20 February 2016
How to Start CentOS GUI From the Command LineIn Feburary 2016 20,
In Feburary 2016 20,
Log in to the CentOS operating system.
Type the command 'su -' to switch to a root session.
Type the command:yum groupinstall 'X Windows System' 'GNOME Desktop Environment'
or
yum groupinstall 'X Windows System' 'KDE Desktop Environment' to install your preferred desktop environment.
Type the command 'startx' to start the X windows system and your preferred desktop environment.
In Feburary 2016 20,
Log in to the CentOS operating system.
Type the command 'su -' to switch to a root session.
Type the command:yum groupinstall 'X Windows System' 'GNOME Desktop Environment'
or
yum groupinstall 'X Windows System' 'KDE Desktop Environment' to install your preferred desktop environment.
Type the command 'startx' to start the X windows system and your preferred desktop environment.
In Feburary 2016 20,
Friday, 19 February 2016
How to Enable CURL on Go DaddyIn Feburary 2016 19,
In Feburary 2016 19,
Type the IP number of your GoDaddy VPS or dedicated server followed by a (:) and the number '2087' into your browser window to access your cPanel. For example, if your server IP number is 195.195.255.255, type '195.195.255.255:2087.' Wait a few seconds for your cPanel login page to appear. If you receive a security error message, click the prompt that allows you to disregard the error and proceed to your cPanel homepage.
Enter your cPanel root user name and your password in the appropriate fields in the login box. Click the 'Login' button at the bottom of the box. Wait a few seconds for the cPanel home page to appear.
Type the word 'easy' into the 'Find' box at top of the left sidebar of your cPanel home page and click the 'x' in the square next to the box. Click 'Easy Apache (software update)' in the search results that you see.
Wait a moment or so for the Apache profile screen to appear. Make sure that the radio button for 'Previously Saved Config' is selected by default unless you wish to make other changes to your PHP configuration. Additional changes are not recommended unless you are experiencing problems with your hosted sites.
Click the 'Start customizing based on profile' box, which is furthest to the right at the bottom of the 'Profile' page.
Click the 'Next step' box at the bottom of the 'Apache version' page as soon as it appears. Do not change anything on this page.
Click the 'Next step' box at the bottom of the 'PHP major version' screen as soon as it appears without making any changes.
Click the 'Next step' box at the bottom of the 'PHP minor version' screen when it appears. Do not make any changes to this page.
Scroll down to the bottom of the 'Short options list' as soon as it appears. Click the 'Exhaustive options list' at the bottom right of the 'Short options list' page.
Scroll down on the 'Exhaustive options list' page until you see an entry for 'cURL,' which is preceded by a check box; check the check box. Scroll down to the bottom of the page and click the 'Save and build' box at the bottom right.
Click the 'Yes' button in the 'Confirm action' box when it appears in the center of your screen and then click 'I understand' in the confirmation box.
Wait until you see the green 'Build Complete!' message at the top of your browser screen above the log of the changes you've made to your server. This can take an hour or more, depending upon how much data is stored on your server. Do not interrupt the process or you will lose valuable data.
Click 'Home' in the left corner of the screen to return to the cPanel home page, if you wish to carry out other maintenance tasks. Exit cPanel by closing the browser window.
In Feburary 2016 19,
Type the IP number of your GoDaddy VPS or dedicated server followed by a (:) and the number '2087' into your browser window to access your cPanel. For example, if your server IP number is 195.195.255.255, type '195.195.255.255:2087.' Wait a few seconds for your cPanel login page to appear. If you receive a security error message, click the prompt that allows you to disregard the error and proceed to your cPanel homepage.
Enter your cPanel root user name and your password in the appropriate fields in the login box. Click the 'Login' button at the bottom of the box. Wait a few seconds for the cPanel home page to appear.
Type the word 'easy' into the 'Find' box at top of the left sidebar of your cPanel home page and click the 'x' in the square next to the box. Click 'Easy Apache (software update)' in the search results that you see.
Wait a moment or so for the Apache profile screen to appear. Make sure that the radio button for 'Previously Saved Config' is selected by default unless you wish to make other changes to your PHP configuration. Additional changes are not recommended unless you are experiencing problems with your hosted sites.
Click the 'Start customizing based on profile' box, which is furthest to the right at the bottom of the 'Profile' page.
Click the 'Next step' box at the bottom of the 'Apache version' page as soon as it appears. Do not change anything on this page.
Click the 'Next step' box at the bottom of the 'PHP major version' screen as soon as it appears without making any changes.
Click the 'Next step' box at the bottom of the 'PHP minor version' screen when it appears. Do not make any changes to this page.
Scroll down to the bottom of the 'Short options list' as soon as it appears. Click the 'Exhaustive options list' at the bottom right of the 'Short options list' page.
Scroll down on the 'Exhaustive options list' page until you see an entry for 'cURL,' which is preceded by a check box; check the check box. Scroll down to the bottom of the page and click the 'Save and build' box at the bottom right.
Click the 'Yes' button in the 'Confirm action' box when it appears in the center of your screen and then click 'I understand' in the confirmation box.
Wait until you see the green 'Build Complete!' message at the top of your browser screen above the log of the changes you've made to your server. This can take an hour or more, depending upon how much data is stored on your server. Do not interrupt the process or you will lose valuable data.
Click 'Home' in the left corner of the screen to return to the cPanel home page, if you wish to carry out other maintenance tasks. Exit cPanel by closing the browser window.
In Feburary 2016 19,
Wednesday, 17 February 2016
How to Disable PHP Safe Mode In CPanelIn Feburary 2016 17,
In Feburary 2016 17,
Log in to your Web server's main cPanel interface as the root or administrative user.
Click 'Service Configuration' in the main section of cPanel.
Click 'PHP Configuration Editor.'
Click the 'Off' option for 'Safe Mode.'
Click 'Save.'
In Feburary 2016 17,
Log in to your Web server's main cPanel interface as the root or administrative user.
Click 'Service Configuration' in the main section of cPanel.
Click 'PHP Configuration Editor.'
Click the 'Off' option for 'Safe Mode.'
Click 'Save.'
In Feburary 2016 17,
How to Enable an FTP Service on LinuxIn Feburary 2016 17,
In Feburary 2016 17,
Run the 'sudo yum install -y vsftpd' command at the terminal screen. This will install the Very Secure FTP Daemon (vsftpd) package necessary to enable the FTP service.
Start X Windows. Run 'system-config-firewall' and type in your root password if it asks you for one. Enable the FTP service. Click the 'Apply' button and confirm. Then enter your root password again if you are prompted to do so.
Run 'serviceconf' to bring up the Service Configuration utility. Click on 'vsftpd' and click 'Enable.' Type your root password if you are prompted to do so. Click 'start' to finish activating the FTP server. Alternately, type 'sudo service vsftpd restart' at the terminal screen.
Enable the FTP Service in Ubuntu Linux
Open a terminal screen and run the 'sudo apt-get install vsftpd' command. Type your password if you are prompted to do so.
Start X Windows. Open a terminal and then run 'sudo gedit /etc/vsftpd.conf' to bring up the text editor and the Very Secure Ftp Daemon configuration file. Find the line with 'anonymous_enable' and change the 'NO' to 'YES.' Save the file and then close the text editor program.
Type 'sudo service vsftpd restart' to enable the FTP server.
Enable the FTP Service in Slackware Linux
Login as root. Type '/usr/sbin/slackpkg install vsftpd.'
Run the 'vi /etc/inetd.conf.' Find the line that has 'vsftp' and remove the pound (#) mark at the beginning of that line. Alternately, in X Windows, run 'gedit /etc/inetd.conf' as root, find the vsftpd entry and remove the pound (#) mark at the start of that line.
Run the command '/etc/rc.d/rc.inetd restart' at the terminal window.
In Feburary 2016 17,
Run the 'sudo yum install -y vsftpd' command at the terminal screen. This will install the Very Secure FTP Daemon (vsftpd) package necessary to enable the FTP service.
Start X Windows. Run 'system-config-firewall' and type in your root password if it asks you for one. Enable the FTP service. Click the 'Apply' button and confirm. Then enter your root password again if you are prompted to do so.
Run 'serviceconf' to bring up the Service Configuration utility. Click on 'vsftpd' and click 'Enable.' Type your root password if you are prompted to do so. Click 'start' to finish activating the FTP server. Alternately, type 'sudo service vsftpd restart' at the terminal screen.
Enable the FTP Service in Ubuntu Linux
Open a terminal screen and run the 'sudo apt-get install vsftpd' command. Type your password if you are prompted to do so.
Start X Windows. Open a terminal and then run 'sudo gedit /etc/vsftpd.conf' to bring up the text editor and the Very Secure Ftp Daemon configuration file. Find the line with 'anonymous_enable' and change the 'NO' to 'YES.' Save the file and then close the text editor program.
Type 'sudo service vsftpd restart' to enable the FTP server.
Enable the FTP Service in Slackware Linux
Login as root. Type '/usr/sbin/slackpkg install vsftpd.'
Run the 'vi /etc/inetd.conf.' Find the line that has 'vsftp' and remove the pound (#) mark at the beginning of that line. Alternately, in X Windows, run 'gedit /etc/inetd.conf' as root, find the vsftpd entry and remove the pound (#) mark at the start of that line.
Run the command '/etc/rc.d/rc.inetd restart' at the terminal window.
In Feburary 2016 17,
Tuesday, 9 February 2016
How Are Web Addresses Constructed?In Feburary 2016 09,
In Feburary 2016 09,
When a user types a web address, she may start the address with the characters 'http://' or 'https://.' These characters indicate the protocol the web browser will use to access the address following the slashes. Most web addresses use the protocol indicator http://,' which indicates that the page will be accessed with Hypertext Transfer Protocol (HTTP); the colon and slashes serve as a separator between the protocol and the beginning of the web address. Also common on the World Wide Web, though not as common as HTTP, is 'https://' or Hypertext Transfer Protocol-Secure. Other protocol indicators might include 'ftp://' for File Transfer Protocol (FTP) or 'telnet://' for data transfer using the text-only Telnet protocol.
The Subdomain
The first several letters immediately following the protocol indicator and slashes indicates the subdomain being accessed on the web server. In most cases, the subdomain is 'www,' which loads the index page in the root directory or specified sub-directory of the server. The subdomain can be used to direct visitors to a specific application or page on the server, though, as is used by 'http://maps.google.com/' for Google Maps or 'http://messenger.yahoo.com/' for the official Yahoo! Messenger site. In some cases, the subdomain may be absent entirely (for example, someone may type http://google.com/), and this omission loads the default page a visitor would get by using the 'www' prefix.
The Domain Name
The domain name is the meat of the web address, and usually serves as a plain text indicator of the destination address. Domain names are as varied as the users who create them and may even be in a number of different languages. Some examples of familiar domain names include Google (http://www.google.com/), Yahoo (http://www.yahoo.com/) or Apple (http://www.apple.com/). This portion of the web address must be unique when combined with the domain extension, as the domain name and extension are bound to the server Internet Protocol (IP) address for proper operation of the web service.
The Extension
The final part of a web address is the extension, usually a three-letter abbreviation that indicates the type of site being accessed. The oldest and most common top-level domain extensions are .com for commercial sites, .org for non-commercial organizations and .net for miscellaneous networks. Some additional domain extensions include .mil for military organizations, .gov for government sites, .edu for schools, and .mobi for web sites designed specifically for mobile use. More than 200 international extensions also exist--including .ca for Canadian sites, .uk for British sites, .cn for Chinese sites, and .ru for Russian sites--and a special .xxx extension has even been proposed for adult-themed web sites.
In Feburary 2016 09,
When a user types a web address, she may start the address with the characters 'http://' or 'https://.' These characters indicate the protocol the web browser will use to access the address following the slashes. Most web addresses use the protocol indicator http://,' which indicates that the page will be accessed with Hypertext Transfer Protocol (HTTP); the colon and slashes serve as a separator between the protocol and the beginning of the web address. Also common on the World Wide Web, though not as common as HTTP, is 'https://' or Hypertext Transfer Protocol-Secure. Other protocol indicators might include 'ftp://' for File Transfer Protocol (FTP) or 'telnet://' for data transfer using the text-only Telnet protocol.
The Subdomain
The first several letters immediately following the protocol indicator and slashes indicates the subdomain being accessed on the web server. In most cases, the subdomain is 'www,' which loads the index page in the root directory or specified sub-directory of the server. The subdomain can be used to direct visitors to a specific application or page on the server, though, as is used by 'http://maps.google.com/' for Google Maps or 'http://messenger.yahoo.com/' for the official Yahoo! Messenger site. In some cases, the subdomain may be absent entirely (for example, someone may type http://google.com/), and this omission loads the default page a visitor would get by using the 'www' prefix.
The Domain Name
The domain name is the meat of the web address, and usually serves as a plain text indicator of the destination address. Domain names are as varied as the users who create them and may even be in a number of different languages. Some examples of familiar domain names include Google (http://www.google.com/), Yahoo (http://www.yahoo.com/) or Apple (http://www.apple.com/). This portion of the web address must be unique when combined with the domain extension, as the domain name and extension are bound to the server Internet Protocol (IP) address for proper operation of the web service.
The Extension
The final part of a web address is the extension, usually a three-letter abbreviation that indicates the type of site being accessed. The oldest and most common top-level domain extensions are .com for commercial sites, .org for non-commercial organizations and .net for miscellaneous networks. Some additional domain extensions include .mil for military organizations, .gov for government sites, .edu for schools, and .mobi for web sites designed specifically for mobile use. More than 200 international extensions also exist--including .ca for Canadian sites, .uk for British sites, .cn for Chinese sites, and .ru for Russian sites--and a special .xxx extension has even been proposed for adult-themed web sites.
In Feburary 2016 09,
Sunday, 7 February 2016
How to Configure VSFTPDIn Feburary 2016 07,
In Feburary 2016 07,
Open a Terminal Window. The terminal window will be found in the operating system's main 'Application' menu, under either 'System Tools' or 'Utilities.' You will be presented with a command prompt where you will type the following commands.
Type the command 'su' to switch to the root user.
Type the command 'gedit /etc/vsftpd/vsftpd.conf' to edit the main configuration file.
Make the appropriate changes. For example, if you do not want anonymous access set 'anonymous_enable=NO.' Also, if you want local users to be able to log in, remove the comment symbol (#) before 'local_enable.'
Save and close the file.
Type '/etc/initd/vsftpd restart' to restart the vsftpd daemon.
Type 'exit' to exit the root session.
In Feburary 2016 07,
Open a Terminal Window. The terminal window will be found in the operating system's main 'Application' menu, under either 'System Tools' or 'Utilities.' You will be presented with a command prompt where you will type the following commands.
Type the command 'su' to switch to the root user.
Type the command 'gedit /etc/vsftpd/vsftpd.conf' to edit the main configuration file.
Make the appropriate changes. For example, if you do not want anonymous access set 'anonymous_enable=NO.' Also, if you want local users to be able to log in, remove the comment symbol (#) before 'local_enable.'
Save and close the file.
Type '/etc/initd/vsftpd restart' to restart the vsftpd daemon.
Type 'exit' to exit the root session.
In Feburary 2016 07,
Tuesday, 2 February 2016
How to Connect to the MySQL ServerIn Feburary 2016 02,
In Feburary 2016 02,
Connect to a MySQL server running on localhost. The MySQL command-line client's default behavior is to connect to a server running on localhost. This will connect to the server on localhost as the root user with no password. Example:
mysql -u root
Connect to a MySQL server using a password by adding the -p switch. This will connect to localhost as root and prompt you for a password. Example:
mysql -u root -p
Connect to a remote host using the -h switch. A remote host is any server other than localhost. Using the -h switch will connect to a MySQL server running on example.com as root and prompting for a password. Example:
mysql -u root -p -h example.com
Connect to a remote host running on a non-default port, using the -P switch. Note that this command uses a capital P. It should not be confused with the lowercase -p switch, which means prompt for a password. Using the -P switch will connect, as the root user, to a MySQL server running on example.com port 3330 and prompt for a password. Example:
mysql -u root -p -h example.com -P 3330
Connect to a server and use a database. Specify the database to use on the command-line in place of connecting and manually issuing a USE command. It's faster and makes automated scripts work better. Simply add the name of the database onto the end of the MySQL client command-line. This example connects to the database as root and uses the customers database. Example:
mysql -u root -p -h example.com -P 3330 customers
In Feburary 2016 02,
Connect to a MySQL server running on localhost. The MySQL command-line client's default behavior is to connect to a server running on localhost. This will connect to the server on localhost as the root user with no password. Example:
mysql -u root
Connect to a MySQL server using a password by adding the -p switch. This will connect to localhost as root and prompt you for a password. Example:
mysql -u root -p
Connect to a remote host using the -h switch. A remote host is any server other than localhost. Using the -h switch will connect to a MySQL server running on example.com as root and prompting for a password. Example:
mysql -u root -p -h example.com
Connect to a remote host running on a non-default port, using the -P switch. Note that this command uses a capital P. It should not be confused with the lowercase -p switch, which means prompt for a password. Using the -P switch will connect, as the root user, to a MySQL server running on example.com port 3330 and prompt for a password. Example:
mysql -u root -p -h example.com -P 3330
Connect to a server and use a database. Specify the database to use on the command-line in place of connecting and manually issuing a USE command. It's faster and makes automated scripts work better. Simply add the name of the database onto the end of the MySQL client command-line. This example connects to the database as root and uses the customers database. Example:
mysql -u root -p -h example.com -P 3330 customers
In Feburary 2016 02,
Subscribe to:
Comments (Atom)