NewStats: 3,264,494 , 8,183,874 topics. Date: Wednesday, 11 June 2025 at 09:53 AM 3a4b1d

6z3e3g

Ubuntu Linux - Computers (172) - Nairaland 3h2z3y

Ubuntu Linux (515952 Views)

(4)

Go Down)

Ayrastarr(f): 6:02pm On Feb 06, 2022
qtguru:


Yapa but not for this group, most of my colleagues use Linux because of docker and ease of things

Hi qtguru,
I was gifted a laptop BUT it didn't come with any OS.
Please, how do I install Linux on it?
qtguru(m): 6:05pm On Feb 06, 2022
Ayrastarr:


Hi qtguru,
I was gifted a laptop BUT it didn't come with any OS.
Please, how do I install Linux on it?

Linux.iso , ensure to have a USB Drive and also another tool called Rufus on Windows, once the iso s then you can make a bootable USB Drive, oce the drive is plugged, it will self-boot into the setup and you can just install, what is the spec of the system ?
Ayrastarr(f): 6:32pm On Feb 06, 2022
qtguru:


Linux.iso , ensure to have a USB Drive and also another tool called Rufus on Windows, once the iso s then you can make a bootable USB Drive, oce the drive is plugged, it will self-boot into the setup and you can just install, what is the spec of the system ?

Thank you very much.

i7
8gb ram
500 ssd
Thinkpad

1 Like

Deicide: 6:41pm On Feb 06, 2022
Ayrastarr:


Thank you very much.

i7
8gb ram
500 ssd
Thinkpad
You also have to consider GPT and MBR.... BIOS and UEFI
The5DME(m): 6:48pm On Feb 06, 2022
Ayrastarr:


Thank you very much.

i7
8gb ram
500 ssd
Thinkpad

I won't advice you to use Linux(any of the distros), if you're new to it.
Ayrastarr(f): 7:06pm On Feb 06, 2022
The5DME:


I won't advice you to use Linux(any of the distros), if you're new to it.
Why please
Ayrastarr(f): 7:07pm On Feb 06, 2022
Deicide:
You also have to consider GPT and MBR.... BIOS and UEFI

What are those E gba mi
Deicide: 7:46pm On Feb 06, 2022
Ayrastarr:


What are those E gba mi
Go do research na shebi you wan be Linux .
saxwizard(m): 7:49pm On Feb 06, 2022
a. Find all lines in the file /var/log/secure that contain the string “FAILED”
followed by the string “linda” and save the output to a file named
/root/search/6/securefile.txt
b. Find all files in /var/log that contain the string “Erased” and copy them to
the directory /root/search/6/erased
c. Find all lines that start with the string “name” in the file /proc/crypto and
save the output to /root/search/6/crypto.txt



Input will be appreciated
Deicide: 8:58pm On Feb 06, 2022
saxwizard:
a. Find all lines in the file /var/log/secure that contain the string “FAILED” followed by the string “linda” and save the output to a file named
/root/search/6/securefile.txt
cat /var/log/secure | grep -l "FAILED linda" > /root/search/6/securefile.txt
Or
grep -l "FAILED linda" /var/log/secure > /root/search/6/securefile.txt

b. Find all files in /var/log that contain the string “Erased” and copy them to
the directory /root/search/6/erased
ls /var/log | grep "Erased" > /root/search/6/erased

Or
find /var/log -type f -exec grep "Erased" {} \; -exec {} /root/search/6/erased \;

Or

