linux – New server to install, docker or VM?

I am a developer and I have doubts about the configuration of the server.
We have a new server with a dual processor Xeon, 128 GB of RAM and 4 TB SSD SAS.
We need to run a web application.

  1. App Rails (NGINX, Puma, Postgres, Redis, ElasticSearch) – VERY
    HIGH CIRCULATION
  2. Rails application (NGINX, Puma, Postgres, Redis) – MODERATE
    TRAFFIC
  3. Rails App (NGINX, Puma, Postgres) – LOW TRAFFIC
  4. Python application (NGINX, Mongo DB, Gunicorn, Redis, ElasticSearch) – VERY
    LOW TRAFFIC
  5. Php App (NGINX, PHP, Postgres) – LOW TRAFFIC

I do not know what is the best way to configure my server and share resources.

I am thinking of creating a virtual machine for the python application and the front end of the php application because these are very low traffic applications.

Then a virtual machine for the database (Postgres, Redis, Mongo DB)

A virtual machine for Elastic Search

And finally, the virtual machine with the rails application.

What about using docker? Do I have to adapt each application that I have to dockerize?

to move a database on the SQL Server 2017 with the OLTP memory function

I have a database on SQL Server 2017 Standard Edition with in memory the OLTP feature enabled, I have to move it to another disk, what is the best way to do it? Are there any possible problems?

Can I get rid of this OLTP feature? Someone said to drop a recreate database? but how … preserve the data?

email – Mail blocked from Windows Server 2016, but not since 2008

Hello:

I'm running exactly the same script from two different virtual machines:

  • The first in Windows Server 2008 R2
  • The second in Windows Server 2016

Characteristics

  • SMTP is an external service of hosting (BlueHost)
  • The script does not generate an error
  • Mail arrives in both cases to internal addresses (from BlueHost)
  • Mail does not reach external addresses (like gmail) in the second case (Win 2016)
  • Both virtual machines are running on the same desktop
  • Antivirus and firewall disabled on both virtual machines

I am looking for help to understand where the problem is. I think there is a strange configuration in Windows 2016 that makes BlueHost block it or Gmail does not receive it.

I've tried a lot of things, but I came to a very strange point, in which I do not understand what's going on.

This is the script I use to test, for test purposes only. As the same error is generated by sending email from SQL Server Databasemail.

$ EmailTo = "blabla@gmail.com"
$ EmailFrom = "blabla@mydomain.com.ar"
$ Subject = "Test a"
$ Body = "Body Test"
$ SMTPServer = "mail.mydomain.com.ar"
$ SMTPMessage = New-Object System.Net.Mail.MailMessage ($ EmailFrom, $ EmailTo, $ Subject, $ Body)
$ SMTPClient = New-Object Net.Mail.SmtpClient ($ SmtpServer, 26)
$ SMTPClient.EnableSsl = $ false
$ SMTPClient.Credentials = New-Object System.Net.NetworkCredential ("blabla@mydomain.com.ar", "pass");
$ SMTPClient.Send ($ SMTPMessage)

Help? Thank you since now!

php – sql server in nginx ubuntu

Well I am with a mysql server configuration problem.

I install it on an Ubuntu server with nginx. I think, since it's the first time I do it properly.

We install mysql

sudo apt install mysql-server

sudo mysql_secure_installation

I say no when installing the plugin, I set up a new pass and it is gone.

Then we go through ssh to mysql

sudo mysql

We check users

SELECT user, authentication_string, plugin, host FROM mysql.user;

We define a passage at the root and remove the auth_socket

ALTER USER & # 39; root & # 39; @ & # 39; localhost & # 39; IDENTIFIED WITH mysql_native_password BY & # 39 ;; password;

Then we apply all the changes

FLUSH PRIVILEGES;

Then I am connected by ssh to mysql this way mysql -u root -p no problem, in fact, I can create tables, etc., the problem occurs when I connect to the program. navicat, which sends me back this message.

2003 - Unable to connect to MySQL server on & # 39; 82 .223.98.245 & # 39; (61 & quot; Connection refused & quot;)

I do not know what I can do if one site connects but not another. : S Any suggestions ???

tracking changes – MS SQL Server 2008 R2 duplicate key line in the object 'sys.syscommittab'

