Go Premium for a chance to win a PS4. Enter to Win

x

Linux

65K

Solutions

32K

Contributors

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

Solving the C10K problem with Linux + Apache + MariaDB + PHP + WordPress.

Just went through several days of tuning a new client's site running 50K-100K page requests/hour. Insane levels of traffic.

This surfaced problems in PHP + WP Super Cache. Bugs opened in both projects showing how to reproduce problem.

After all's said + done, site can now handle 10M visits in 9minutes. You read that number correctly. 1M+ reqs/sec sustained traffic out of WordPress.

So when someone tells you WordPress is slow, they're wrong.

What they should say is, something... somewhere... in the configuration of their entire LAMP Stack + WordPress setup is slow + likely fixing some minor setting somewhere will heal their site to run massive traffic.
0
Keep up with what's happening at Experts Exchange!
LVL 11
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

hi
 it could impossible to work in our environment if we develop app.
Our new plateform need to be in Linux Debiian,


And to do it, we do a Worktation Linux environment with vmware;

And idea is to make a VM by service.
Example : 1 vm for LDAP, 1 vm for NFS, 1 vm for DNS, 1 vm for DHCP, 1 vm for Shared files, 1 vm for Samba...

And at the end, it ll push by Ansible. We'll make this with that if it's not possible to do it normaly,

so i work with Workstation with Linux Debian
0
2
I've been using phantomjs to convert HTML pages to PDF.  On my Mac, everything was OK.  But, on a Linux environment, the fonts were not rendering properly (particularly web fonts).  There isn't too much out there on this problem, until I finally stumbled upon this github issue: https://github.com/wkhtmltopdf/wkhtmltopdf/issues/45.  (Apparently, the workaround found for wkhtmltopdf also applies to phantomjs).  Anyways, the fix finally ended up to be creating a new file (/etc/fonts/conf.d/100-smoothfonts.conf) with the following contents:

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="lcdfilter">
   <const>lcddefault</const>
  </edit>
 </match>
</fontconfig>

Open in new window


Just throwing this out there in case someone else has the same issue and stumbles upon this post!
6
 
LVL 15

Author Comment

by:Phil Phillips
Yeah, I'm using the screen capture ability of phantomjs.  Supported output formats are png, jpeg, gif, pdf.  The phantomjs download page has binaries for the major OSes. Their git repo has a script called "rasterize.js" that I've been using to do the capturing.  Sample usage:

phantomjs rasterize.js https://www.experts-exchange.com ee.jpg

Open in new window

1
 
LVL 7

Expert Comment

by:Brian Matis
Sweet, thanks Phil! I'll have to give that a try.
0
How to get cpu serial number in linux from cmd
0
 

Expert Comment

by:Ole-Aleksander Forchhammer
What distribution of Linux are you running?
0
 

Author Comment

by:Rajat Sehgal
CentOS release 6.8 (Final)
0
Warning: If your device uses WiFi, it's at risk!
News broke today about the Krack Attack, a new cyber threat that can decrypt and potentially view everything users are doing online. The Krack Attack preys on a weakness in WPA2 protocol. Hackers near the vulnerable devices (Android and Linux are at greatest risk) can retrieve sensitive user data and information.
Steps to Protect:
1. Apply patches as they become available. For phones and computers, the patches will come in the usual update format. For wifi routers, the manufacturer's website will have the patches.
2. Don't use public WiFi, especially for sharing or sending any sensitive information.
3. Double check that you are browsing with HTTPS. If you are unsure, install this plug-in to encrypt your communications with major websites and make your browsing more secure. https://www.eff.org/https-everywhere
4. Otherwise, use Ethernet.

For more tips on how to protect yourself: https://techcrunch.com/2017/10/16/heres-what-you-can-do-to-protect-yourself-from-the-krack-wifi-vulnerability/
5
I have a cpanel based linux hosting a/c for my domain. I want to set a cronjob which will run to delete 6 months old emails automatically from the INBOX of all the email users everyday at 8 pm. Can someone provide me the cron command.
0
linux email relay has stopped working

in the log it reads
Oct  9 07:46:15 culser postfix/smtp[18330]: 21FE619C627: to=<circleconect@gmail.com>, relay=smtp.rcn.com[69.168.97.78]:25, delay=0.44, delays=0.03/0.01/0.26/0.15, dsn=5.7.1, status=bounced (host smtp.rcn.com[69.168.97.78] said: 554 5.7.1 [P4] Message blocked due to spam content in the message. (in reply to end of DATA command))

the relay i am using in postfix is the smtp address. i am getting a 554 error apparently. i pay for IP service thur them but they say they have no restriction. maybe it is a setting in postfix s

i need someone's advise who has knowledge of Linux, postfix, relays, and email servers.
0
 
LVL 1

Expert Comment

