I just received a new server, I have been using always the partition scheme 'x2 ram swap, 1GB /tmp, /boot and /", but im not sure if I should get the new server re-formatted with that scheme (the HD is 250GB, so I will get 2GB /tmp), or stay with the current one:
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?
i am running a VPS and recently installed cPanel DNS Only so it can operate as a standalone DNS server.
I would also like to serve standard webpages on it via apache and php, i therefore tired to install php, mysql etc via 'yum install php' but it says there is no package to be installed.
Has the cPanel DNS only install done someting to the yum config? I have installed Yum Priorities plugin, and my repos files are as follows:
Code: root@stripe [~]# yum list installed | grep httpd httpd.i386 2.2.3-22.el5.centos.1 installed root@stripe [~]# yum list installed | grep php*
root@stripe [~]# cat /etc/yum.repos.d/CentOS-Base.repo # CentOS-Base.repo # # This file uses a new mirrorlist system developed by Lance Davis for CentOS. # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # #
[base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=1
#packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=1
Has anybody ever had this error in CPanel 11 SSL Manager? How did you solve it? We used the CA Bundle supplied by Comodo. We tried installing SSL with Comodo and the CA Bundle isn't installing at all. Is this an issue with the server?
The CRT itself installs fine so it looks OK from web browsers - but not Google Checkout.
Error in CPanel: ===== Verifcation Result [/C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=[url] error 2 at 3 depth lookup:unable to get issuer certificate] ==== As a result, Google Checkout refuses to calculate shipping: -------------------- SSL certificate problem, verify that the CA cert is OK. Details: error:14090086: SSL routines: func(144): reason(134) --------------------
I tried manually with curl (Google Checkout uses curl) and it says: ~: curl [url] curl: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086SL routinesSL3_GET_SERVER_CERTIFICATE:certificate verify failed
grep: /etc/yum.conf: No such file or directory grep: /etc/yum.conf: No such file or directory Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed.
I'm going from a reseller account that used cPanel to a dedicated server using Plesk. I don't have access to anything on the cPanel server (long story), but the host said they will create a cPanel backup for me. Is it possible to install this into Plesk? I know it's possible to do a migration from a cPanel server to Plesk, which requires root access that I don't have and can't get, so this cPanel backup is the best I've got.
install tomcat in one location and have multiple instances running for individual clients:
Why would you want to do this: ============================== 1) Install tomcat in 1 location and have x number of instances running on a per client basis 2) Upgrade tomcat and have it propagate to all clients 3) Limit the resources each tomcat instance uses 4) Tomcat runs as the individual user rather than "root" or "tomcat" 5) Each user has its own manager; hence, no security risk to others 6) Start/Stop/Restart tomcat instances without affecting other clients who also have a tomcat instance
Assumptions: ============ 1. Tomcat is installed in: /usr/local/tomcat (TOMCAT_HOME) 2. Instances are installed in: /usr/local/tomcat/instances 3. Java is installed somewhere on your machine
Step 1 - Create a Tomcat Instance ================================= - Create a directory in /usr/local/tomcat/instances/user1 (CATALINA_BASE) - Create a set of directories (conf,temp,logs,webapps) in $CATALINA_BASE - Copy web.xml,server.xml,tomcat-users.xml from $TOMCAT_HOME/conf to $CATALINA_BASE/conf - Create a bash script called user1startstop.sh as follows and make it executable
#!/bin/bash export INSTANCE_NAME=user1 export CATALINA_BASE=/usr/local/tomcat/instances/user1 #This is where you'd be able to restrict the memory usage export CATALINA_OPTS=" -Djava.awt.headless=true" # Call the jsvc script to launch the Tomcat instance /usr/local/tomcat/bin/Tomcat5.sh $1
- Edit httpd.conf Add the following code under the VirtualHost definition of the user in question: <IfModule mod_jk.c> JkMount /*.jsp user1 JkMount /webapps/* user1 JkMount /servlets/* user1 JkMount /servlet/* user1 </IfModule>
Step 4 - Restart Apache
Step 5 - run $TOMCAT_INSTANCE/user1startstop.sh start
I have 5 instances of tomcat running on my machine and it works like a charm.
I am trying to abolish FTP from my VPS, but refuse to allow SFTP with SSH access (and even give the secret port # out for SSH). It seems RSSH fits the bill, but I need to install it on a cPanel server. I want to know the following:How do I install RSSH on a server running cPanel
How do I make RSSH a shell I can enable via WHM as a default for ll new accounts without cPanel breaking it during an pdate
I have VPS Windows. I want to resize partition C 50Gb become 20Gb and then create partition D 30Gb for data , I used softwares Partition Manager 8.5 Enterprise Server Edition, Acronis Disk Director Server 10.0.2169 but I can't.
I used command line :
to check HDD on this VPS Server 2003 64b but can't too.
I'm trying to install CentOS5. Although the default partition should work fine for me, but I would like to create my own partition for /var, /usr/, /tmp, /swap, etc. Can you recommend me a good partion including the size. My server has 4GB RAM and 500GB SATA2 HDD. I don't use much space of HDD.
The server I got from LayeredTech has two hard drives, obviously they set up the first hard drive with Linux etc.
The second hard drive is just there, not showing any partitions in 'fdisk' when I checked, so I assume they just leave it blank in every new server for the owner to deal with however they want.
I've been looking up guides to create a new partition for the full size of the hard drive and then mount it. However, it hasn't been very successful. Everytime I created the partition in fdisk, I have to set a size, and then when I mount it, it only says that the drive is ~98MB big.
Is there a way to partition the drive to its full capacity? And then mount it somewhere on the system? Or anywhere I can go to to find out easily?
I recently ordered a new dedicated machine and for some reason the guys set it up so the /home partition is a massive 250GB, and the / partition is a tiny 20GB. Since that's where all the plesk domains will be storing their files, I'd like to resize things a bit. I'm thinking of making the / partition 200GB and the rest for /home
It's a CentOS machine and the filesystems are ext3.
How can I do this resizing, and are there any caveats I should be aware of?
If this is not in the right forum for this... I'm sorry didnt knew where else it may go.
I have to build a new server with RAID 1 and WHM/Cpanel installed (in fact i dont have to, but i need to learn ASAP and my boss gave me an old server for practice).
I've seen the installation guide of cpanel but the sizes of the partitions apply to a disk of 80 GB (i think so) so is there any way to calculate the size of the partitions, regardless of disk size? cuz mine are of 250 gb each.
I'm trying to install it on centos 5 on text mode, so far i have been able to successfully install the system (with partitions of any size... since is a test doesnt matter) with RAID 1.
After that i ran cat /proc/mdstat and in some partitions shows me this
I've read in some places that this is not a big issue... but in other places says it is... maybe i did something wrong