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 - darkness

Pages: 1 ... 6 7 [8] 9 10 ... 14
106
Apache / Re: domain.com to www.domain.com
« on: August 12, 2017, 01:52:11 PM »
Normally when you create domain.com, the CWP automatic creates www.domain.com as an ServerAlias in the Apache, localhost.domain.com, ftp.domain.com, mail.domain.com and www.domain.com as a CNAME in Bind(DNS). So, just try to open www.domain.com in your browser. If it`s not working than let me know and we will figure it out.

107
MySQL / Re: Empty my.cnf
« on: August 05, 2017, 05:15:11 AM »
What do you get on
Code: [Select]
cat /root/.my.cnf but not my.cnf it`s .my.cnf

108
I can build it / Re: OpenVZ with CWP
« on: August 04, 2017, 05:28:58 AM »
I`m going to a quick holiday for 3-4 days on the beach. After I come back I will try all the templates one by one and some of them might be deleted, because as I noticed for example there`s a problem with Gentoo x86 Network with OpenVZ. In the first release the problem templates (if any) will be removed and until the second release I will try to fix them to be able to use them. See you soon guys.

109
I can build it / Re: OpenVZ with CWP
« on: August 03, 2017, 12:14:57 PM »
Thanks to robbyq I could make the first video. Here it is:
https://youtu.be/L_f2E5uJvqE
Once again: Thank you robbyq

110
I can build it / Re: OpenVZ with CWP
« on: August 02, 2017, 07:30:32 PM »
I was watching videos in youtube how to config OBS but it`s still not recording anything but black screen. Take some more pictures instead:












So, this is it for the moment from the client panel. Now I will do the "Change Root Password", "Change Hostname" and may be I will start to work on "Open Root Console". If you don`t like how it looks like or you want me to add something - let me know in the post, on PM, on root@born2host.com or on skype: theworkskype . I`m open for ideas.

111
I can build it / Re: OpenVZ with CWP
« on: August 01, 2017, 09:53:42 AM »
Since I can`t find logo for CCTel Linux I will remove it from the list of the OSs for installation.
Also I`m making some changes on the way both panels looks like. On both of the panels left to do:
Admin panel:
1. Adding IP Addresses to be assigned to VMs (easy job, just need time)
Client panel:
1. Reinstall OS (50%) (easy job, just need time)
2. Change Root Password of a VM (easy job, just need time)
3. Change Hostname of a VM (easy job, just need time)
4. Open Root Console to a VM (hard job, need more time and may be help from a friend)
Some minor fixes on iptables rules and on the way both panels will look like.

112
E-Mail / Re: MX records, how to manage it
« on: July 30, 2017, 07:48:56 PM »
I will share with you my working zone file called born2host.com.db:
Code: [Select]
$TTL 14400
born2host.com.      86400        IN      SOA     ns1.born2host.com. root.born2host.com. (
                    2016101602      ; serial, todays (yearmonthdaychangetimes)
                    3600           ; refresh, seconds
                    3600            ; retry, seconds
                    3600000         ; expire, seconds
                    7200 )         ; minimum, seconds

;; NS Records
born2host.com.  IN      NS      ns1.born2host.com. //setting born2host.com in NameServer1
born2host.com.  IN      NS      ns2.born2host.com. //setting born2host.com in NameServer2

;; A Records (Forwarding IPv4)
ns1.born2host.com.      IN      A       77.236.172.141 //setting IPv4 for NameServer1
ns2.born2host.com.      IN      A       77.236.172.141 //setting IPv4 for NameServer2 (yes, can be the same)
born2host.com.          IN      A       77.236.172.141 //setting IPv4 for born2host.com
localhost.born2host.com.        IN      A       127.0.0.1 //setting IPv4 for localhost

;; AAAA Records (Forwarding IPv6)
born2host.com.          IN      AAAA    2001:470:1f1a:d7::2 //setting IPv6 for born2host.com

;; MX Records (Mail Server)
born2host.com.  IN      MX      0       born2host.com. //setting MX(Mail eXchange(Mail Server)) record

;; CNAME Records (Aliases)
mail    IN      CNAME   born2host.com. //setting alias mail.born2host.com
www     IN      CNAME   born2host.com. //setting alias www.born2host.com
ftp     IN      CNAME   born2host.com. //setting alias ftp.born2host.com

;; TXT Records (DKIM & SPF)
default._domainkey 14400 IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCxFD7pZRKG3Ulq8M/QGHgV4sPuEvLx0pgNFhZqSdTanv/MOMT0PAIOduKpmOyUd4WVstJKuttBpPaoq7HhxX06tW9VUEjC/cC59YpVC7Kd+l0oj2yMu8iKOU065oj503N/7eW0Yd/kB0rvWHVHYOZ4Vu+q8o9YXiUOLuZ3E4WSWQIDAQAB" //DKIM record you should generate it through CWP admin panel
born2host.com. 14400 IN TXT "v=spf1 +a +mx +ip4:192.168.1.102 ~all" //SPF record also generate from CWP admin panel
That`s it. change born2host.com with your domain, generate DKIM and SPF records through CWP.admin panel and you are done. It will be working. Put the file your-domain.tld.db in /var/named and add this lines to your /etc/named.conf:
Code: [Select]
zone "born2host.com" in{
        type master;
        file "/var/named/born2host.com.db";
};
Change born2host.com to your-domain.tld and you are done. Have fun.

