Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rita1989

Pages: 1 [2]
16
Installation / hostname setup
« on: March 12, 2020, 11:46:23 PM »
hello. I've already installed my cwp but I'm trying to learn as much as I can to use it good, so I'm reinstalling it and trying to give a better configuration. I've been reading a lot of articles about every single command of the installation and the configuration, but while I was following the main cwp guide I had a couple of doubts.

1) the first step of the guide says I gotta set an hostname. Which one is best to use? I mean, I would probably just leave it "centos" or "cwp". Would that be good? What is the best practice?

2) the second step says to setup the server ip addresses. Here I'm a bit lost. When I get my vps, my ip is already setup... what should I setup exactly? can someone tell me more about this? The guide literally says 'Define additional IP address, subnet address, and default gateway IP address for your server — your service provider can provide you with this information.' But when I get my vps, aren't those values already set?

3) is a swappiness value of 20 too little?

thanks


17
Installation / Re: Hosting Wordpress websites best practice
« on: March 08, 2020, 06:18:09 PM »
thank you so much. do you have suggests to learn how to manage the vps? i'm reading "administerling linux" for taking the LPIC 1 certification but i can't find guides or books for managing vps :( Thank you

18
Installation / Re: Installed... now, i want to bind panel to a domain
« on: March 04, 2020, 10:41:35 PM »
considering my server is 2gb ram 20gb hd and 2core processor... i need to swap i guess.
which process do you think is best?

Process A
Code: [Select]
swapon -swapon
free -m
df -h
sudo dd if=/dev/zero of=/swapfile count=4096 bs=1MiB
ls -lh /swapfile
sudo chmod 600 /swapfile
ls -lh /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
swapon -s
free -m

sudo nano /etc/fstab
/swapfile swap swap sw 0 0

sudo nano /etc/sysctl.conf

vm.swappiness = 10
vm.vfs_cache_pressure=50

Process B
Code: [Select]
sudo dd if=/dev/zero of=/swapfile count=4096 bs=1M
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo '/swapfile   none    swap    sw    0   0' | sudo tee -a /etc/fstab
free -m

echo 'vm.swappiness=10' | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
cat /proc/sys/vm/swappiness

thanks

19
Installation / Hosting Wordpress websites best practice
« on: March 04, 2020, 10:35:00 PM »
Hello, i would love to use my cwp to host different wordpress based websites. I noticed there are few issues with wordpress, mainly related to permissions.
  • Any of you use cwp in this way?
  • Do you have suggestions for using it for wordpress websites?
  • how many websites do you think it would fit with a basic server 2gb ram 20gb hd 2core ?

thanks

20
Installation / Installed... now, i want to bind panel to a domain
« on: February 28, 2020, 06:58:08 PM »
Hello, i'm quite a newbie.

I installed cwp easily. but now i have 3 main questions.

1) i read somewhere that it's best to setup a swap partition before. This is not mentioned in the official guide for installation... why? do you suggest it? usually on most servers i do add that...

2) i'd like to point my panel to a domain name. Is it suggested? or best to leave it joinable only by ip? if so... how can i do that? should i set an A record inside the panel? or inside my domain setting page?

3) are there some best practice for managing the panel?

Thanks

Pages: 1 [2]