I have a server that fails to backup due to an error with syscommittab and that has all gone into this issue: SQL Server 2008 can not back up because of the failure to dump the validation table on the disk in dbid 11 because of the error 2601, but I'm still having the same problem

Running a DBCC CHECKDB returns the following:

Msg 2601, Level 14, State 1, procedure sp_flush_commit_table, line 15
Can not insert a duplicate key line into the object 'sys.syscommittab & # 39; with the unique index 'si_xdes_id'. The value of the duplicate key is (491219680).
Msg 3999, Level 17, State 1, Line 1
Failed to dump the validation table on disk in ID 9, because of error 2601. Check the error log for more information.

Tracking changes is enabled on this database with a 30-day shelf life and an automatic cleanup, but it does not clean up any records because this error occurred several months ago.

I have seen suggestions to run sp_flush_commit_table_on_demand but this does not exist on this installation (SQL Server 2008 R2 SP3 – now, SP1 was installed but the latest SP was installed to fix known issues related to tracking of sp_flush_commit_table_on_demand modifications related to this error).

I can see the problem lines by running:

select * FROM sys.dm_tran_commit_table where xdes_id = 491219680 & # 39;

Both come from the date the problem occurred (within 20 minutes of each other) and are well outside the retention period. I am wary of trying to delete them manually, but I can not find anything that can confirm the risks associated with this operation.

Any suggestions on next steps would be appreciated

Best DDos Protection Hosting – Dedicated Server

Hello everyone,
My company is facing a DDOS attack of up to 360 Gbps. I need a reliable dedicated hosting server or a company providing … | Read the rest of http://www.webhostingtalk.com/showthread.php?t=1748613&goto=newpost

Security Issues on the Hosting Server

A few years ago, I hosted my website on GoDaddy, but I was not very tech savvy. They therefore helped me host the site on their shared hosting server. Since then, I am constantly trying to educate myself in the field of technology and I now think that it is quite easy to host a website and make it live online.

But when I needed the support at the time to host my website on GoDaddy, they were able to access the files and data on my website, moving them to a particular folder for the website to be put online. They also told me to remove custom CSS codes from a line because it gave me an error.

So I want to know if it is possible to prevent the hosting providers from accessing the files and data of my website and how?

[WTS]Quality SSD and XEN VPS Hosting – Cloudarion

Looking for total flexibility to adapt the power of each virtual machine?
theCloudArionthe service is the perfect solution.

Cloudarionis a major presence in the web hosting market since 2011. All of our employees are in-house and we are proud to operate our own networks and infrastructure. OurSSD VPSAccommodation is considered one of the most sought after packages. If you add our high quality to the power of SSD VPS hosting, you will receive a winning package. We have always been proud of our 99.9% availability on VPS systems.

Our hosting services are powered byIntel Xeon E5-2670andIntel Core i7-6700processors. Most customers think that our VPS hosting package is an exceptional offer. This package is specially designed for high quality media service, website content, games, databases and almost anything you can imagine. Each individual machine has a maximum limit of 30 VPS per individual node onXEN / KVMthe technology that isRAID10This allows all systems to quickly handle any processor, memory, and I / O issues that occur that adversely affect quality as additional VPSs are added to the nodes.

Discover CloudarionSSD VPS Hostingpackages:

1st VPS hosting plan
CPU – 1 Core
Memory – 1 GB
SSD Space – 10 GB
Bandwidth – 1 TB
Price $ 10 / month – Order now

2nd VPS hosting plan
CPU – 2 cores
Memory – 2 GB
SSD Space – 20 GB
Bandwidth – 2 TB
Price $ 20 / month – Order now

3rd VPS hosting plan
CPU – 4 cores
Memory – 4 GB
SSD Space – 30 GB
Bandwidth – 3 TB
Price $ 40 / month – Order now

4th VPS hosting plan
CPU – 4 Core
Memory – 8 GB
SSD Space – 50 GB
Bandwidth – 3 TB
Price $ 80 / month – Order now

5th VPS hosting plan
CPU – 8 cores
Memory – 16 GB
SSD Space – 100 GB
Bandwidth – 6 TB
Price $ 160 / month – Order now

6th VPS hosting plan
CPU – 12 cores
Memory – 32 GB
SSD Space – 200 GB
Bandwidth – 6 TB
Price $ 320 / month – Order now

Our hosting service combines the stability and reliability of Linux systems with the flexibility ofXen / KVMDistribution. If you are looking for a robust and resilient hosting configuration, this will be your best choice.

