CentOS Archives

How to open the web interface ports for Plesk on CentOS

After installing Parallels Plesk on a fresh server you may need to open ports 8443 and 8447 to access the web interface. These ports are not open by default. If your installation went fine but you can’t access Plesk in your browser via https://yourdomain.com:8443 then it’s likely that those ports aren’t open. Port 8443 is … Read more

How to list installed packages on CentOS

yum can help us here. This should do the trick: #yum list installed If you’re interested in a particular package, you can pipe a search string into grep and only list filtered results: #yum list installed | grep “yum” keyutils-libs.i686 1.4-4.el6 @anaconda-CentOS-201303020136.i386/6.4 yum.noarch 3.2.29-40.el6.centos yum-metadata-parser.i686 yum-plugin-fastestmirror.noarch The search string doesn’t even need to be in … Read more

How to find my own IP address in CentOS

Two commands come to the rescue: ip and ifconfig. Either does the trick: #ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:19:99:0D:D2:58 inet addr:87.106.181.234 Bcast:87.106.181.234 Mask:255.255.255.255 inet6 addr: fe80::219:99ff:fe0d:d258/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14022830 errors:1 dropped:0 overruns:0 frame:1 TX packets:17605482 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6842851425 (6.3 GiB) TX bytes:22015650673 (20.5 … Read more

MySQL Replication Troubleshooting

crab-iconSometimes things don’t work out with replication. When I first started experimenting with it I thought this was a “setup and forget about it” kind of job.

Experience has shown though that you have to regularly triple check and see if things may have broken (despite a good and once working setup).

Let’s take a look at what you can do when your Slave isn’t replicating anymore. If you want to know more about how to setup replication, have a look at my previous article in which I explain how this works.

Read more

How to add a System User Account on Linux (CentOS)

On both CentOS and Red Hat Linux systems you can easily create new user accounts with their own home directories. Here’s how you do this from the command line. I’m assuming you’re logged in as root, and the new user we’d like to create is called “testuser”: useradd testuser Let’s give our testuser a password … Read more

How to install Plesk on CentOS 6

The other day I got myself a brand new server – so barebones that I had to do everything myself, including picking a Linux distribution. Sadly the one I wanted (CentOS 6) did not come bundled with Plesk so I had to install it manually.

I thought I’d better take some notes so I can retrace my steps.

At the time of writing, Plesk 10.3 is current, with 10.4 just around the corner. Keep this in mind – things tend to change drastically with every major release.

Read more