grep "Erased" /var/log/* -Rl | xargs -I {} {} /root/search/6/erased


c. Find all lines that start with the string “name” in the file /proc/crypto and
save the output to /root/search/6/crypto.txt
Input will be appreciated
cat /proc/crypto | grep -lE "^name" > /root/search/6/crypto.txt
writer: 8:59pm On Feb 06, 2022
Ayrastarr:


Hi qtguru,
I was gifted a laptop BUT it didn't come with any OS.
Please, how do I install Linux on it?

It's very easy actually.

You need to have a USB stick (USB drive). It should be 4gb minimum.

There are many different types of Linux. These are called Distributions or Distros for short.

As a new , I'd recommend you go for kubuntu or zorin or Linux mint.

The above Distros are very close to windows in look and will work as normal after installation. I'd recommend kubuntu as your first choice, it's quite stable.

Anyways, which ever Distros you Decided to chose, it to your system (this will be tricky since you don't have an os on your system, it's best you get windows on it first or borrow a laptop to it).

After ing the os, install a bootable disk maker.

I'd recommend balena etcher, it's easy and straightforward.

and install balena etcher on the system you are using.

Now plug in your USB drive and open the balena app.

Click on 'flash from file', choose the iso file, select target location which will be your USB and then click on flash.

It'll take some time to flash.

After flashing, remove the disk and plug it in your system.

It'll boot from the USB drive and you can try the Linux app or choose install and it'll be installed.

1 Like

saxwizard(m): 10:44pm On Feb 06, 2022
Deicide:

cat /var/log/secure | grep -l "FAILED linda" > /root/search/6/securefile.txt
Or
grep -l "FAILED linda" /var/log/secure > /root/search/6/securefile.txt

ls /var/log | grep "Erased" > /root/search/6/erased

cat /proc/crypto | grep -lE "^name" > /root/search/6/crypto.txt



Thank you
I will try them out


Can i connect with you on WhatsApp
I have this linux exam coming up in few weeks
I would appreciate if i have someone to ask questions about things not clear to me
Thank you
Deicide: 10:54pm On Feb 06, 2022
saxwizard:




Thank you
I will try them out


Can i connect with you on WhatsApp
I have this linux exam coming up in few weeks
I would appreciate if i have someone to ask questions about things not clear to me
Thank you
Am not on WhatsApp
Ayrastarr(f): 4:50am On Feb 07, 2022
Deicide:
Go do research na shebi you wan be Linux .
Lol
You mean
Ayrastarr(f): 4:51am On Feb 07, 2022
writer:


It's very easy actually.

You need to have a USB stick (USB drive). It should be 4gb minimum.

There are many different types of Linux. These are called Distributions or Distros for short.

As a new , I'd recommend you go for kubuntu or zorin or Linux mint.

The above Distros are very close to windows in look and will work as normal after installation. I'd recommend kubuntu as your first choice, it's quite stable.

Anyways, which ever Distros you Decided to chose, it to your system (this will be tricky since you don't have an os on your system, it's best you get windows on it first or borrow a laptop to it).

After ing the os, install a bootable disk maker.

I'd recommend balena etcher, it's easy and straightforward.

and install balena etcher on the system you are using.

Now plug in your USB drive and open the balena app.

Click on 'flash from file', choose the iso file, select target location which will be your USB and then click on flash.

It'll take some time to flash.

After flashing, remove the disk and plug it in your system.

It'll boot from the USB drive and you can try the Linux app or choose install and it'll be installed.

You really are a writer..
Thank you for this.

Thank you

1 Like

saxwizard(m): 6:22am On Feb 07, 2022
Deicide:
Am not on WhatsApp



I will bring my questions here


Thank you for the input
Deicide: 8:26am On Feb 07, 2022
saxwizard:




I will bring my questions here


Thank you for the input
Ok no problem I have made modification to the answer cause I don't know what that question b is asking exactly.
saxwizard(m): 9:49am On Feb 07, 2022
Deicide:
Ok no problem I have made modification to the answer cause I don't know what that
question b is asking exactly.


Thank you.

can you take a look at these ones too
1.
a. Find all files and directories in /etc that start with “a” or “b” and copy them
to the directory /root/found/8/permissions while preserving their
permissions.
b. Find all files in /etc that are greater than 1MB and save their absolute
paths to the file /root/found/8/big-files.txt
c. Find all files in /etc not owned by root and copy the files to
/root/other_s


2.

Create the following s with the following details - If the supplemental groups
listed do not exist, create them.
a. bob - Supplemental Group engineers - PW: cent6
b. tim - Supplemental Group webdev - PW: cent6
c. ben - Supplemental Group chemical - PW: cent6
d. All s created must expire one year from today.
e. Set the bob’s default shell to zsh
f. Set the tim’s default home directory to /shadow-soft - if this directory
does not exist, create. Apply the same SELinux contexts and permissions
to /shadow-soft that would be found on a 's /home directory such that
Tim and only Tim will have access to /shadow-soft
Deicide: 11:44am On Feb 07, 2022
saxwizard:

Thank you.
can you take a look at these ones too
1.
a. Find all files and directories in /etc that start with “a” or “b” and copy them
to the directory /root/found/8/permissions while preserving their
permissions.
Wouldn't it be better if you do research yourself to know how to answer this questions? That way you would understand what am doing.

Anyways.
ls /etc | egrep "(a|b)" | xargs -I {} -p {} /root/found/8/permissions/


b. Find all files in /etc that are greater than 1MB and save their absolute
paths to the file /root/found/8/big-files.txt
find /etc -size +1M -exec readlink -f {} \; > /root/found/8/big-files.txt

c. Find all files in /etc not owned by root and copy the files to
/root/other_s
find /etc -not - "root" -exec {} /root/other_s/ \;
saxwizard(m): 11:50am On Feb 07, 2022
Deicide:

Wouldn't it be better if you do research yourself to know how to answer this questions? That way you would understand what am doing.


Yes. I have some answers but for some i am not getting the desired result.


for example see this question

Create a bash shell script named certscript.sh under
/home/student/apps/.
● Make sure the script can be invoked as
./certscript.sh.
● The first line of output from the script should consist of the
name of the who invoked it.
● The second line of output should contain the IP address
of the default gateway.

my solution
echo my name is &whoami
echo my Gateway IP is & ip r | grep default


I want a result like my name is saxwizard and my gateway is 192.168.1.1
Deicide: 12:34pm On Feb 07, 2022
saxwizard:


Yes. I have some answers but for some i am not getting the desired result.


for example see this question

Create a bash shell script named certscript.sh under
/home/student/apps/.
● Make sure the script can be invoked as
./certscript.sh.
● The first line of output from the script should consist of the
name of the who invoked it.
● The second line of output should contain the IP address
of the default gateway.

my solution
echo my name is &whoami
echo my Gateway IP is & ip r | grep default


I want a result like my name is saxwizard and my gateway is 192.168.1.1
Solution
certscript.sh


#!bin/sh env
NAME=$(whoami)
IP=$(ifconfig | grep inet | awk 'NR == 2 { print $2 }')
echo "my name is $NAME and my gateway is $IP"


chmod +x certscript.sh


For accuracy of IP address you have to send me the output of ifconfig
saxwizard(m): 3:48pm On Feb 07, 2022
Deicide:

Solution
certscript.sh


#!bin/sh env
NAME=$(whoami)
IP=$(ifconfig | grep inet | awk 'NR == 2 { print $2 }')
echo "my name is $NAME and my gateway is $IP"


chmod +x certscript.sh




For accuracy of IP address you have to send me the output of ifconfig





Boss be like say i go come they sleep your house ooo
Mehn i struggled with this thing for days
gbosah91(m): 7:42pm On Feb 09, 2022
Can you share link or name
masterfactor:

the telegram group
gbosah91(m): 7:49pm On Feb 09, 2022
Please I want to install linux on my system, which is running on windows 10. but my windows have legacy bios, please which destros is best to install? my sole aim of installing linux is only for programing. I want dual boot.
Deicide: 8:42pm On Feb 09, 2022
gbosah91:
Please I want to install linux on my system, which is running on windows 10. but my windows have legacy bios, please which destros is best to install? my sole aim of installing linux is only for programing. I want dual boot.
So you can't program on Windows?
gbosah91(m): 10:49pm On Feb 09, 2022
I can, but the resources I'm using suggested Linux.
Deicide:
So you can't program on Windows?
Gargoylesmiles(m): 11:21pm On Feb 15, 2022
Ayrastarr:


Hi Gargoylesmiles

I was gifted a laptop BUT it didn't come with any OS.
Please, how do I install Linux on it?

I can guide you through an installation. This should serve a good guide.
https://www.youtube.com/watch?v=Er5tjswFFKU
Nigeria Linux Group on telegram for live help.
VickyELEFAN(f): 12:56pm On Feb 21, 2022
.
ceejey17: 7:24pm On Mar 06, 2022
Question: I got a new system which came with ubuntu, my hard drive is from my old Windows system, it recognises it but it doesn't display files, is there any way to make it show the videos? Or I have to use VMs and install windows there
Gargoylesmiles(m): 8:11am On Mar 08, 2022
ceejey17:
Question: I got a new system which came with ubuntu, my hard drive is from my old Windows system, it recognises it but it doesn't display files, is there any way to make it show the videos? Or I have to use VMs and install windows there

I am guessing this is a desktop system? How did you connect your old Windows PC to the system?
Solanaa: 7:59pm On Apr 03, 2022
Can someone quickly highlight the uses of this linux and ubuntu?


I really wish to learn more about it.
Gargoylesmiles(m): 12:16am On Apr 04, 2022
Solanaa:
Can someone quickly highlight the uses of this linux and ubuntu?


I really wish to learn more about it.
Whatever it is you currently do with your computer running Windows or Mac OS you can do same on Linux.

Reply)

Huawei USB Modem Unlocker - Here!

(Go Up)

Sections: How To . 46
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or s on Nairaland.