Discover CloudarionXEN VPS Hostingpackages:

1st VPS hosting plan
CPU – 1 Core
Memory – 1 GB
Hard disk space – 25 GB
Bandwidth – not measured
Price $ 10 / month – Order now

2nd VPS hosting plan
CPU – 2 cores
Memory – 2 GB
Hard disk space – 50 GB
Bandwidth – not measured
Price $ 20 / month – Order now

3rd VPS hosting plan
CPU – 4 cores
Memory – 4 GB
Hard disk space – 80 GB
Bandwidth – not measured
Price $ 40 / month – Order now

4th VPS hosting plan
CPU – 4 Core
Memory – 8 GB
Hard disk space – 150 GB
Bandwidth – not measured
Price $ 80 / month – Order now

5th VPS hosting plan
CPU – 8 cores
Memory – 16 GB
Hard Disk Space – 300 GB
Bandwidth – not measured
Price $ 160 / month – Order now

6th VPS hosting plan
CPU – 12 cores
Memory – 32 GB
SSD Space – 600 GB
Bandwidth – not measured
Price $ 320 / month – Order now

Available locations:United States (Los Angeles), Switzerland (Zurich), Germany (Nuremberg), Russia (Moscow).

Accepted methods of payment:Paypal, Payza, Bitcoin, WebMoney, Payoneer.

Speed ​​of test and ip==>CLICK HERE

PRICE OF ADDITIONAL RESOURCES:

  • Additional IP – Starting at $ 2 per month
  • Hard Drive SSD HDD 50 GB / 10 GB – Starting at $ 5 per month
  • ISPmanager Lite (Official site http://ispsystem.com/fr) – From free per month
  • ISPmanager Business (Official Site http://ispsystem.com) – From $ 15 per month
  • cPanel (Official Site https://cpanel.net) – Starting at $ 15 per month
    Can not find your control panels? Please contact with our technical support. Open a ticket
  • cPanel (Official Site https://cpanel.net) – Starting at $ 150 per year
    Can not find your control panels? Please contact with our technical support. Open a ticket

The hard drives are in a RAID 10 redundant array to ensure the security of your data!
Local and Backup on remote server! Your VPS container will be on a local RAID-10 storage array for the fastest and most reliable storage architecture for your websites. RAID-10 technology offers a staggering increase in input / output operations per second (IOPS).

Power(Guaranteed dedicated RAM.) All RAM and disk resources are dedicated and can not be oversold.)

Money back guarantee(Try our services today!) All new customers benefit from our services with a 14 day unconditional money back guarantee.)

== >> Discover CloudarionWindows VPS
Operating systems:Windows 2003 Server R2, Windows 2008 Server R2.

== >> Discover CloudarionDedicated servers

Need help for?Contact with ourtechnical support.

.

Connection to the MS SQL Server database via PHP

I am new to SQL, databases and PHP, and am trying to find a way to query my MS SQL Server database via PHP. I understand that I must first establish a connection to the database, using a valid syntax that I have not found yet. I mean, I have tried many of those provided by users on other Q & A websites, but they do not seem to work.
The one I tested last is the following:


And here is what my local host says:

Fatal error: Uncaught error: Call to undefined function
MSSQL_CONNECT () in C: xampp htdocs my_stuff db_connection.php: 6 Stack
trace: # 0 {hand} thrown
in C: xampp htdocs ryan_stuff db_connection.php on line 6

Any notice will be welcome.

Cheap Offshore Dedicated Server

Layerservers manages hundreds of dedicated Intel Offshore servers in our data centers. With a successful experience in the offshore web hosting industry since the year 2001, we ensure that your dedicated server is always secure, fast and offers maximum uptime. You can register anonymously to make sure your privacy is protected. We have experience in protecting your servers against any queries. Do not hesitate to contact us if you have any questions.

As a leading offshore hosting provider, we benefit from Intel branded servers, a dedicated 24/7/365 support team and guaranteed availability at 99, 99% on our offshore network. All our servers are also protected against DDoS attacks. More importantly, we use our own AS number networks and IP ranges. This makes us quite unique because we have total control over all possible attacks on the servers. We offer a money-back guarantee at any time without asking any questions. If you are not satisfied with our services, we will refund you without any conditions.
For more details, click here.