Answer the question
In order to leave comments, you need to log in
How to set up a server?
Hi all! I understand that there are many instructions, but many are outdated. something is not working.
I want to put an ubuntu server on an old laptop. Recently, the wi-fi adapter (built-in) died, now I installed an external one from the tlink - if it's important ...
Help, who has time. Just a list of actions/commands.
If there is no time - ignore it!
Manuals and really looked a lot! But the errors keep coming, but it doesn’t say how to solve them, obviously everything has changed ... WordPress doesn’t allow you to edit or add anything, I read about it, but why isn’t it said at the server installation stage :(
Answer the question
In order to leave comments, you need to log in
Hello.
Good to know about the adapter.
Insert the cord from the Internet into the laptop.
Further, it is assumed that you have successfully launched the server installation by setting the necessary settings in bios (from a flash drive, disk - that's not the point).
Make markup (here the instructions are not outdated).
Connect to your network (analgin).
Wait for the installation to complete and take the car to reboot.
Now (assuming you're in a terminal):
Get the name of the device.
iw dev
iw wlваши_цифры link
>>not connected...
iw wlваши_цифры scan
>> command failed: Network is down (-100)
sudo ip link set iw wlваши_цифры up
nmcli dev wifi connect ROUTERSSID SPI
ping 8.8.8.8
sudo apt-get update
sudo apt-get dist-upgrade
sudo ufw allow from локальный_адрес_клиента
sudo ufw enable
sudo apt-get install apache2
sudo service apache2 status
sudo service apache2 start
sudo a2enmod rewrite
sudo apt-get install mysql-server
sudo apt-get install phpmyadmin
sudo nano /etc/apache2/apache2.conf
Include /etc/phpmyadmin/apache.conf
sudo chmod -R 755 /var/www
sudo chown -R ваш_логин:ваш_логин /var/www
sudo -i
mysql -uroot -p
SELECT user,plugin,host FROM mysql.user WHERE user = 'root';
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'введите_желаемый_пароль';
FLUSH PRIVILEGES;
exit
mkdir /var/www/wp
nano /var/www/wp/index.html
<html>
<head>
<title>testerer</title>
</head>
<body>
Hello, kitty!
</body>
</html>
sudo nano /etc/hosts
# Временнное
ip_сервера wp.local www.wp.local
sudo cp -P /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/wp.conf
sudo nano /etc/apache2/sites-available/wp.conf
Раскомментируем: #ServerName www.example.com и заменим на ServerName wp.local
DocumentRoot /var/www/html на /var/www/wp
sudo a2ensite wp.conf
sudo service apache2 restart
Hi all! I understand that it would be necessary to see a doctor, but somewhere I sowed a policy and I’m embarrassed to call an ambulance, especially since doctors will only stuff pills and chemicals.
I have two knives, kitchen pegs, and four sturdy sturdy stools.
I want to cut out my own appendix.
Recently I lost my legs (I sat on the toilet for a long time, tried to take the turtle out), but the sensitivity is restored, it tingles in my feet, but I don’t feel my ass (if this is important ...).
Help, who has time. Just a list of actions/commands.
If there is no time - ignore it!
Manuals and really looked a lot! But, it hurts to cut the belly, apparently you still need to sit on the point so that the anesthesia rises higher.
In general, the plaster, of course, interferes, the hands turn badly, I read about it, but why is it not said that I got stuck at the stage of processing the surgical field :(
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question