113
I can build it / Re: OpenVZ with CWP
« on: July 28, 2017, 07:57:54 AM »
No. This is a developing machine where I don`t need more IP adresses. It`s the same if you use external IP or internal IP. Iptables are supposed to forward the users connections to defined IP and port. If you have just 1 external IP like 42.71.148.203 and you make a VM on internal IP like 192.168.0.2 with port 62001, when the user tries to connect to 42.71.148.203 on port 62001 iptable should forward him and connect him to 192.168.0.2 on port 62001. Something like apache is doing when you have NAT enabled. The stuff with the iptabes is not tested fully yet. I live on a village and there is my developing machine. I got my internet there through WiFi and I need to call my ISP to open all ports in the antena, so I can open them in the routers in the house for testing. But I`m still reading about iptables how to make good forwarding. I`ve been using FreeBSD for more than 12 years and I got used with pf(packet filter), so now it`s a bit difficult and strange for me to switch to iptables. But I bought a nice 841 page book for iptables and it`s a matter of time to read it and fix it.

114
I can build it / Re: OpenVZ with CWP
« on: July 26, 2017, 09:19:08 PM »

It`s going to look something like this, but keep in mind that it will be only 1(one) VM per user. The administrator will not be able to add second VM for the same user, the user need to get/purchase one more account. This is just a demo, so I have them all. Also you will not be able to add the same IP address to another user like I did.
From the button "Manage" the user will be able to perform these actions:
Boot
Shutdown
Reboot
Reinstall
Change Root Password
Change Hostname
The admin can do it from the admin menu with single button click. Poll is coming ... NOW!

115
I can build it / Re: OpenVZ with CWP
« on: July 26, 2017, 06:41:22 PM »
Here is the first screen shot from the user panel. Hope you will like it:

Probably from CWP they will want to kill me for something I did but ... I had to! I reversed it back to the same position.
If you want something to be changed/improved feel free to write your opinion and I will do my best to do it if it`s usable.

116
E-Mail / Re: Rounncube no logging (error)
« on: July 26, 2017, 05:44:01 AM »
It`s not my business but just to ask why CWP don`t change from Roundcube to RainLoop?
Since I started to use CWP I started to use RainLoop also. It supports multi domains with just 2-3 clicks configuration. Got a much better UI and is easy to install as 1-2-3. This is just personal opinion and I`m just asking.

117
Addons / Re: Change user password via API
« on: July 26, 2017, 05:33:20 AM »
Yep. So you need to get the plain password, to crypt it the same way CentOS do, replace it in /etc/shadow and reload the password db of CentOS(this is by memory from FreeBSD, may be on Linux you don`t need to reload it after changes).

118
How to / Re: how to check my current MySQL root password
« on: July 26, 2017, 05:10:49 AM »
Code: [Select]
cat /root/.my.cnf

119
How to / Re: how to secure CentOS server using CWP features
« on: July 26, 2017, 05:07:15 AM »
Quote
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

#Port 22 <-- Here! Remove the # and change 22 to whatever you want
#AddressFamily any

120
I can build it / Re: OpenVZ with CWP
« on: July 25, 2017, 11:35:04 AM »
Anyway I fixed it. Everything is working fine. To the admin panel I need to add just some config stuff which is not very important, but it`s working! I tried Fraps, Shadowplay, OBS Studio, but I couldn`t make them work to make a video to see the panel in action. If you know free program for making videos that works on Windows 10 let me know to make a video for you. Stay tuned and I`m starting the work on the client panel.

Pages: 1 ... 6 7 [8] 9 10 ... 14