![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
pertain99
这个作者很懒,什么都没留下…
展开
-
How to find RaspberryPi 4 IP address after installation?
In your windows machine, open cmd, isue the ping raspberrypi -4 command:C:\Windows\System32>ping raspberrypi -4Pinging raspberrypi.local [192.168.0.12] with 32 bytes of data:Reply from 192.168.0.12: bytes=32 time=9ms TTL=64Reply from 192.168.0.12:原创 2020-12-05 22:48:41 · 190 阅读 · 0 评论 -
wordpress更改IP后,不能访问问题
安装wordpress的时候里面的域名、ip都已固定。安装好后的通过IP访问,如http://192.168.1.101即打开首页,但是日后需要更改系统IP,改为192.168.1.102,这个时候在通过http://192.168.1.102访问就打不开首页了,其实wordpress的域名、IP等配置已经固定到数据库里了,在wp_options这个表里,需要对里面的字段做些修改,才能通过新的ip访问,我这里的wordpress是4.2.3版本。做以下修改:通过可视化的工具连接数据库,我用的是Navica原创 2020-12-02 21:38:48 · 1310 阅读 · 0 评论 -
Install vBulletin on Raspberry Pi 4B
Install LAMPhttps://projects.raspberrypi.org/en/projects/lamp-web-server-with-wordpress/7Install php-xmlsudo apt-get install php-xmlThen you need to restart apache so it takes effectsudo service apache2 restartChange modepi@raspberrypi:/var/www/ht原创 2020-11-30 15:27:40 · 112 阅读 · 0 评论 -
How to Download Torrents from the Command Line in Ubuntu
Installationsudo apt install transmission-cliHow to add a torrentURLtransmission-cli http://releases.ubuntu.com/16.10/ubuntu-16.10-desktop-amd64.iso.torrent -w ~/DownloadsMagnet Linkstransmission-cli magnet:?xt=urn:btih:e249fe4dc957be4b4ce3ecaac280原创 2020-11-30 13:11:29 · 195 阅读 · 0 评论 -
How to Install Xrdp Server (Remote Desktop) on Ubuntu 18.04
Installing Desktop Environmentsudo apt updatesudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utilsInstalling Xrdpsudo apt install xrdp sudo systemctl status xrdpYou will see output like the following:xrdp.service - xrdp daemon L原创 2020-11-30 12:25:03 · 248 阅读 · 0 评论 -
RaspberryPi 4 USB SSD
Before:pi@raspberrypi:~ $ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTmmcblk0 179:0 0 115.3G 0 disk ├─mmcblk0p1 179:1 0 256M 0 part /boot└─mmcblk0p2 179:2 0 115.1G 0 part /pi@raspberrypi:~ $ sudo hdparm -Tt /dev/mmcblk0/原创 2020-11-29 14:15:18 · 374 阅读 · 0 评论 -
Raspberry Pi 4 Headless Setup
Install OSadd a file named “ssh” into boot folderOn your laptop, find ip address of Raspberry PiC:\Windows\System32>ping raspberrypi -4Pinging raspberrypi.local [192.168.0.90] with 32 bytes of data:Reply from 192.168.0.90: bytes=32 time=8ms TTL=64原创 2020-11-29 13:56:32 · 239 阅读 · 0 评论 -
Check Hard Drive Speed
sudo hdparm -Tt /dev/sdb/dev/sdb: Timing cached reads: 18136 MB in 1.99 seconds = 9097.50 MB/sec Timing buffered disk reads: 1484 MB in 3.00 seconds = 494.47 MB/secsudo hdparm -Tt /dev/sda/dev/sda: Timing cached reads: 17126 MB in 1.99 seco原创 2020-11-26 12:03:15 · 554 阅读 · 0 评论 -
Add new hard drive as swap
Identify hard diskFirst you need to identified the new hard disk.press CTRL+ALT+T to open a console then type :lsblkYou will see something similar with this:loop0 7:0 0 86.6M 1 loop /snap/core/4486sda 8:0 0 5G 0 disk ├─sda1 8:1原创 2020-11-26 01:08:44 · 238 阅读 · 0 评论 -
Change Mac Terminal to Default bash
If you installed other terminals such as zsh, and it changed your default Terminal, when you want to change it back, simply issue the following code in terminal.chsh -s /bin/bash原创 2020-09-25 02:53:21 · 207 阅读 · 0 评论 -
Installing Anaconda on Raspberry Pi 4 with Ubuntu 20.04
Raspberry Pi 4 runs on 32-bit. Use the 32-bit versions and you should be okay!I’ve recently installed miniconda on my Raspberry Pi 4. I did it using the following commands:# Update linuxsudo apt update -y# Install python3sudo apt install -y python3原创 2020-08-15 08:26:20 · 1300 阅读 · 0 评论 -
Disable Unattended Upgrades On Ubuntu
Disable Unattended Upgrades On UbuntuTo disable unattended upgrades on Ubuntu and its derivatives, run:sudo dpkg-reconfigure unattended-upgradesChoose No and hit ENTER to disable unattended upgrades.You can also remove it altogether if you don’t want原创 2020-08-14 00:50:49 · 184 阅读 · 0 评论