I am running a CentOS 6.6 (Final) with Plesk 12.0.18 Update #27 on my dedicated server. I was advised to upgrade my server to one that has a SSD due to better performance. What they failed to tell me was that I would need to perform additional configurations so that Plesk stores the subscription files in the /HDD-var/ directory and NOT the /SDD-var/ directory. Current server
Here are my questions:
1. How difficult would it be (I am a quick learner and can follow exact steps or directions very well) to make Plesk store the files on the HDD rather than the SDD? 2. Is this something I should undertake or is this very difficult to do? 3. If I perform these changes, will they revert to the old way if I perform Plesk updates? Or will the changes I make become permanent?
SSH: df -h
Filesystem Size Used Avail Use% Mounted on /dev/md1 4.0G 916M 3.1G 23% / /dev/mapper/ssd-usr 3.9G 1.9G 1.8G 51% /usr /dev/mapper/ssd-var 3.9G 3.7G 2.7M 100% /var (Plesk is storing data here) /dev/mapper/ssd-home 3.9G 792M 2.9G 22% /home (Would also like this data to be on the HDD)
I just took a server at a hosting service where I already have several Plesk servers running. The servers I already have running are equipped with 2 conventional disks in RAID1
This new server is equipped with a 2 x 2 TB and a 128 GB SSD disk. With a setup wizard you can install Plesk which comes with licenses.
This new server has a bit different partition model where /var is mounted on the SSD and there's a /data that's mounted on the 2 TB RAID. This /data will then not be used for Plesk.
I can think of many scenarios to change this, but I don't want to find out in the near future that back-ups aren't working because I'm using a symlink somewhere (just an example). The increased speed of the SSD is of course good for the databases, so maybe it's better not to move everything to that partition.
I'm thinking of creating mount points instead of /var/www , /var/qmail and /var/lib/psa
Copy its content to /data/var/www , /data/var/qmail and /data/var/lib/psa
Then modify /etc/fstab so these will point to the appropriate folder
I think it's more robust and transparent instead of using symlinks.
And what are the folders I chose to move?
Apache didn't want to start due to a permission problem.. I think I solved it by making SELINUX permissive
grep SELINUX= /etc/selinux/config
Code: # SELINUX= can take one of these three values: #SELINUX=enforcing SELINUX=permissive
I am trying to change color of directories. I can do that for root by editing .bashrc under /root. How can I do that for other users created under parallels? Their home directories are /var/www/vhosts/domain.com Using root account, I created .bashrc under those directory and chown to the user. But colors are not changing. I also adding the color in /etc/bashrc system wide file and it does not work either.
i have installed phpMyAdmin becouse I don't like the limitation of db management of Plesk, but I can't find the root password to access in it. I read that Plesk rename "root" user in "admin", but I can't find the password. Where is it?
Wordpress is becoming more and more integrated with Plesk which makes it quite easy to setup a new domain for someone and install Wordpress so he can start.
Often this Wordpress site has to be developed and a better looking site is already available.
By default Wordpress installs in a subfolder /wordpress (I know you can change it by choosing "custom install"). After a while that website is ready for publishing.
To move that website I will have to move the running site to a subfolder and then move the content of /wordpress to the root. This is not sufficient. I then have to do a search and replace on the /wordpress and wordpress/ and replace it with /
No problem there....
But then I have lost Wordpress from the Plesk interface.....
What's the most elegant way to move a Plesk managed Wordpress site?
I don't mind if it stays in its folder (maybe preferrable?), as long as the user doesn't see that "/wordpress" in its URL.
I want to add a subdomain foo.bar.com to a master domain bar.com in the subscription bar.com. Normally this works but if I set the hosting type of the master domain to forward, I cannot add subdomains anymore. If I have already added a subdomain, I cannot change the hosting type of the master domain. Also it is not possible to add a second domain to the subscription anymore.
I was creating an Plesk extension and I need to edit root's crontab for the extension to work properly. While doing some experiment I understand that the Plesk extension works with the permission of psaadm . So I cannot use shell_exec to do this. Is there any api or cli interface where I will be able to do this. Is there any possibility to override the restriction of psaadm user through extension.
i am relatively new to Plesk, i ordered a vserver with Plesk a couple of months ago and spend a lot of time setting everything up and developing several new websites. I am used to developping new websites on a hidden adress (sth like domain.com/dev/ instead of the top level) and then switch the document root to point to the hidden directory when all is done. This practice has served me and my clients well for the last 10 years.
Using the Plesk features like built-in applications seemed like a good idea at the time but wanting to switch the new websites live i have now found out that Plesk won't let me do this since..It is impossible to change document root because there are web applications installed on this website.
I had read somewhere on the interweb that the v12 would let me do this so i just spent the better part of today updating to v12 .. but alas no luck, the limitation is still there. Is there a way to remove this limitation ?
I have a disk in raid, but it seems raid is not working correctly. I took it out, and plug into another server without raid. However, fdisk shows error
#fdisk /dev/sdb device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable.
The number of cylinders for this disk is set to 20023. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help):
Should I correct the partition table now, or should I put it in another raid for checking?
yesterday i order one server in netdirekt but the server only have one hdd mount i need mount the other but first i need make one partition of it
Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 30140 242099518+ 83 Linux /dev/sda2 30141 30401 2096482+ 82 Linux swap / Solaris
Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
can anyone help me to creat a partition for /dev/sdb with 250.0GB ? for then i mount like that : mount /dev/sdb /home/user/hdd2
When I run yum update as normal it always says something like
Added xx packages, deleted 0 old in x seconds.
I was wondering where ARE these old packages stored? It seems like every time I run yum update it uses a tiny bit of my disk space whenever it downloads all the packages, seems natural though. But for all I know I probably have update package downloads from when the OS was first installed...
My question is, if they are anywhere, how do I just clean out ALL old packages from yum update that I don't need anymore? Are there old packages sitting in there because it says "deleted 0 old" all the time? Just curious because it all adds up when I think about it.
And oh one more question, when I update the kernel - I noticed it keeps packing kernel files in /boot/. How can I tell which of these I don't need anymore? It seems to be getting quite full.
I am in the process of cleaning one old unused phpBB technical forum. As of now the forum is full of spam posting and junk users. I did upgrade it to the latest version, applied a few security tools to prevent spam users from registering. It seems they aren't that much effective. I still get around 50 new spam posting a day.
Do you have any suggestions/tools to help me in getting up the database cleaned. Do you prefer migrating to another forum software. If yes can you recommend some tool for that?
Basic question: does it matter where I set the document root for apache on a Linux system? I've googled this but haven't found a good answer.
This is for a VPS server running the Ubuntu (Debian) server os that I'm configuring. I'd prefer to simply create a new directory off the root and set that as the document root in the apache config file. Would this present any kind of security issue?
If that's no good, what's the best choice -- stick to the default?