CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Before I install LAMPP & Wordpress I have a few questions that I'm hoping you can answer.
After reading the documentation about LAMPP and Wordpress I found that Wordpress depends on having PHP and MySQL.
Do I need to build my website first and than install LAMPP?
Should I disallow root login remotely?
Some say not to allow root login from the videos I have watched.
Do I need to purchase a pc and configure it into a server or is the site that I'm going to build my website that provides hosting sufficient enough?
When you build a website for a sole proprietorship online business is it necessary to purchase a business account with the ISP that already provides you with service?
I read that some ISP will block you from running your own website if it gets a lot of hits.
I'd like to make my CentOS machine a production machine but don't know exactly where to start first.
LAMPP means Linux, Apache, Mysql, PHP, and PHPMyadmin if im not mistaken. Those are all requirements for Wordpress.
So you would need to install and configure the LAMP stack first.
You should always disallow root remotely, via SSH and Mysql. You should also enable the firewall, and install and configure Denyhosts.
You probably shouldn't bother trying to host with your own server anymore. You can get a DigitalOcean droplet for 5$,. including a Wordpress specific one with everything configured and ready to go.
LAMPP means Linux, Apache, Mysql, PHP, and PHPMyadmin if im not mistaken. Those are all requirements for Wordpress.
So you would need to install and configure the LAMP stack first.
You should always disallow root remotely, via SSH and Mysql. You should also enable the firewall, and install and configure Denyhosts.
You probably shouldn't bother trying to host with your own server anymore. You can get a DigitalOcean droplet for 5$,. including a Wordpress specific one with everything configured and ready to go.
I have not however, ever heard anything good about Godaddy hosting
I must speak: szboardstretcher, I use GoDaddy, and have had nothing but satisfactory service. They have served my little website for going on to over four years now. GoDaddy was recommended to me by another GoDaddy user whose opinion has proved trustworthy.
The couple of times I have needed to call tech support, the reps have been prompt, knowledgeable, courteous, and competent.
I can also speak highly of A Small Orange, which hosts a site I maintain, but A Small Orange is not a domain registrar.
[root@localhost]# yum install httpd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: distro.ibiblio.org
* epel: mirror.clarkson.edu
* extras: mirror.cisp.com
* nux-dextop: mirror.li.nux.ro
* rpmforge: repoforge.mirror.constant.com
* updates: bay.uchicago.edu
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-18.el7.centos will be installed
--> Processing Dependency: httpd-tools = 2.4.6-18.el7.centos for package: httpd-2.4.6-18.el7.centos.x86_64
--> Running transaction check
---> Package httpd-tools.x86_64 0:2.4.6-18.el7.centos will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
httpd x86_64 2.4.6-18.el7.centos updates 2.7 M
Installing for dependencies:
httpd-tools x86_64 2.4.6-18.el7.centos updates 77 k
Transaction Summary
================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 2.8 M
Installed size: 9.5 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): httpd-tools-2.4.6-18.el7.centos.x86_64.rpm | 77 kB 00:00
(2/2): httpd-2.4.6-18.el7.centos.x86_64.rpm | 2.7 MB 00:10
--------------------------------------------------------------------------------
Total 277 kB/s | 2.8 MB 00:10
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : httpd-tools-2.4.6-18.el7.centos.x86_64 1/2
Installing : httpd-2.4.6-18.el7.centos.x86_64 2/2
Verifying : httpd-tools-2.4.6-18.el7.centos.x86_64 1/2
Verifying : httpd-2.4.6-18.el7.centos.x86_64 2/2
Installed:
httpd.x86_64 0:2.4.6-18.el7.centos
Dependency Installed:
httpd-tools.x86_64 0:2.4.6-18.el7.centos
****
[root@localhost]# service httpd start
Redirecting to /bin/systemctl start httpd.service
[root@localhost bluecat]# chkconfig --levels 3 httpd on service httpd start
Note: Forwarding request to 'systemctl enable httpd.service'.
ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'
[root@localhost]#
I'm not sure if service httpd start is the right cmd and I have to find out if php is working correctly.
To start mysql I would use the 'chkconfig --levels 3' cmd but CentOS 7 uses MariaDB instead of MySQL so I don't know if that changes how I start the server or not?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.