Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I'm sorry if this is the wrong place for this. I'm new and I'm trying to do these steps on ubuntu. Can you help me with the commands? Thanks a lot.
1) Install mysql on ubuntu.
2) Start and enable the installed mysql database via systemd. Get the status of the running service, then send the PID to your AUIS email address.
3) Once every hour, save the last 10 log messages generated by the mysql service in a text file; called it 'mySQL.log'.
4) Assign the IP address 192.168.234.200 to your network card.
5) Once every six hours, move the mySQL.log file to a Linux server via SSH. Assume the server has the following IP address: 192.168.234.200.
Hello spinX,
LQ is a great and correct place to ask questions.
There are some helpful links to improve how you ask and help others to help you, in this link here.
If you wish to write a script, please understand that members here will help you with your script, but not write it for you.
If you have little or no knowledge of bash scripting, or other scripting you intend to use, then you should indicate this to forum members.
Forum members may wish to know what your system specifications are. They clearly will wish to know what version of Ubuntu you are running and whether it is server or workstation. They also will wish to know which sql software you are looking to install as well as the version. They also will wish to know if you have read any guides about installing this software on the target distribution you mention.
Please check the link to help you add more details to your question.
Hi,
I'm sorry if this is the wrong place for this. I'm new and I'm trying to do these steps on ubuntu. Can you help me with the commands? Thanks a lot.
1) Install mysql on ubuntu.
2) Start and enable the installed mysql database via systemd. Get the status of the running service, then send the PID to your AUIS email address.
3) Once every hour, save the last 10 log messages generated by the mysql service in a text file; called it 'mySQL.log'.
4) Assign the IP address 192.168.234.200 to your network card.
5) Once every six hours, move the mySQL.log file to a Linux server via SSH. Assume the server has the following IP address: 192.168.234.200.
Sorry, but this sounds very much like a homework/lab assignment. We are happy to HELP you if you're stuck, but posting a homework question and asking for the answers isn't going to get you much. Read the LQ Rules and the "Question Guidelines" link in my posting signature. Because each of these is EASILY found with a brief Google search
"how do you install mysql on ubuntu?"
"how do you start mysql on ubuntu",
"how do you read the last ten lines of a log file on linux"
after all of that what was wrote, and you've chewed on it a bit.
5 things, 5 steps.
if you do not know how to do this or any of them on the command line then you've already lost the battle. First figure out how to issue the commands on the command line, then go to the BaSH scripting and figure out how to put it into a file and have it do the steps for you. Either way you still have to know how to type out all of the the steps first before anything will get done.
And if you can't at least TRY to do your own work, don't ask us to. I handed you phrases you could have easily looked up, and found your answers, and you apparently can't even try that.
And if you think such a reply will get you any further help...good luck.
While I do understand frustration, there were some helpful answers starting off the thread. If you, or anyone, feels that a reply went too far, the correct thing to do is to use the Report button to ask that a moderator look at the information in the the post and evaluate it. Also the Contact Us link at the bottom of the page form is a way to contact site administrators and/or Jeremy to air any concerns more directly.
LQ allows the edit function so that members can correct and clarify. Yes, part of that allows one to erase. Performing this action is not helpful, and hopefully you can see that it doesn't necessarily have the impact of erasing your comments since they could have been quoted earlier by someone.
If you continue to use the LQ forums, please be aware of these guidelines.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.