[190308]Ubuntu 安装完之后,安装的软件小记
Posted fsong
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[190308]Ubuntu 安装完之后,安装的软件小记相关的知识,希望对你有一定的参考价值。
install software
vim
sudo apt-get install -y vim
Typora
command copy from Typora website
# or run:
# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BA300B7755AFCFAE
wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -
# add Typora's repository
sudo add-apt-repository 'deb https://typora.io/linux ./'
sudo apt-get update
# install typora
sudo apt-get install typora
Xampp
download for linux run file at web browser, then go to download path at Terminal
chmod +x ./xampp*.run
sudo ./xampp*.run
sudo chmod 777 /opt/lampp/htdocs
vim ~/.profile
add following content at ~/.profile
at end line
export XAMPP_HOME=/opt/lampp
export PATH=$XAMPP_HOME/bin:$PATH
然后执行下面命令,使配置生效
source ~/.profile
install composer
at composer download page,last version is 1.8.4
wget https://getcomposer.org/download/1.8.4/composer.phar
chmod +x composer.phar
sudo mv composer.phar /usr/local/bin/composer
# config composer repo.packagist
composer config -g repo.packagist composer https://packagist.phpcomposer.com
install ibus sunyinpin
sudo apt-get update
sudo apt-get install ibus-pinyin ibus-sunpinyin
install nodejs Ubuntu安装最新版nodejs
sudo apt-get install -y nodejs npm
sudo npm config set registry https://registry.npm.taobao.org
sudo npm install n -g
sudo n stable
redis
sudo apt-get install redis-server
- ubuntu 开机之后,会进入 initramfs界面
/dev/sda1 contains a file system with errors, check forced
输入命令:
fsck /dev/sda1 -y
fsck(file system check)用来检查和维护不一致的文件系统。若系统掉电或磁盘发生问题,可利用fsck命令对文件系统进行检查。
/dev/sda1
以启动时,提示错误的卷称为主
'mcrypt_create_iv(): Cannot open source device'
References
- /dev/sda1 contains a file system with errors, check forced [duplicate]
- /dev/sda1: Inodes that were part of a corrupted orphan linked list found
以上是关于[190308]Ubuntu 安装完之后,安装的软件小记的主要内容,如果未能解决你的问题,请参考以下文章
《ubuntu源码安装sox系列》安装完sox之后找不到libsox.so.3