by:Prabhin MP
I HOPE YOU GOT THE ANSWER
0
 

Author Comment

by:culser
yes it now works.
0
Hi friends, My name is SERGE
I have a little worry. This concerns the installation of zimbra messaging under SUSE LINUX ENTERPRISE SERVER ...
I would like you to give the manual and the controls so that I can install it artificially ...
thank you in advance .
0
 
LVL 25

Expert Comment

by:Brian B
Hi Serge. This entry you have made is a POST. In order to get an answer from the Experts, you should probably make it a QUESTION. Use the "Ask a question" button above or this link: https://www.experts-exchange.com/askQuestion.jsp
0
Dear Experts,

I'm about to install Oracle Weblogic Server for the first time, I'm looking for your recommendation before strating the implementation even if on the OS level if you have any concerns please inform me so I can finish the job perfectly as my company will depend on me to finish it, I'll use subscribed RHEL v6.8 on HP proliant DL580 G7
1
 

Author Comment

by:m_Hosny
Thanks Brian B for your notice, I already did that earlier but actually this is the first time to use the app and I already got it.
0
 
LVL 25

Expert Comment

by:Brian B
Great.
FYI: For those who can help with the question, please go here: https://www.experts-exchange.com/questions/29058716/Oracle-Weblogic-on-RHEL.html
0
Fill in the form and get your FREE NFR key NOW!
LVL 1
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Here is a tip for faster linux software updates: make sure your software sources mirror lists are ranked and optimized. The link below explains how to do that with Arch based distros like Manjaro.

https://wiki.manjaro.org/index.php?title=Pacman_Tips#Ranking_mirrors
0
Addition of native Linux support in windows is really amazing..
4
 
LVL 7

Expert Comment

by:Brian Matis
Yeah, I'm really liking the much more open direction that Microsoft has been taking of late. Very different from the old Microsoft, and a very welcome change!
0
1
2
This is a good approach to teaching. Start with simple questions about how to reach an end goal. From "how do I install the operating system" to "how do I install Minecraft?"
5
 
LVL 7

Expert Comment

by:Brian Matis
Nice! I know the main reason I got into using computers was so that I could play games. Next step will be for them to start learning how to build simple games :-)
1
 

Expert Comment

by:Daniella Barion
It's great to see parents involvement trying different ways to have kids attention and interest.
1
https://www.pine64.org/?page_id=3707

Have you worked with a Pinbook for surfing or other?
2
 
LVL 10

Expert Comment

by:Brandon Lyon
I thought about getting one back when they announced it. I decided to wait for reviews mainly because I was unsure how good (or bad) the screen and keyboard might be. That and other options are getting ridiculously cheap.
0
 
LVL 51

Expert Comment

by:Jackie Man
According to its spec, PINEBOOK is similar to a Raspberry Pi 3 and it may be the reason why it can be made so cheaply.
0
If you ever want to play bash on hard mode, install suicide linux. It sudo rm -rf / 's your machine if you mistype any command.

https://qntm.org/suicide
3
 
LVL 7

Expert Comment

by:Brian Matis
Well, I guess that's one way to train yourself to be more cautious about what commands you're typing!
0
 
LVL 15

Expert Comment

by:Phil Phillips
Haha, reminds me of: https://xkcd.com/1168/
2
2
 
LVL 18

Expert Comment

by:Lucas Bishop
desktop apps on a mobile device and not the other way around

Aren't we heading into the realm of apps not being so device centric? ie. Adobe Creative Cloud, Google Apps, Office 365, etc
0
 
LVL 10

Author Comment

by:Brandon Lyon
That is one direction. Personally I want offline access to non-webapps developed with a desktop UI in mind. I dream of having a VM webserver running in my pocket which I can cast to any screen and input devices I want. It would be nice if that were also my phone so I wouldn't have to carry multiple devices. Right now I still need at least two devices for that. I am getting a new GPD Pocket netbook I can carry around with me but I will have to use my phone for calls and internet access. If I could get a 6" phone that does (allthethings) then I wouldn't need two devices. I briefly debated getting the Gemini PDA but that is a bit smaller than I want and is coming from an unknown company with no track record.
0
Just found out about the command vimtutor. I use vim a lot for work and feel fairly confident in it, but I didn't know some of the stuff that vimtutor goes through. I had a teacher in college tell us to become vim power users all the time. Not sure what versions of linux have this installed, but it worked on amazon linux.
3
 
LVL 15

Expert Comment

by:Phil Phillips
I'll have to check it out.  Always nice to learn some new vim tricks :).
1

Linux

65K

Solutions

32K

Contributors

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

Vendor Experts

Naveen SharmaKernel Data Recovery Learn more about Kernel Data Recovery
Sandeep KumarKernel Data Recovery Learn more about Kernel Data Recovery